Spreadsheet menu not 'themeable' #109439

Closed
opened 2023-06-28 12:56:38 +02:00 by Nika Kutsniashvili · 9 comments
Contributor

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1650/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 535.98

Blender Version
Broken: version: 3.6.0, branch: blender-v3.6-release, commit date: 2023-06-27 08:08, hash: c7fc78b81ecb
Worked: (newest version of Blender that worked as expected)

Short description of error
Spreadsheet's menu is 'unthemeable', meaning user can't change its color, roundness, outline or anything. It doesn't fit into any of the User Interface menu items, and Spreadsheet menu in Theme has no control either. It is always this blue and rounded and can't be made to fit into themes.

image

**System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1650/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 535.98 **Blender Version** Broken: version: 3.6.0, branch: blender-v3.6-release, commit date: 2023-06-27 08:08, hash: `c7fc78b81ecb` Worked: (newest version of Blender that worked as expected) **Short description of error** Spreadsheet's menu is 'unthemeable', meaning user can't change its color, roundness, outline or anything. It doesn't fit into any of the User Interface menu items, and Spreadsheet menu in Theme has no control either. It is always this blue and rounded and can't be made to fit into themes. ![image](/attachments/c52a8847-ae08-4191-970f-3748ab6139f1)
Nika Kutsniashvili added the
Status
Needs Triage
Type
Report
Priority
Normal
labels 2023-06-28 12:56:38 +02:00

Can confirm but not sure...

Can confirm but not sure...
Member

It's probably taking some other existing color values, otherwise it won't be matching the blue there.

cc @pablovazquez Could you check on this? I couldn't find it either, in both Blender_Light.xml and _Dark.xml there's no separate entry to adjust this color.

It's probably taking some other existing color values, otherwise it won't be matching the blue there. cc @pablovazquez Could you check on this? I couldn't find it either, in both Blender_Light.xml and _Dark.xml there's no separate entry to adjust this color.
YimingWu added
Module
User Interface
Status
Confirmed
and removed
Status
Needs Triage
labels 2023-06-28 15:02:32 +02:00
Member

Similar bug has been reported previously, see: #99841 / #99842

(Perhaps we should move them under single thread)

Similar bug has been reported previously, see: #99841 / #99842 (Perhaps we should move them under single thread)
Author
Contributor

Similar bug has been reported previously, see: #99841 / #99842

(Perhaps we should move them under single thread)

Seems second one already has solution. But none of the reports recieved developers attentions. Wouldn't it be easier to fix it and close all reports instead?

> Similar bug has been reported previously, see: #99841 / #99842 > > (Perhaps we should move them under single thread) Seems second one already has solution. But none of the reports recieved developers attentions. Wouldn't it be easier to fix it and close all reports instead?
Member

It's probably taking some other existing color values, otherwise it won't be matching the blue there.

cc @pablovazquez Could you check on this? I couldn't find it either, in both Blender_Light.xml and _Dark.xml there's no separate entry to adjust this color.

This is a known issue. The spreadsheet list is using a new property called wcol_view_item, which is not exposed to the user in the Preferences.

A decision needs to be taken to either use wcol_list_item or expose the setting. I will talk with @JulianEisel about this. I personally think we should just use wcol_list_item since the word view is pretty vague and could mean anything.


To workaround the problem you can change the values using Python, in the console:

 bpy.context.preferences.themes['Default'].user_interface.wcol_view_item.text = (1, 0, 0)

Same with .text, .text_sel, .inner, .inner_sel, etc.

> It's probably taking some other existing color values, otherwise it won't be matching the blue there. > > cc @pablovazquez Could you check on this? I couldn't find it either, in both Blender_Light.xml and _Dark.xml there's no separate entry to adjust this color. This is a known issue. The spreadsheet list is using a new property called `wcol_view_item`, which is not exposed to the user in the Preferences. A decision needs to be taken to either use `wcol_list_item` or expose the setting. I will talk with @JulianEisel about this. I personally think we should just use `wcol_list_item` since the word `view` is pretty vague and could mean anything. ---- To workaround the problem you can change the values using Python, in the console: ``` bpy.context.preferences.themes['Default'].user_interface.wcol_view_item.text = (1, 0, 0) ``` Same with `.text`, `.text_sel`, `.inner`, `.inner_sel`, etc.
Member

Thing is that this color will be shared with other kinds of views, like list views or table views. So I'd rather stick to the corresponding theme color. But in the UI we can call it something like Data-set Item or so.

Thing is that this color will be shared with other kinds of views, like list views or table views. So I'd rather stick to the corresponding theme color. But in the UI we can call it something like _Data-set Item_ or so.
Member

Thing is that this color will be shared with other kinds of views, like list views or table views. So I'd rather stick to the corresponding theme color. But in the UI we can call it something like Data-set Item or so.

A table is a type of list anyway isn't it? So styling both as one would be okay if they were named wcol_list_item. We always wanted to unify parts of the theme that are similar and this is an opportunity to start doing that.

> Thing is that this color will be shared with other kinds of views, like list views or table views. So I'd rather stick to the corresponding theme color. But in the UI we can call it something like _Data-set Item_ or so. A table is a type of list anyway isn't it? So styling both as one would be okay if they were named `wcol_list_item`. We always wanted to unify parts of the theme that are similar and this is an opportunity to start doing that.
Member

To be clear I'm all for unifying these. It's just a matter of finding the right term, since this option would cover list views, tree views, table views, grid views (like used in the upcoming asset shelf) and all other kinds of views we might come up with. That's why I'm not sure about the term list.

To be clear I'm all for unifying these. It's just a matter of finding the right term, since this option would cover list views, tree views, table views, grid views (like used in the upcoming asset shelf) and all other kinds of views we might come up with. That's why I'm not sure about the term _list_.
Member

To be clear I'm all for unifying these. It's just a matter of finding the right term, since this option would cover list views, tree views, table views, grid views (like used in the upcoming asset shelf) and all other kinds of views we might come up with. That's why I'm not sure about the term list.

But a table, a tree, or a grid, they are all listing elements just with a different display type. So I think the term _list_ is appropriate to keep, and a small plus is that we would be supporting old themes out of the box.

> To be clear I'm all for unifying these. It's just a matter of finding the right term, since this option would cover list views, tree views, table views, grid views (like used in the upcoming asset shelf) and all other kinds of views we might come up with. That's why I'm not sure about the term _list_. But a table, a tree, or a grid, they are all listing elements just with a different display type. So I think the term `_list_` is appropriate to keep, and a small plus is that we would be supporting old themes out of the box.
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-09-01 20:02:31 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#109439
No description provided.