BlenderDefender / Gizmodal-Ops

An add-on that seamlessly blends Gizmo and Modal operations.
GNU General Public License v3.0
32 stars 0 forks source link

Bug: Tab Pie Menu bug #17

Open Dwarben opened 3 months ago

Dwarben commented 3 months ago

Describe the bug to speed up my work I am implementing pie menus. When I go to activate 'tab for pie menu' the addon stops working and to reactivate it I must first deactivate it

To Reproduce Steps to reproduce the behavior:

Expected behavior the addon stops working, remaining on the last operation performed

Video of the bug

https://github.com/BlenderDefender/Gizmodal-Ops/assets/164523081/e80c113d-0333-4fef-8473-3b130e1769ba

System Information (please complete the following information):

BlenderDefender commented 3 months ago

@Dwarben Could you please add a proper title for this bug report? If there's no descriptive title, I don't know what an issue is about, which reduces the likelyhood of an issue being worked on. Apart from that, if you're already using the debug version, it would be great if you could share the log output from this file:

%HOMEPATH%/GizmodalOpsLog.txt

A similar issue to this was reported a while ago (see #15), so I'll have a look at is soon.

Dwarben commented 3 months ago

Yes, sorry i completely forgot to add a title. Anyway, I've just got home, turned on blender and everything seems to be working properly... I can't explain why. anyway, I'll attach the log output anyway, maybe there's something there that can be useful for the future. tell me if I'll leave the issue or put it as resolved

Starting up Gizmodal Ops Gizmodal Ops Register - Warning: Key 3D View not found. Gizmodal Ops Register - Warning: Key Pose not found. Gizmodal Ops Register - Warning: Key Object Mode not found. Gizmodal Ops Register - Warning: Key Curve not found. Gizmodal Ops Register - Warning: Key Curves not found. Gizmodal Ops Register - Warning: Key Mesh not found. Gizmodal Ops Register - Warning: Key Armature not found. Gizmodal Ops Register - Warning: Key Metaball not found. Gizmodal Ops Register - Warning: Key Lattice not found. Gizmodal Ops Register - Warning: Key UV Editor not found.

BlenderDefender commented 3 months ago

@Dwarben Alright, I think I know what the cause of the issue is. To prove my hypothesis, I've made another debug version, GizmodalOpsDebug17_01.zip. Here's what I'd like you to try out:

  1. Disable "Tab for Pie Menu"
  2. Install this version and make sure it's working correctly
  3. Enable "Tab for Pie Menu"
  4. Gizmodal Ops shouldn't be working now. Head to Preferences > Addons > Gizmodal Ops and click on the refresh button there. (Attention: Please don't confuse the refresh button at the top right with the refresh button in the addon preferences, see screenshot) grafik
  5. Gizmodal Ops should be working again. Regardless of whether or not that's the case, the log output (same file as before) would be really helpful.

From my personal testing, everything should work as described. I've also found out this bug occurs in older Blender versions as well.

Dwarben commented 3 months ago

I followed the directions you gave me but it still doesn't work. but if I restart blender everything seems to work

log output

Starting up Gizmodal Ops Gizmodal Ops Register - Warning: Key 3D View not found. Gizmodal Ops Register - Warning: Key Pose not found. Gizmodal Ops Register - Warning: Key Object Mode not found. Gizmodal Ops Register - Warning: Key Curve not found. Gizmodal Ops Register - Warning: Key Curves not found. Gizmodal Ops Register - Warning: Key Mesh not found. Gizmodal Ops Register - Warning: Key Armature not found. Gizmodal Ops Register - Warning: Key Metaball not found. Gizmodal Ops Register - Warning: Key Lattice not found. Gizmodal Ops Register - Warning: Key UV Editor not found. Starting up Gizmodal Ops Gizmodal Ops Register - Warning: Key 3D View not found. Gizmodal Ops Register - Warning: Key Pose not found. Gizmodal Ops Register - Warning: Key Object Mode not found. Gizmodal Ops Register - Warning: Key Curve not found. Gizmodal Ops Register - Warning: Key Curves not found. Gizmodal Ops Register - Warning: Key Mesh not found. Gizmodal Ops Register - Warning: Key Armature not found. Gizmodal Ops Register - Warning: Key Metaball not found. Gizmodal Ops Register - Warning: Key Lattice not found. Gizmodal Ops Register - Warning: Key UV Editor not found.

BlenderDefender commented 3 months ago

I followed the directions you gave me but it still doesn't work. but if I restart blender everything seems to work

log output ...

Are you sure that you've used the right version? The log output doesn't look like it. So please download the correct version, uninstall the previous version, restart Blender and follow the steps I've written about in the previous comment.

Dwarben commented 3 months ago

I'm sure, to be on the safe side I re-downloaded the version you gave me and tried it again and, as I said, it only works when I restart Blender.

BlenderDefender commented 3 months ago

Oh, I think I've expressed myself in a confusing way, I'm not talking about the refresh button at the bottom left, I'm talking about a refresh button within the Gizmodal Ops preferences, see this picture: grafik

I'm sorry for this misunderstanding. It would be great, if you could test it again using this button there.

Dwarben commented 3 months ago

oh, my mistake. anyway i did the test and everything works perfectly!

BlenderDefender commented 3 months ago

@Dwarben Alright then, I'll try to implement a fix as soon as possible, thanks for your assistance