UI: Radial control values get wrong color assigned #92800

Closed
opened 2021-11-03 19:53:38 +01:00 by Pablo Vazquez · 8 comments
Member

System Information
Operating system: Linux-5.13.0-7620-generic-x86_64-with-glibc2.33 64 Bits
Graphics card: NVIDIA RTX A5000/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.82.00

Blender Version
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2021-11-01 15:52, hash: adc540cf7c
Worked: Not sure as it was "hidden" by theme settings.

Short description of error

This is a very weird one. I just noticed that the radial control values (e.g. Shift+F in Sculpt or Weight Paint mode) in the 3D Viewport were using theme settings from the Dopesheet (Text Highlight or TEXT_HI in the code).

If I switch the bottom editor to Graph Editor, the radial control values now use TEXT_HI from the Graph Editor theme settings.

So it seems that the 3D Viewport is picking up theme settings from the editor below (Dopesheet and Timeline share the same theme settings). If the editor is removed and added again, this doesnt happen. I suspect it has something to do with a corrupt startup or memory issues.

Reporting this as it can be a sign of a deeper issue. Maybe the layouts need to be recreated again or reset?

Video showing the issue:

{F11700543, size=full}

Exact steps for others to reproduce the error

  • Under Preferences -> Theme, change the color of Text Highlightinside Dopesheet ->Theme Space. Pick a strong color, like pink
  • In the Layout workspace, enter Weight Paint mode and press Shift+F to change the brush strength, you should see the strength values in pink

The expected result is to always use TEXT_HI from the 3D Viewport settings.

**System Information** Operating system: Linux-5.13.0-7620-generic-x86_64-with-glibc2.33 64 Bits Graphics card: NVIDIA RTX A5000/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.82.00 **Blender Version** Broken: version: 3.1.0 Alpha, branch: master, commit date: 2021-11-01 15:52, hash: `adc540cf7c` Worked: Not sure as it was "hidden" by theme settings. **Short description of error** This is a *very* weird one. I just noticed that the radial control values (e.g. `Shift+F` in Sculpt or Weight Paint mode) in the **3D Viewport** were using theme settings from the **Dopesheet** (`Text Highlight` or `TEXT_HI` in the code). If I switch the bottom editor to Graph Editor, the radial control values now use `TEXT_HI` from the **Graph Editor** theme settings. So it seems that the 3D Viewport is picking up theme settings from the editor below (Dopesheet and Timeline share the same theme settings). If the editor is removed and added again, this doesnt happen. I suspect it has something to do with a corrupt startup or memory issues. Reporting this as it can be a sign of a deeper issue. Maybe the layouts need to be recreated again or reset? Video showing the issue: {[F11700543](https://archive.blender.org/developer/F11700543/sc_-2021-11-03_19.30.41.mp4), size=full} **Exact steps for others to reproduce the error** * Under Preferences -> Theme, change the color of `Text Highlight`inside Dopesheet ->Theme Space. Pick a strong color, like pink * In the Layout workspace, enter Weight Paint mode and press `Shift+F` to change the brush strength, you should see the strength values in pink The expected result is to always use `TEXT_HI` from the 3D Viewport settings.
Author
Member

Added subscriber: @pablovazquez

Added subscriber: @pablovazquez

Added subscriber: @Garek

Added subscriber: @Garek

Can confirm on 2.92, 2.91.2, 2.90.1
Can't confirm on 2.80 and 2.83.16.

So it seems that the 3D Viewport is picking up theme settings from the editor below (Dopesheet and Timeline share the same theme settings). If the editor is removed and added again, this doesnt happen. I suspect it has something to do with a corrupt startup or memory issues.

It's more complicated than that but somehow more or less consistent.
Order of priority in which Text Highlight in 3D viewport area are replaced by editor in other area is:

  1. timeline area below;
  2. outliner area in top tight corner;
  3. properties area in bottom right;
    There is list of editors that trigger this bug. If one item on priority list changed to an editor that does not trigger bug, that item is ignored.
    3D viewport area does not affect other areas (except new ones, see below). In fact, you can change other areas to 3D viewport and they follow same order of priority except for the ones above them (hard to explain properly, hang in there, examples incoming).
    If you change outliner area to 3D viewport editor, it'll have Text Highlight of properties area. Timeline area does not affect it since it's above it, but it affects 3D viewport area. So you can have different Text Highlight in different 3D Viewport editor at the same time...

New areas does not take part in this priority list as in there is still only 3 areas that can replace Text Highlight of other areas. But those new areas still affected by bug but their priority list looking like this:

  1. 3D viewport area;
  2. timeline area;
  3. outliner area;
  4. properties area.
    So they have one extra item here, and they affected by this regardless where they are. Try this:
  • create new area (doesn't matter where or how many);
  • change 3D viewport area to, say, Dope Sheet editor;
  • change timeline area to 3D Viewport editor;
  • change outliner area to Graph editor.
    Now on Shift+F Text Highlight in all new areas is same as in Dope Sheet but for 3D Viewport in timeline area it's same as in Graph editor.

List of editors that can trigger this bug:

  1. Dope Sheet
  2. Timeline (as stated before, Dope Sheet and Timeline share the same theme settings)
  3. Graph
  4. Drivers (Graph and Drivers share the same theme settings
  5. Video Sequencer
  6. Nonlinear Animation

I could also check what other settings except Text Highlight are affected but nah, too much

Can confirm on 2.92, 2.91.2, 2.90.1 Can't confirm on 2.80 and 2.83.16. > So it seems that the 3D Viewport is picking up theme settings from the editor below (Dopesheet and Timeline share the same theme settings). If the editor is removed and added again, this doesnt happen. I suspect it has something to do with a corrupt startup or memory issues. It's more complicated than that but somehow more or less consistent. Order of priority in which `Text Highlight` in `3D viewport area` are replaced by editor in other area is: 1) `timeline area` below; 2) `outliner area` in top tight corner; 3) `properties area` in bottom right; There is list of editors that trigger this bug. If one item on priority list changed to an editor that does not trigger bug, that item is ignored. `3D viewport area` does not affect other areas (except new ones, see below). In fact, you can change other areas to 3D viewport and they follow same order of priority except for the ones above them (hard to explain properly, hang in there, examples incoming). If you change `outliner area` to 3D viewport editor, it'll have `Text Highlight` of `properties area`. `Timeline area` does not affect it since it's above it, but it affects `3D viewport area`. So you can have different `Text Highlight` in different 3D Viewport editor at the same time... New areas does not take part in this priority list as in there is still only 3 areas that can replace `Text Highlight` of other areas. But those new areas still affected by bug but their priority list looking like this: 1) `3D viewport area`; 2) `timeline area`; 3) `outliner area`; 4) `properties area`. So they have one extra item here, and they affected by this regardless where they are. Try this: - create new area (doesn't matter where or how many); - change `3D viewport area` to, say, Dope Sheet editor; - change `timeline area` to 3D Viewport editor; - change `outliner area` to Graph editor. Now on `Shift+F` `Text Highlight` in all new areas is same as in Dope Sheet but for 3D Viewport in `timeline area` it's same as in Graph editor. List of editors that can trigger this bug: 1) Dope Sheet 2) Timeline (as stated before, Dope Sheet and Timeline share the same theme settings) 3) Graph 4) Drivers (Graph and Drivers share the same theme settings 5) Video Sequencer 6) Nonlinear Animation I could also check what other settings except `Text Highlight` are affected but nah, too much
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123

This issue was referenced by c641107c95

This issue was referenced by c641107c9580d684d78898bb676ec5dddcad17f5
Member

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Julian Eisel self-assigned this 2021-11-04 11:52:47 +01:00
Member

Committed a fix to master now. We could backport this to the 3.0 release branch, but I'd prefer not to since it may affect the theme colors of other overlays.

Committed a fix to master now. We could backport this to the 3.0 release branch, but I'd prefer not to since it may affect the theme colors of other overlays.
Author
Member

Thanks Garek for the research and Julian for the quick fix!

Thanks Garek for the research and Julian for the quick fix!
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
5 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#92800
No description provided.