View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014731ParaView(No Category)public2014-05-15 08:562016-08-12 09:59
ReporterVadim SANDLER 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version4.1 
Target VersionFixed in Version 
Summary0014731: After relaunching a python script, the last scalar bar stays displayed when hiding the representation
DescriptionLaunch the script playing_with_scalar_bar_paraview.py (attached).
In the Pipeline Browser, click on the eye left of MeshQuality1.
=> The representation and the scalar bar are hidden.

Re-launch the script.
Click on the eye left of MeshQuality2.
=> The representation is hidden, but the scalar is still displayed.
TagsNo tags attached.
ProjectParaViS
Topic Name
Typeincorrect functionality
Attached Files? file icon playing_with_scalar_bar_paraview.py [^] (2,227 bytes) 2014-05-15 08:56

 Relationships

  Notes
(0032792)
Utkarsh Ayachit (administrator)
2014-06-09 07:23

Tristan, have you started working on this? Otherwise I'd like to take this as this may be related to some of my recent changes (unless it's happening in 4.1).
(0032795)
Tristan Coulange (developer)
2014-06-09 07:28

Utkarsh,

No I did not work on this one, you can take it :)

Tristan
(0032860)
Utkarsh Ayachit (administrator)
2014-06-13 15:32

Vadim,

Alas there's no way to fix this script. The problem is that the script uses the CreateScalarBar call which results in creating a new scalar bar each time. The ParaView application automatically associates the first scalar bar created, and hence it works well the first time you load the script.

When you load it the second time, a new scalar bar is created and this one is orphaned. As a result the UI pretty much ignores it.

In development ParaView, there's a better way of setting up color bars.

DataRepresentation3.SetScalarBarVisibility(GetActiveView(), True)

This API is under development and it will be refined by 4.3 release (slated for late fall this year).
(0038572)
Kitware Robot (administrator)
2016-08-12 09:59

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.

 Issue History
Date Modified Username Field Change
2014-05-15 08:56 Vadim SANDLER New Issue
2014-05-15 08:56 Vadim SANDLER File Added: playing_with_scalar_bar_paraview.py
2014-06-05 11:30 Joachim Pouderoux Assigned To => Tristan Coulange
2014-06-09 07:23 Utkarsh Ayachit Note Added: 0032792
2014-06-09 07:28 Tristan Coulange Note Added: 0032795
2014-06-13 06:54 Tristan Coulange Assigned To Tristan Coulange => Utkarsh Ayachit
2014-06-13 15:32 Utkarsh Ayachit Note Added: 0032860
2016-08-12 09:59 Kitware Robot Note Added: 0038572
2016-08-12 09:59 Kitware Robot Status backlog => closed
2016-08-12 09:59 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team