GP allows to access pie menus out of context #48200
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#48200
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
Windows 10
Intel HD 4600
Blender Version
Broken: 2.77a
Worked: N/A
Short description of error
GP allows to access pie menus put of context. To reproduce this you must have pie menus add-on enabled.
Exact steps for others to reproduce the error
Video: https://drive.google.com/file/d/0B4CLCL8cP5lSeWxFWEx6NVZJWWs/view?usp=sharing
Changed status to: 'Open'
Added subscriber: @Blendify
Added subscriber: @JulianEisel
GP allows to access pie menus put of contextto GP allows to access pie menus out of contextThink this needs a two-step fix:
Hard to predict how safe second change is, guess we just have to try it.
Note that it was also possible to recreate in other editors with GPencil support.
Added subscriber: @BrendonMurphy
hi, the main issue here is context sensitivity. Rather than try to find workarounds, the menu needs to be re-written with proper per mode polls & menu's added in most operators.
@BrendonMurphy ? What I proposed is adding a poll function to the menu. Plus an event system correction for something that looks incorrect to me. It's definitely not just a workaround ;)
Hi, @JulianEisel sorry if that was a little abrupt. You are right, what you did is not a workaround. however I don't think it takes it far enough, from my too brief look at this, there's edit mode pies in object mode & generally no context sensitivity throughout.
@JulianEisel hi, I'm tempted to rewrite this addon, your poll is a good start, just need context sensitivity elsewhere to refine the addon, this should be easily solvable with operator context polls. I'll make a patch for this soon.
I wouldn't be adding exceptions in C just yet, (would it affect other addons?) might need more discuss, it may be useful, unsure.
This issue was referenced by
7c3a79b484
Changed status from 'Open' to: 'Resolved'