Post #5210: Although you haven’t explicitly answered, am I correct in assuming that you have
📋 Metadata
- Author: Pluglug
- Date: 2024-08-20 15:24:58
- Type:
answer - Quality Score: 8/10
- Reply to: post_05203
🏷️ Tags
v1-18-7 pie-menu hotkeys configuration conflicts advanced unsolved
⚙️ Related PME Features
- Pie Menu Editor
- Hotkey Configuration
- Keymap Management
💬 Content
Although you haven’t explicitly answered, am I correct in assuming that you haven’t imported any Blender keymaps from previous environments?
I tried the following steps to reproduce your issue. (In conclusion, I couldn’t reproduce it, so you can skip this part if you like.)
- Downloaded Blender 4.2 zip and created a new portable environment
- Copied PME 1.18.7 (including the shared fixes) to the portable/addon directory, creating an environment with the addon installed
- In Blender’s initial settings, set right-click for object selection (Select with Mouse Button)
- Imported the FT_pie_menus_.json you shared and checked its operation. At this point, click-drag was functioning
- Performed Load Factory Settings, initializing the settings. Confirmed that PME was disabled and PME-related Hotkeys were removed from the keymap
- Re-enabled PME, found that addon preferences remained, and your menus imported earlier were still there. Confirmed that PME Hotkeys were properly re-registered in the keymap
- The selection method had reverted to left-click due to the factory reset, so I changed it back to right-click. (Without this change, Blender’s default right-click context menu would take priority over the menu you set up for right-click. This isn’t a bug, but rather an issue with your menu setup.)
- Some errors occurred, causing issues with the PME preferences screen rendering, but these were icon-related and resolved after restart. Considering this as an expected error following Load Factory Settings, I’m not treating it as an issue for now
- Checked the operation of your setup menus and confirmed that click-drag was working normally
The issue you mentioned didn’t occur with these steps. If there are any mistakes in the reproduction procedure, please provide detailed steps again.
This verification doesn’t negate the possibility of a PME issue in 4.2.
To correctly identify the cause of the phenomenon actually occurring on your end, I’ll provide you with the following information.
First, as a prerequisite, all menus created with PME are stored in the PME addon preferences.
Broadly speaking, menus contain the following information:
- Key to press (A key, mouse click, etc.)
- Modifier keys (Ctrl, Shift, etc.)
- Keymap name (Window, 3D View, Object Mode, etc.)
- Options like Press, Hold, Drag, etc.
- Poll settings
- Menu display content
I want to emphasize that this menu information is stored in the PME addon preferences and is separate from the process of registering in Blender’s keymap.
Next, let me explain about the information PME registers in Blender’s keymap.
The information PME registers in Blender is only the aforementioned 1-3. In other words, just which key to “press” in which scene.
I emphasize that options like Press, Hold, Drag, etc. are not registered in Blender (except for double-click)
This is because the invocation methods based on Press, Hold, Drag options are resolved within PME, not by Blender. Specifically, all (probably) menus created in PME are controlled by a PME operator called wm.pme_user_pie_menu_call. This operator monitors the duration of hotkey presses and mouse movement distance, displaying the appropriate menu according to the options.(or pass through).
(If you check Blender’s keymap, you should see an item called Call Menu (PME). And they should all be set to Press)
Now, in the issue you reported, menus that should be registered as Drag were replaced with Press. There are two possible causes for this:
- In the 4.2 environment, the PME addon preferences are actually being rewritten.
- In the 4.2 environment, the internal processing of the
wm.pme_user_pie_menu_calloperator is not functioning.
For 1, a solution could be a clean install of PME or reloading the menus.
For 2, it’s unlikely given that Drag is working in my and James’s environments. However, errors due to specific environmental factors are entirely possible.
Also, in this case, we can rule out factors like Blender keymap disturbances or duplications due to migration. This is because Press, Hold, Drag information exists only in PME addon preferences and is not registered in Blender.
That’s all.
In the end, I couldn’t determine the cause of the problem occurring on your end.
However, I hope this information provides clues for troubleshooting the issue.
Please let me know if you have any questions or additional information.
❤️ 3 likes
image1990×906 181 KB