Enhanced 3d Cursor breaks tooltips #45249

Closed
opened 2015-06-30 13:49:23 +02:00 by Jaggz H · 13 comments

System Information
W7x64, some nvidia card.

Blender Version
Broken: 2.75 rc2 c85a58a
Worked: unsure

Enabling the Enhanced 3D Cursor addon stops tooltips from working. Toggling tooltips preference does not correct.

Exact steps for others to reproduce the error
Like I said... :)

**System Information** W7x64, some nvidia card. **Blender Version** Broken: 2.75 rc2 c85a58a Worked: unsure Enabling the Enhanced 3D Cursor addon stops tooltips from working. Toggling tooltips preference does not correct. **Exact steps for others to reproduce the error** Like I said... :)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @jaggz

Added subscriber: @jaggz
Member

Added subscriber: @BrendonMurphy

Added subscriber: @BrendonMurphy
Member

hi, this is really unacceptable that tooltips vanish.
this addon will need to be fixed immediately now
or it must be removed from addons contrib.

hi, this is really unacceptable that tooltips vanish. this addon will need to be fixed **immediately** **now** or it must be removed from addons contrib.
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Author

More details:
Blender must be started with the addon already enabled for tooltips to fail.
Then, toggling it off will re-enable tooltips.

Starting blender without the addon already enabled will not break tooltips, and it (the addon) can be freely toggled on/off in prefs without tooltips failing.

*Note: I've never used this addon before, though, and haven't tested if its features work at all; ie. if it requires being loaded at startup to function.

More details: Blender must be started with the addon already enabled for tooltips to fail. Then, toggling it off will re-enable tooltips. Starting blender without the addon already enabled will not break tooltips, and it (the addon) can be freely toggled on/off in prefs without tooltips failing. *Note: I've never used this addon before, though, and haven't tested if its features work at all; ie. if it requires being loaded at startup to function.
dima glib was assigned by Brendon Murphy 2015-06-30 14:14:14 +02:00
Author

Click and drag of nodes also breaks with Enhanced 3d Cursor enabled

Click and drag of nodes also breaks with Enhanced 3d Cursor enabled
Member

raised priority

raised priority
Member

If I won't be able to find a solution today, I'll probably just delete the addon from the contrib.

If I won't be able to find a solution today, I'll probably just delete the addon from the contrib.
Member

@dairin0d
I believe the issue may even be with register/unregister
I have tested a few running modal addons, the issue here is when you save defaults with the addon enabled & running.
The other addons I tested, measureit, & old simple ruler addon do different behavior.
The panels are still accesible, but the 'Run' 'Turn on' buttons default back to pre activated state.
This makes me think it may be in the unreg/reg it could be solved.
Anyways, it will be sad to lose this addon after so long in contrib,
let's give it a few days to see if we can work it out.

@dairin0d I believe the issue may even be with register/unregister I have tested a few running modal addons, the issue here is when you save defaults with the addon enabled & running. The other addons I tested, measureit, & old simple ruler addon do different behavior. The panels are still accesible, but the 'Run' 'Turn on' buttons default back to pre activated state. This makes me think it may be in the unreg/reg it could be solved. Anyways, it will be sad to lose this addon after so long in contrib, let's give it a few days to see if we can work it out.
Member

Seems like I managed to fix the issue with tooltips/node-dragging. It was caused by the approach I was using to auto-register keymaps at the addon start-up.
I have replaced the old modal operator running in background with scene_update_post callback, and the bug disappeared.

By the way, I stumbled upon a different problem I don't quite know how to deal with:
(A) If the addon is enabled in User Preferences, enabling/disabling it after opening new scene works fine.
(B) If you enable the addon, then disable it, then open new scene and enable it again: it would register normally.
(C) If you enable the addon, then open new scene and enable it again: it won't register second time due to "register_module('space_view3d_enhanced_3d_cursor'): defines no classes" exception.
Any ideas what can be causing this?

Seems like I managed to fix the issue with tooltips/node-dragging. It was caused by the approach I was using to auto-register keymaps at the addon start-up. I have replaced the old modal operator running in background with scene_update_post callback, and the bug disappeared. By the way, I stumbled upon a different problem I don't quite know how to deal with: (A) If the addon is enabled in User Preferences, enabling/disabling it after opening new scene works fine. (B) If you enable the addon, then disable it, then open new scene and enable it again: it would register normally. (C) If you enable the addon, then open new scene and enable it again: it won't register second time due to "register_module('space_view3d_enhanced_3d_cursor'): defines no classes" exception. Any ideas what can be causing this?
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

Closing this since initial bugs were fixed.

Closing this since initial bugs were fixed.
Sign in to join this conversation.
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-addons#45249
No description provided.