Collapsed pull down menus have no name in Quick Favourites #65365

Open
opened 2019-05-31 21:20:44 +02:00 by ChristopherAnderssarian · 9 comments

System Information
Operating system: Windows 7
GPU: ASUS Strix Radeon Vega 64, Divider version: 19.4.1
CPU: Intel Core i7-5960X

Blender Version
Broken: 2.80, (since Quick Favourites were added)

Exact steps for others to reproduce the error from scratch

  • Factory Startup
  • Find pulldown menus
  • Right-click context menu --> Untick Show Menus
  • Add the three line menu toggle to Quick Favourites

QF_No_name.png

**System Information** Operating system: Windows 7 GPU: ASUS Strix Radeon Vega 64, Divider version: 19.4.1 CPU: Intel Core i7-5960X **Blender Version** Broken: 2.80, (since Quick Favourites were added) **Exact steps for others to reproduce the error from scratch** - Factory Startup - Find pulldown menus - Right-click context menu --> Untick `Show Menus` - Add the three line menu toggle to Quick Favourites ![QF_No_name.png](https://archive.blender.org/developer/F7081492/QF_No_name.png)

Added subscriber: @ChristopherAnderssarian

Added subscriber: @ChristopherAnderssarian
Eitan Traurig self-assigned this 2019-06-03 20:02:57 +02:00
Eitan Traurig removed their assignment 2019-07-06 00:46:45 +02:00
Member

Added subscriber: @EitanSomething

Added subscriber: @EitanSomething

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Confirmed' to: 'Needs User Info'

Changed status from 'Confirmed' to: 'Needs User Info'

Can not reproduce this.

Can you revise steps to reproduce if this still happens?

Can not reproduce this. Can you revise steps to reproduce if this still happens?

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Member

Added subscriber: @Harley

Added subscriber: @Harley
Member

Clearer instructions to reproduce:

On any header that includes menus we can choose to collapse all the menus into a single "hamburger" menu. For example, The main topbar header with File/Edit/Render/etc you can right-click in that header, remove the checkmark for "show menus" and afterward those menus are replaced with a single hamburger menu, which looks like three horizonal bars: ☰

In that state you can right-click that hamburger menu and "Add to Quick Favorites". That works, but that item is shown as a blank item within Quick Favorites. It is missing both the text label and the right-side triangle that indicates submenus, but does otherwise work.

Not sure what label we would use though, especially since each editor can have a different one. So perhaps "Main Menu", and then for each Editor use its name like "3D Viewport Menu"?

Clearer instructions to reproduce: On any header that includes menus we can choose to collapse all the menus into a single "hamburger" menu. For example, The main topbar header with File/Edit/Render/etc you can right-click in that header, remove the checkmark for "show menus" and afterward those menus are replaced with a single hamburger menu, which looks like three horizonal bars: ☰ In that state you can right-click that hamburger menu and "Add to Quick Favorites". That works, but that item is shown as a blank item within Quick Favorites. It is missing both the text label and the right-side triangle that indicates submenus, but does otherwise work. Not sure what label we would use though, especially since each editor can have a different one. So perhaps "Main Menu", and then for each Editor use its name like "3D Viewport Menu"?
Member

interface_context_menu.c, ui_but_user_menu_add() is called for that uiBut but it has no drawstr.

It is not an optype nor rnaprop but does get a result from UI_but_menutype_get (at about line 466) so at that point ED_screen_user_menu_item_add_menu() is called with a blank drawstr. So just before that we could test if drawstr- [x] == '\0' and assign something like "Menu" to it. But that is a bit too generic. Would be best if we could create a better name but that would require finding the area based on the uibut and I'm not certain how.

interface_context_menu.c, ui_but_user_menu_add() is called for that uiBut but it has no drawstr. It is not an optype nor rnaprop but does get a result from UI_but_menutype_get (at about line 466) so at that point ED_screen_user_menu_item_add_menu() is called with a blank drawstr. So just before that we could test if `drawstr- [x] == '\0'` and assign something like "Menu" to it. But that is a bit too generic. Would be best if we could create a better name but that would require finding the area based on the uibut and I'm not certain how.
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:25:45 +01: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
4 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#65365
No description provided.