Regression: Blender 4.0 frozen menu items use Inner Menu item color #113022

Closed
opened 2023-09-28 16:50:39 +02:00 by Ludvik Koutny · 10 comments
Contributor

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 537.13

Blender Version
Broken: version: 4.0.0 Beta, branch: blender-v4.0-release, commit date: 2023-09-28 00:03, hash: 751c9ef620a0
Worked: (newest version of Blender that worked as expected)

Short description of error
In Blender 4.0, frozen menu items use "Inner" Menu Item color, this is a serious problem because user needs to make an impossible choice between:

  • Having hovered menu items displayed in an accented color
  • Having frozen menu items appear in a grayed out color, which visually implies they are frozen, instead of accent color, which implies they are not frozen but have special purpose/are of special type:
    image

Exact steps for others to reproduce the error

  1. In Blender 4.0, set Menu Item "Inner" color to some colorful accent color
  2. Open any menu which has some frozen entries
    Result: It is not possible to separate color of hovered menu items from the color of frozen menu items.
    Expected: It is possible to separate color of hovered menu items from the color of frozen menu items, as was in 3.6.
**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 537.13 **Blender Version** Broken: version: 4.0.0 Beta, branch: blender-v4.0-release, commit date: 2023-09-28 00:03, hash: `751c9ef620a0` Worked: (newest version of Blender that worked as expected) **Short description of error** In Blender 4.0, frozen menu items use "Inner" Menu Item color, this is a serious problem because user needs to make an impossible choice between: - Having hovered menu items displayed in an accented color - Having frozen menu items appear in a grayed out color, which visually implies they are frozen, instead of accent color, which implies they are not frozen but have special purpose/are of special type: ![image](/attachments/5c6da54b-58d5-4fb9-932f-8dbfb00b1af1) **Exact steps for others to reproduce the error** 1. In Blender 4.0, set Menu Item "Inner" color to some colorful accent color 2. Open any menu which has some frozen entries Result: It is not possible to separate color of hovered menu items from the color of frozen menu items. Expected: It is possible to separate color of hovered menu items from the color of frozen menu items, as was in 3.6.
105 KiB
Ludvik Koutny added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-09-28 16:50:39 +02:00

Thanks for the report, but the issue reported here is a request for modified/improved behavior and not a bug in current behavior. Closing as this bug tracker is only for bugs and errors.

For user requests and feedback, please use other channels: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests

For more information on why this isn't considered a bug, visit: https://wiki.blender.org/wiki/Reference/Not_a_bug

Thanks for the report, but the issue reported here is a request for modified/improved behavior and not a bug in current behavior. Closing as this bug tracker is only for bugs and errors. For user requests and feedback, please use other channels: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests For more information on why this isn't considered a bug, visit: https://wiki.blender.org/wiki/Reference/Not_a_bug
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-09-29 19:14:01 +02:00
Author
Contributor

Thanks for the report, but the issue reported here is a request for modified/improved behavior and not a bug in current behavior. Closing as this bug tracker is only for bugs and errors.

For user requests and feedback, please use other channels: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests

For more information on why this isn't considered a bug, visit: https://wiki.blender.org/wiki/Reference/Not_a_bug

What you mean? This is clearly a regression. Having to make a choice between being able to set hovered menu item highlight to non hardcoded accent color or having correctly displayed frozen menu item is absolutely insane!

This IS a regression. It works in 3.6:
image
Notice that the hovered menu item is displayed in Cyan accent color while the frozen menu items are dark gray. In 4.0 this is not possible.

First, make sure you are actually able to do the same theme customization in 4.0 before you close this, because it's currently not possible:
image

> Thanks for the report, but the issue reported here is a request for modified/improved behavior and not a bug in current behavior. Closing as this bug tracker is only for bugs and errors. > > For user requests and feedback, please use other channels: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests > > For more information on why this isn't considered a bug, visit: https://wiki.blender.org/wiki/Reference/Not_a_bug What you mean? This is clearly a regression. Having to make a choice between being able to set hovered menu item highlight to non hardcoded accent color or having correctly displayed frozen menu item is absolutely insane! This IS a regression. It works in 3.6: ![image](/attachments/546077a3-d6aa-4ab6-8040-7af47c6c4d5d) Notice that the hovered menu item is displayed in Cyan accent color while the frozen menu items are dark gray. In 4.0 this is not possible. First, make sure you are actually able to do the same theme customization in 4.0 before you close this, because it's currently not possible: ![image](/attachments/4b051b7f-9242-43c2-b59e-e7619d0f52dc)

This is clearly a regression.
(...) It works in 3.6...

Oh, that changes things! Confirming then.

Sorry for the misunderstand.

(It is useful to fill in all the fields in the template, including the Worked: field which informs whether it is a regression and when it worked).

> This is clearly a regression. > (...) It works in 3.6... Oh, that changes things! Confirming then. Sorry for the misunderstand. (It is useful to fill in all the fields in the template, including the `Worked:` field which informs whether it is a regression and when it worked).
Author
Contributor

This is clearly a regression.
(...) It works in 3.6...

Oh, that changes things! Confirming then.

Sorry for the misunderstand.

(It is useful to fill in all the fields in the template, including the Worked: field which informs whether it is a regression and when it worked).

Yeah, sorry for me yelling. I was angry because this would mean all my custom themes would stop working. And there's no better way to make people angry than using that copy pasted message:

For user requests and feedback, please use other channels: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests

For more information on why this isn't considered a bug, visit: https://wiki.blender.org/wiki/Reference/Not_a_bug

> > This is clearly a regression. > > (...) It works in 3.6... > > Oh, that changes things! Confirming then. > > Sorry for the misunderstand. > > (It is useful to fill in all the fields in the template, including the `Worked:` field which informs whether it is a regression and when it worked). Yeah, sorry for me yelling. I was angry because this would mean all my custom themes would stop working. And there's no better way to make people angry than using that copy pasted message: > For user requests and feedback, please use other channels: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests > > For more information on why this isn't considered a bug, visit: https://wiki.blender.org/wiki/Reference/Not_a_bug
Member

Re: hovered item using inner widget color.
I've submitted a PR for it: #112380 . Feel free to add your suggestions there.
We can close your as duplicate of #112122


Re: disabled items using inner widget color.
Behavior is same in 3.6 too

Re: hovered item using `inner` widget color. I've submitted a PR for it: https://projects.blender.org/blender/blender/pulls/112380 . Feel free to add your suggestions there. We can close your as duplicate of #112122 - - - Re: disabled items using `inner` widget color. Behavior is same in 3.6 too
Author
Contributor

Re: hovered item using inner widget color.
I've submitted a PR for it: #112380 . Feel free to add your suggestions there.
We can close your as duplicate of #112122


Re: disabled items using inner widget color.
Behavior is same in 3.6 too

I am confused. That PR has actually Pablo's comment suggesting blending the color. So does your PR blend the color or not?

> Re: hovered item using `inner` widget color. > I've submitted a PR for it: https://projects.blender.org/blender/blender/pulls/112380 . Feel free to add your suggestions there. > We can close your as duplicate of #112122 > > - - - > Re: disabled items using `inner` widget color. > Behavior is same in 3.6 too I am confused. That PR has actually Pablo's comment suggesting blending the color. So does your PR blend the color or not?
Member

With the PR applied ,Hovered item will not have inner color. Instead, color of it will be mix of the text color and background color of menu.
BTW do you build blender yourself? Otherwise I'll start package build of PR#112380 for you to test the PR locally.


My earlier solution was to use text color to highlight hovered item with small alpha value. Same thing is done to highlight UIList item: 900441f17d / #112122 (comment)
And we never had complaints about this usage.

But Pablo suggested to mix between text and background color. So I did: 41c8fb2c28

With the PR applied ,Hovered item will not have `inner` color. Instead, color of it will be mix of the text color and background color of menu. BTW do you build blender yourself? Otherwise I'll start package build of `PR#112380` for you to test the PR locally. - - - My earlier solution was to use `text` color to highlight hovered item with small alpha value. Same thing is done to highlight UIList item: https://projects.blender.org/blender/blender/commit/900441f17da69adbcd9a4191cdffdf68f60ff750 / https://projects.blender.org/blender/blender/issues/112122#issuecomment-1016790 And we never had complaints about this usage. But Pablo suggested to mix between text and background color. So I did: https://projects.blender.org/blender/blender/commit/41c8fb2c28692389178ba2efeab96ce2e8b4196f
Author
Contributor

With the PR applied ,Hovered item will not have inner color. Instead, color of it will be mix of the text color and background color of menu.
BTW do you build blender yourself? Otherwise I'll start package build of PR#112380 for you to test the PR locally.


My earlier solution was to use text color to highlight hovered item with small alpha value. Same thing is done to highlight UIList item: 900441f17d / #112122 (comment)
And we never had complaints about this usage.

But Pablo suggested to mix between text and background color. So I did: 41c8fb2c28

I am getting a bit lost in this mess, here's how it should be:

  • The highlight of the hovered item should use the unmodified "Inner" widget color, not a mix.
  • The text of the frozen items should use the "Text" color, with reduced alpha, let's say 0.5. In all common sense software, frozen text is always displayed as a less opaque version of the unfrozen text. Reducing alpha will also help you to avoid a hack where if you used darker version of the text color, you would need to test the value of the text color, and if the value is dark, you'd have to make it brighter instead). Modifying alpha/opacity of the text makes reliable freeze effect which works for both dark and bright text color.

The bug here is that the frozen text is still a text, yet it doesn't use widget's text color, but widget's inner color, which is not meant for text.

> With the PR applied ,Hovered item will not have `inner` color. Instead, color of it will be mix of the text color and background color of menu. > BTW do you build blender yourself? Otherwise I'll start package build of `PR#112380` for you to test the PR locally. > > - - - > My earlier solution was to use `text` color to highlight hovered item with small alpha value. Same thing is done to highlight UIList item: https://projects.blender.org/blender/blender/commit/900441f17da69adbcd9a4191cdffdf68f60ff750 / https://projects.blender.org/blender/blender/issues/112122#issuecomment-1016790 > And we never had complaints about this usage. > > But Pablo suggested to mix between text and background color. So I did: https://projects.blender.org/blender/blender/commit/41c8fb2c28692389178ba2efeab96ce2e8b4196f I am getting a bit lost in this mess, here's how it should be: - The highlight of the hovered item should use the unmodified "Inner" widget color, not a mix. - The text of the frozen items should use the "Text" color, with reduced alpha, let's say 0.5. In all common sense software, frozen text is always displayed as a less opaque version of the unfrozen text. Reducing alpha will also help you to avoid a hack where if you used darker version of the text color, you would need to test the value of the text color, and if the value is dark, you'd have to make it brighter instead). Modifying alpha/opacity of the text makes reliable freeze effect which works for both dark and bright text color. The bug here is that the frozen text is still a text, yet it doesn't use widget's text color, but widget's inner color, which is not meant for text.
Member

The text of the frozen items should use the "Text" color, with reduced alpha, let's say 0.5

Make sense actually. I'll make a quick PR.
(But this is not a regression really 🙂 )

> The text of the frozen items should use the "Text" color, with reduced alpha, let's say 0.5 Make sense actually. I'll make a quick PR. (But this is not a regression really 🙂 )
Author
Contributor

The text of the frozen items should use the "Text" color, with reduced alpha, let's say 0.5

Make sense actually. I'll make a quick PR.
(But this is not a regression really 🙂 )

Regression is that in 3.6 you can have both colored hover highlight and uncolored frozen text. In 4.0 you can either have colored hover highlight, OR uncolored frozen text.

  • If you choose to have colored highlight, you end up with a frozen text that doesn't appear frozen, but instead special (some software use colored text to imply it's a feature added in a new version).

  • If you choose to have text that correctly appears frozen, you can not have colored highlight.
    3.6.png
    4.0.png

If you still do not consider this a regression, then please just provide me with a set of steps to have blue hovered menu item highlight but gray frozen text color in 4.0, like on the 3.6 picture above.

> > The text of the frozen items should use the "Text" color, with reduced alpha, let's say 0.5 > > Make sense actually. I'll make a quick PR. > (But this is not a regression really 🙂 ) Regression is that in 3.6 you can have both colored hover highlight **and** uncolored frozen text. In 4.0 you can either have colored hover highlight, **OR** uncolored frozen text. - If you choose to have colored highlight, you end up with a frozen text that doesn't appear frozen, but instead special (some software use colored text to imply it's a feature added in a new version). - If you choose to have text that correctly appears frozen, you can not have colored highlight. ![3.6.png](/attachments/38f808c0-1d2c-4ace-b858-1a1e4e095229) ![4.0.png](/attachments/fa0fb4de-f95d-4f67-8e7c-daf3c464c01a) If you still do not consider this a regression, then please just provide me with a set of steps to have blue hovered menu item highlight but gray frozen text color in 4.0, like on the 3.6 picture above.
78 KiB
74 KiB
Pratik Borhade self-assigned this 2023-09-30 13:00:04 +02:00
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-10-06 12:54:25 +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
3 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#113022
No description provided.