Quick Favorites: add support for property enums #59244
Labels
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
13 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#59244
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows 10
Graphics card: Nvidia GTX1080
Blender Version
Broken: 2.80,
16fc62e15f
, blender2.8, 2018-12-12Worked:
3d92afca7e
Short description of error
The Set origin menu is not possible to put into quic favourites.
(operator enums like these are now supported, see
04d50f4b23
)Property enums such as
Rotation Mode
could be supported thoughExact steps for others to reproduce the error
Object Properties -> Transform -> Right click on "Rotation Mode..." -> empty menu.
Added subscriber: @PeterBaintner
#84552 was marked as duplicate of this issue
#83682 was marked as duplicate of this issue
#79471 was marked as duplicate of this issue
#70486 was marked as duplicate of this issue
#69922 was marked as duplicate of this issue
#69919 was marked as duplicate of this issue
#68094 was marked as duplicate of this issue
#66623 was marked as duplicate of this issue
#66618 was marked as duplicate of this issue
#65113 was marked as duplicate of this issue
#64614 was marked as duplicate of this issue
#64597 was marked as duplicate of this issue
#60290 was marked as duplicate of this issue
Added subscriber: @JacquesLucke
Can confirm.
I see two problems here:
operator_menu_enum
brings up an empty menu.Added subscriber: @lichtwerk
Changed status from 'Open' to: 'Resolved'
This seems to be fixed, no?
Havent hunted down the relating commit, but as of today I am getting the menu (and choosing the entry will add it to the favorites OK)
Closing (but feel free to comment again/reopen if issues persist...)
I thought it's about this menu, which does not seem to be fixed yet:
Changed status from 'Resolved' to: 'Open'
Ah, OK, will check on this, too...
Added subscriber: @Awesome_Vindicator
Set origin command not possible to put in quick favouritesto Quick Favorites: operator/prop enums (e.g. "Set origin") cannot be addedAs merged from a report I previously made was relating to a slightly different though closely related issue.
some screenshots;-
these are missing in 2019-01-11 -
1c7695b848
and all previously downloaded versions.Added subscribers: @WilliamReynish, @ideasman42, @brecht
@ideasman42, @WilliamReynish, @brecht: just checking if this would be a priority for 2.80 [also see #59661]?
Quick Favorites: operator/prop enums (e.g. "Set origin") cannot be addedto Quick Favorites: add support for operator/prop enums (e.g. "Set origin")Support for this can be added but this is more of a TODO, added to #63726 (User Interface Module )
Added subscriber: @Phigon
Added subscribers: @DiegoSG, @Gvgeo-1
Added subscriber: @denis_russkih
Added subscriber: @AndreyRusnak
Added subscriber: @MikeP.Sanchez
Added subscriber: @SethTooQuick
Super sorry for adding yet another duplicate to this list. I did check for it but I guess not good enough.
I hear you, hope to get to it soon...
Removed subscriber: @Phigon
Added subscriber: @fabman
Added subscriber: @Calra
Hi I would like to contribute towards this I have narrowed down the files to interface_context_menu.c and interface_handlers.c , at least I believe these are to be modified, what I don't understand is when we right-click on any of the options what function is called or is it generic that on right-clicking "Add/remove Quick favorites" will appear ? Like it working for "Transform" and all the others in the Add menu, where should I start looking, any hints or suggestions would be great. Thanks
will get back to you Monday (I am away over the WE)
Hi @lichtwerk could you look into this now ?
Atm. Quick Favorites only works for:
USER_MENU_TYPE_PROP
USER_MENU_TYPE_OPERATOR
USER_MENU_TYPE_MENU
What we are looking for is a way to handle operator enum menus.
These are just not covered by current design (see above), and quite some stuff need to be added [even then I am not sure if all would work out fine -- this is just quick speculation how this could work]:
bUserMenuItem_OpEnumMenu
[next to existingbUserMenuItem_Prop
,bUserMenuItem_Menu
,bUserMenuItem_Op
] that needs to store at least op_idname (maybe more, would needto check more...)ui_but_is_user_menu_compatible
(so it doesnt get skipped inui_popup_context_menu_for_button
)UI_but_menutype_get
does this for 'real' menus, would need something likeUI_but_openummenu_ok
or something like that)menu_item_enum_opname_menu
andUI_BTYPE_BUT_MENU
vs.UI_BTYPE_PULLDOWN
might also help)bUserMenu
(!warning! gets even more speculative):popup_user_menu_add_or_replace_func
/ui_but_user_menu_add
ED_screen_user_menu_item_add_menu
does this for 'real' menus, would need something doing this based on the newbUserMenuItem_OpEnumMenu
screen_user_menu_draw
which correctly generates the menu to click on herewrite_userdef
(I assume)@Calra: this is not the easiest task to pick up, I am still willing to look at this myself (but triaging the tracker unfortunately takes all of my time atm. so help is definitely appreciated)
(please also take all of the above with a grain of salt, there might be other/better ways to do this -- this is just how I had it lying around in my head for a while...)
I will also step down as a assignee from this task (as we moved from assignments to people in favor of having the modules look at the corresponding bugs...)
Thanks @lichtwerk for the input, I will look into it for some time and will let you know if I have any success, from a holistic view I speculated that this and #64365 would be related, as the problem seemed similar. To be honest currently some of the stuff is bouncing off, I can try for some time to implement what you suggested.
Added subscriber: @3di
Added subscriber: @MarcinTwarowski
Removed subscriber: @Calra
Added subscriber: @HDMaster84
Added subscriber: @DuarteRamos
My most missed that still don't work as of 2.82 Alpha are the
Object > Convert to
andObject > Set Origin
, most other are apparently working.Added subscriber: @sqeee
Added subscriber: @Dantti
Added subscriber: @ToxicTuba
Since I am looking at another issue with Quick Favorites anyways, will finally give this another go.
interesting to see I am signed up for this thread... I have an open suggestion on RightClickSelect about the option to sort quickfavourites, well, I guess now is a good time to mention that :)
Support for operator enums has been added (see
04d50f4b23
), this covers most of what has been reported here.Support for property enums is on the way (needs bit more work to have it look nicely in a menu at all times).
Discovered I still had this in my backlog of assignments.
Since I am not planning to work on this anymore (the only thing left is property enums afaict?), I will step down to not block others
Quick Favorites: add support for operator/prop enums (e.g. "Set origin")to Quick Favorites: add support for property enums