MantisBT - ParaView
View Issue Details
0012580ParaView(No Category)public2011-09-07 22:322014-08-29 10:59
Raymond Cohen 
Utkarsh Ayachit 
normalminorhave not tried
closedfixed 
3.10.1 
4.04.2 
Catalyst
incorrect functionality
0012580: White highlight boxes around legends when using a black background
Hi,
 
When I load a pvsm file with a black background, white highlight boxes appear around the legends. These can be removed by hovering the mouse over the legend.
 
However when I use a pvpython script to load the pvsm file and to output the images to a file, these undesired boxes are also visible (see below for an example) -- with no way of turning them off.
 
Can this be fixed?
 
Cheers,
Ray
No tags attached.
related to 0013668closed Utkarsh Ayachit White boxes still appear around text and legends when running with pvbatch 
png highlight_box.png (207,446) 2011-09-07 22:32
https://www.vtk.org/Bug/file/9021/highlight_box.png
png

tgz cavity.tgz (39,319) 2013-03-14 06:19
https://www.vtk.org/Bug/file/9408/cavity.tgz
png cavity_Ustreamlines_t000005.png (88,895) 2013-03-14 06:20
https://www.vtk.org/Bug/file/9409/cavity_Ustreamlines_t000005.png
png
Issue History
2011-09-07 22:32Raymond CohenNew Issue
2011-09-07 22:32Raymond CohenFile Added: highlight_box.png
2012-08-30 03:37Eelco van VlietNote Added: 0029089
2012-10-09 09:25Sebastien JourdainAssigned To => Andy Bauer
2012-10-09 09:25Sebastien JourdainNote Added: 0029340
2012-10-11 14:01Andy BauerNote Added: 0029364
2012-10-11 14:02Sebastien JourdainAssigned ToAndy Bauer => Utkarsh Ayachit
2012-10-18 14:05Utkarsh AyachitTarget Version => 4.0
2012-10-24 11:06Utkarsh AyachitNote Added: 0029499
2012-10-24 11:06Utkarsh AyachitStatusbacklog => gatekeeper review
2012-10-24 11:06Utkarsh AyachitFixed in Version => git-master
2012-10-24 11:06Utkarsh AyachitResolutionopen => unable to reproduce
2012-10-24 11:06Utkarsh AyachitStatusgatekeeper review => customer review
2012-10-29 17:04Utkarsh AyachitFixed in Versiongit-master => 3.98.0
2012-11-20 08:30Eelco van VlietNote Added: 0029751
2012-11-20 08:30Eelco van VlietStatuscustomer review => closed
2012-11-20 09:53Utkarsh AyachitNote Added: 0029752
2012-11-23 09:51Utkarsh AyachitNote Added: 0029781
2012-11-23 09:51Utkarsh AyachitStatusclosed => backlog
2012-11-23 09:51Utkarsh AyachitResolutionunable to reproduce => reopened
2012-12-19 07:55Utkarsh AyachitRelationship addedrelated to 0013668
2013-03-14 06:19Eelco van VlietFile Added: cavity.tgz
2013-03-14 06:20Eelco van VlietFile Added: cavity_Ustreamlines_t000005.png
2013-03-14 06:32Eelco van VlietNote Added: 0030427
2013-03-14 10:20Utkarsh AyachitProjectTBD => Catalyst
2013-03-14 10:20Utkarsh AyachitStatusbacklog => todo
2014-07-30 13:16Utkarsh AyachitNote Added: 0033147
2014-07-30 13:16Utkarsh AyachitStatustodo => gatekeeper review
2014-07-30 13:16Utkarsh AyachitFixed in Version3.98.0 => git-master
2014-07-30 13:16Utkarsh AyachitResolutionreopened => fixed
2014-07-31 09:00Utkarsh AyachitStatusgatekeeper review => customer review
2014-07-31 09:00Utkarsh AyachitNote Added: 0033166
2014-08-19 21:53Alan ScottNote Added: 0033264
2014-08-19 21:53Alan ScottStatuscustomer review => closed
2014-08-29 10:59Utkarsh AyachitFixed in Versiongit-master => 4.2

Notes
(0029089)
Eelco van Vliet   
2012-08-30 03:37   
I am running into the same problem. Is there a solution for this yet (exept for choosing a white background, then you do not see the boxes anymore) ?

Eelco
(0029340)
Sebastien Jourdain   
2012-10-09 09:25   
Andy, did you already solved that issue ?
(0029364)
Andy Bauer   
2012-10-11 14:01   
I didn't do anything to solve this problem. I'm not sure who assigned it to me either so if you want to take over on this Seb, please go ahead.
(0029499)
Utkarsh Ayachit   
2012-10-24 11:06   
The white border no longer shows up when a state file is loaded from the UI or Python. Please reopen if the problem persists with the development version of ParaView (and include a state file, if possible).
(0029751)
Eelco van Vliet   
2012-11-20 08:30   
Just tried it with pvbatch from version 3.98, but the problem still persists. Are you sure it was fixed ?
(0029752)
Utkarsh Ayachit   
2012-11-20 09:53   
Please attach a state file to help reproduce.
(0029781)
Utkarsh Ayachit   
2012-11-23 09:51   
reopening since reported reproducible by user. Awaiting state from user.
(0030427)
Eelco van Vliet   
2013-03-14 06:32   
I have already uploaded the statefile + image to a new issue 0013668, but I understand you have linked that issue to this one, so I will do it again.

Here I have uploaded a new example of the white boxes occuring around text labels and legends in the latest paraview version 3.98 if you make the image with pvbatch. See the image cavity_Ustreamlines_t000005.png

I have also uploaded an OpenFOAM icoFoam case (most simple tutorial) which you can run with Allrun (if you have openfoam installed). This tarball also contains the statefile I used to make the image: Ustreamlines.pvsm

I must say: I have a special way of passing the statefiles to pvbatch: I use a script I wrote myself called pvbatchprocess.pl and pvbatchprocess.py.
The pvbatchprocess.pl reads an external file pvcases.dat (also included) in which you can define cases and states. Then per case and state a call to pvbatchprocess.py is made. In this python script I read the original paraview statefile (in this case Ustreamlines.pvsm) and add labels as defined in the pvcases.dat file. This allows you to batchprocess a whole bunch of cases. The script also replaces the original case file name for a new case file name such that you can use one statefile for multiple cases which are similar. Finally, this script also allows you to loop over a time range of VTK file stored in a directory such as produced by the sampling routines of OpenFOAM.

After processing by pvbatchprocess.py, a new statefile is make which I have also included here: pvtemp_t1363255815.824347.pvsm. This new pvtemp state is finally passed to pvbatch. In order to check the bug, you should therefore use this final pvtemp statefile.

Sorry for this long explanation which complicate things a bit, but those script make my paraview/openfoam live a lot easier when you want to batch process a lot of similar cases.

Hopefully you can fix the bug which produces those white boxes!

Regards
Eelco
(0033147)
Utkarsh Ayachit   
2014-07-30 13:16   
No longer reproducible in git/master. I am quite sure this was fixed a while ago.
(0033166)
Utkarsh Ayachit   
2014-07-31 09:00   
SUMMARY
---------------------------------------------
Topics merged into master:
(VTK) 14599_fix_double_range_issues
        14789_fix_border
        14831_log_scaling_crash
        14848_fix_mutlselection
        appdata-file
        catalyst-dependencies
        catalyst-kits
        compilation_issue_processxml
        excess-moc-wrapping
        fix-cache-doc
        fix-catalyst-python
        kit-libraries
(VTK) newest-xdmf
        pass_connectid_to_autompi
        remove-mpi4py
(VTK) update-vtk-20140729


---------------------------------------------
Topics reverted from next:
  14813_fix_mode_shapes_range
  fix_proxy_widget_dialog_apply
  pvweb-fixes
(0033264)
Alan Scott   
2014-08-19 21:53   
I believe this is the same as 13668, which was tested and closed. If this is in error, please reopen or send us a new bug report.