| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0012120 | ParaView | Feature | public | 2011-04-22 03:17 | 2011-07-22 14:15 | ||||
| Reporter | Jerome Velut | ||||||||
| Assigned To | Kyle Lutz | ||||||||
| Priority | normal | Severity | feature | Reproducibility | N/A | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | PC | OS | Linux | OS Version | Fedora14 | ||||
| Product Version | Development | ||||||||
| Target Version | Fixed in Version | 3.12 | |||||||
| Summary | 0012120: To allow plugin to add item in the contextual menu | ||||||||
| Description | the pqPipelineContextMenuBehaviour implements a buildMenu() function. This a protected, virtual function as well as the QMenu Menu member variable. Thus it is possible to override the buildMenu function in a child class in order to manipulate the context Menu. However, buildMenu is called only when right-clicking on a mesh (because of the pqView picker). Attached is a patched that makes buildMenu called at each right click in a view. The existing pqDataRepresentation's checks are performed inside the new buildMenu function. | ||||||||
| Steps To Reproduce | Not a bug. | ||||||||
| Additional Information | See email thread: http://public.kitware.com/pipermail/paraview-developers/2011-April/001008.html [^] | ||||||||
| Tags | No tags attached. | ||||||||
| Project | TBD | ||||||||
| Topic Name | 12120-plugin-context-menu | ||||||||
| Type | incorrect functionality | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0026911) Kyle Lutz (viewer) 2011-06-29 10:34 |
Fixed by: commit 54e2de2539e319421a342353fa0c01bd41548533 Author: Kyle Lutz <kyle.lutz@kitware.com> Date: Wed Jun 29 10:27:03 2011 -0400 Changed buildMenu() to always be called for context menu This changes the behavior for the right-click context menu to always call the virtual buildMenu() method even when no object is picked. Based on the patch provided by Jerome Velut. Change-Id: Ie4b92d62cf3c9c7c6e798763d4fd1f543cfb61a9 |
|
(0026924) Utkarsh Ayachit (administrator) 2011-06-30 14:17 |
For Developers: These issues are slated for gatekeeper review on July 1, 2 pm EDT. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2011-04-22 03:17 | Jerome Velut | New Issue | |
| 2011-04-22 03:17 | Jerome Velut | File Added: pv-contextmenu.patch | |
| 2011-05-06 11:25 | Utkarsh Ayachit | Target Version | => 3.12 |
| 2011-06-16 13:10 | Zack Galbreath | Category | Feature Request => Feature |
| 2011-06-27 16:03 | Utkarsh Ayachit | Assigned To | => Kyle Lutz |
| 2011-06-29 09:00 | Kyle Lutz | Status | backlog => todo |
| 2011-06-29 09:00 | Kyle Lutz | Status | todo => active development |
| 2011-06-29 10:34 | Kyle Lutz | Note Added: 0026911 | |
| 2011-06-29 10:34 | Kyle Lutz | Status | active development => gatekeeper review |
| 2011-06-30 14:17 | Utkarsh Ayachit | Note Added: 0026924 | |
| 2011-07-01 15:33 | Utkarsh Ayachit | Project | => TBD |
| 2011-07-01 15:33 | Utkarsh Ayachit | Topic Name | => 12120-plugin-context-menu |
| 2011-07-01 15:33 | Utkarsh Ayachit | Type | => incorrect functionality |
| 2011-07-01 15:33 | Utkarsh Ayachit | Status | gatekeeper review => customer review |
| 2011-07-01 15:33 | Utkarsh Ayachit | Fixed in Version | => 3.12 |
| 2011-07-01 15:33 | Utkarsh Ayachit | Resolution | open => fixed |
| 2011-07-22 14:15 | Utkarsh Ayachit | Status | customer review => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |