View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012120ParaViewFeaturepublic2011-04-22 03:172011-07-22 14:15
ReporterJerome Velut 
Assigned ToKyle Lutz 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformPCOSLinuxOS VersionFedora14
Product VersionDevelopment 
Target VersionFixed in Version3.12 
Summary0012120: To allow plugin to add item in the contextual menu
Descriptionthe 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 ReproduceNot a bug.
Additional InformationSee email thread:
http://public.kitware.com/pipermail/paraview-developers/2011-April/001008.html [^]
TagsNo tags attached.
ProjectTBD
Topic Name12120-plugin-context-menu
Typeincorrect functionality
Attached Filespatch file icon pv-contextmenu.patch [^] (4,432 bytes) 2011-04-22 03:17 [Show Content]

 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.

 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


Copyright © 2000 - 2018 MantisBT Team