UI: Consistent Menu/Block/Popup Content Ordering #109798

Merged
Harley Acheson merged 13 commits from Harley/blender:MenuDirection into main 2023-08-31 20:25:02 +02:00

13 Commits

Author SHA1 Message Date
Harley Acheson 0de316c37b Changes requested by review.
buildbot/vexp-code-patch-coordinator Build done. Details
2023-08-30 13:28:50 -07:00
Harley Acheson c087876482 Merge branch 'main' of projects.blender.org:blender/blender into MenuDirection 2023-08-30 12:12:31 -07:00
Harley Acheson 1b721e272b Updated to incorporate changes suggested by review. 2023-08-30 08:49:54 -07:00
Harley Acheson dde81c195e Merge branch 'main' of projects.blender.org:blender/blender into MenuDirection 2023-08-30 08:10:09 -07:00
Harley Acheson 026fdd7d7a Julian said I can just delete these UI_interface_c.hh enums 2023-08-29 15:55:00 -07:00
Harley Acheson 8786504e6c Merge branch 'main' of projects.blender.org:blender/blender into MenuDirection 2023-08-29 15:31:45 -07:00
Harley Acheson a1aed321b5 Show titles when button has blank text, regardless of icon 2023-08-25 08:30:20 -07:00
Harley Acheson 9515b32433 Merge branch 'main' of projects.blender.org:blender/blender into MenuDirection 2023-08-25 08:06:52 -07:00
Harley Acheson 01dada9447 Only show enum list titles if the button has an icon and blank text. 2023-08-24 19:24:02 -07:00
Harley Acheson 55ff51e591 Merge branch 'main' of projects.blender.org:blender/blender into MenuDirection 2023-08-24 17:29:33 -07:00
Harley Acheson fe2be87c4e Updated to the current state of main. 2023-08-23 17:07:24 -07:00
Harley Acheson a4d739c536 Merge branch 'main' of projects.blender.org:blender/blender into MenuDirection 2023-08-23 16:34:11 -07:00
Harley Acheson 70e529cfc8 WIP: UI: Consistent Menu/Block/Popup Ordering
All Content is shown in natural top-down order regardless of where it
is initiated.

---

Currently, Blender menus are what is called "directional", where menu items are sorted frop top-bottom or bottom-top based on the direction the menu open. It might be a nice time, with Blender 4.0, to remove this feature and have content that is always in a consistent order.

We have a preference for this behavior but haven't exposed it to users. But I don't think that we should enable this preference. If we (re)introduce this preference, make it off by default now then on by default later, we will be stuck with this preference forever. But whether on or off the description of this preference will never make sense because of how inconsistent we are with changing the direction of various items. With "Directional" turned off then all dropdown and popup content will always have the same order.

But now consider that "Directional" preference when off. Turning it ON will then mean that SOME content in some circumstances will reverse. So the 3D Viewport, in Object Mode, if you move the header to the bottom, of the four items in the center, just one of them - Transform Pivot Point - will reverse direction. Not sure how to explain that as an option.

Another reason is that we can consider changing the order of menu items if we have one direction rather than two. The change to consistent order makes relatively small changes except for the Timeline menus. For those menus everyone is used to a particular order because that editor is generally at the bottom. If we change to consistent ordering then we could also consider changing the Timeline menus item order.

RCS Suggestion: https://blender.community/c/rightclickselect/14vo
2023-07-06 13:35:14 -07:00