View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015398ParaView(No Category)public2015-03-26 19:522015-09-06 12:18
ReporterAlan Scott 
Assigned ToUtkarsh Ayachit 
PriorityhighSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version4.3 
Target Version4.4Fixed in Version4.4 
Summary0015398: selection and menus don't work
DescriptionWe are seeing a bug that is extremely hard to replicate. It shows up in two ways. First, you can't select any cells or points on the surface of the dataset. Second, you can't get the onscreen menu to work. We finally have a dataset to replicate this. Replicate exactly as follows (I bet it replicates on MAC, Windows also):

* 4.3.1, Linux, 8 servers
* Open dataset DoNotRelease-selectionAndMenuBug. (Ask Utkarsh or me for this dataset). Apply.
* Right click on the dataset. Notice that the menu doesn't appear - you only get "Link Camera". Selections of points and cells on the surface also don't work.
* Note - now, split screen horizontal. Spreadsheet. Sort by GlobalNodeId. Note that there are duplicates. Close the spreadsheet view.
* Turn off block 10, apply. Right click dataset. Normal menu has appeared.
* Turn on block 10, apply. Right click dataset. Normal menu still appears!

What I want - either make this so it always works, or fallback give a message what the problem is, and at least allow users to manually fix the issue (for instance, create a manual ParaView created internal GlobalNodeId). Currently, the hack/workaround is confusing and strictly voodoo.

TagsNo tags attached.
ProjectSandia
Topic Name
Typeincorrect functionality
Attached Files

 Relationships
related to 0015425closedUtkarsh Ayachit check/uncheck selected block buttons don't work (again) 

  Notes
(0034336)
Utkarsh Ayachit (administrator)
2015-04-06 11:54

Evidently, the issue is that surface selection is not working when remote rendering is enabled!! I can reproduce the same issue as follows:

+ paraview + pvserver (8 ranks)
+ Set "Remote Render Threshold" to 0 -- to force remote rendering.
+ Sphere, Apply.
+ Now surface selection will fail!
(0034337)
Utkarsh Ayachit (administrator)
2015-04-06 13:27

Things broke since:

commit c1eac93b7942be9f579d0da8b5121d73dc0e1ae4
Author: Ken Martin <ken.martin@kitware.com>
Date: Fri Nov 21 12:07:58 2014 -0500

    Improve picking support in OpenGL2
    
    Point association picking was not implemented this patch
    adds that in. Also cell picking did not work when the input
    contained quads or higher vertex count polygons. To address
    these issues the picking process needs to give the mapper an
    opporunity to map the index from the frame buffer back into
    a point id or cell id. Added amvirtual method in prop to
    do that and an implementation in OpenGLActor and
    OpenGLPolyDataMapper to properly map gl_PrimativeId in
    the correct point or cell id.
    
    Point picking was not tested in VTK so I added a test for
    that as well.
    
    Change-Id: If276e80ab3966646dd9f6f95fbc7734c006f000c
(0034339)
Alan Scott (manager)
2015-04-06 17:39

I'm amazed. Yep, that's the bug. I could have sworn that I had tested with rendering threshold set to 0. Anyway, good find.
(0034432)
Utkarsh Ayachit (administrator)
2015-05-29 11:42

Merge request awaiting review:

https://gitlab.kitware.com/vtk/vtk/merge_requests/251 [^]
(0034436)
Utkarsh Ayachit (administrator)
2015-06-02 08:41

Fix merged in master.

https://gitlab.kitware.com/paraview/paraview/commit/8772ca93f7c249b02fa68bdbb61a3bb14b0b2391 [^]
(0034449)
Alan Scott (manager)
2015-06-02 20:53

Excellent, this fixes this bug.

Tested remote server, Linux, master. Tested with selectionAndMenuBug, and also the original dataset.

 Issue History
Date Modified Username Field Change
2015-03-26 19:52 Alan Scott New Issue
2015-03-30 09:56 Utkarsh Ayachit Assigned To => Utkarsh Ayachit
2015-04-02 16:00 Alan Scott Target Version => 4.4
2015-04-02 16:00 Alan Scott Description Updated
2015-04-06 11:54 Utkarsh Ayachit Note Added: 0034336
2015-04-06 13:27 Utkarsh Ayachit Note Added: 0034337
2015-04-06 17:39 Alan Scott Note Added: 0034339
2015-05-05 15:00 Alan Scott Relationship added related to 0015425
2015-05-29 11:42 Utkarsh Ayachit Note Added: 0034432
2015-05-29 11:42 Utkarsh Ayachit Status backlog => gatekeeper review
2015-05-29 11:42 Utkarsh Ayachit Fixed in Version => git-next
2015-05-29 11:42 Utkarsh Ayachit Resolution open => fixed
2015-06-02 08:41 Utkarsh Ayachit Note Added: 0034436
2015-06-02 08:41 Utkarsh Ayachit Status gatekeeper review => customer review
2015-06-02 08:41 Utkarsh Ayachit Fixed in Version git-next => git-master
2015-06-02 20:53 Alan Scott Note Added: 0034449
2015-06-02 20:53 Alan Scott Status customer review => closed
2015-09-06 12:18 Utkarsh Ayachit Fixed in Version git-master => 4.4


Copyright © 2000 - 2018 MantisBT Team