| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0009291 | ParaView | Bug | public | 2009-07-21 15:07 | 2016-08-12 09:57 | ||||
| Reporter | Ken Moreland | ||||||||
| Assigned To | Kitware Robot | ||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
| Status | closed | Resolution | moved | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0009291: Do not use QActionGroup to pass menu/toolbar actions from plugin | ||||||||
| Description | The way you create custom menus and toolbars in plugins right now is that you subclass QActionGroup and add a set of actions to the group in the constructor. The problem with this approach is that it can interfere with the toggling of the actions. Action groups are used to establish groups of actions that should behave as radio buttons or enabled and shown together. Problem 1: If you set any of the actions to be checkable it will not immediately work as expected. Instead, it will check on but never check off. That is because it is part of an action group and Qt expects another action to be hit before turning it off. You can get around this by calling setExclusive(false) on the QActionGroup, but it still adds a lot of confusion to the user (it sure did for me and my colleagues). Problem 2: If you actually want your actions in a group, you cannot do this because the plugin is forcing them all to be in a same group. There is no workaround for this except to put each group in a different toolbar, which may not be desirable. | ||||||||
| Tags | No tags attached. | ||||||||
| Project | Sandia | ||||||||
| Topic Name | |||||||||
| Type | incorrect functionality | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0037666) Kitware Robot (administrator) 2016-08-12 09:57 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2009-07-21 15:07 | Ken Moreland | New Issue | |
| 2011-01-28 14:04 | Utkarsh Ayachit | Target Version | => 4.0 |
| 2013-01-08 21:32 | Alan Scott | Project | => Sandia |
| 2013-01-08 21:32 | Alan Scott | Type | => incorrect functionality |
| 2016-08-12 09:57 | Kitware Robot | Note Added: 0037666 | |
| 2016-08-12 09:57 | Kitware Robot | Status | backlog => closed |
| 2016-08-12 09:57 | Kitware Robot | Resolution | open => moved |
| 2016-08-12 09:57 | Kitware Robot | Assigned To | => Kitware Robot |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |