MantisBT - ParaView
View Issue Details
0014333ParaView(No Category)public2013-10-17 17:242014-08-29 10:59
Alan Scott 
Cory Quammen 
normalminorhave not tried
closedfixed 
git-master 
4.2 
Sandia
incorrect functionality
0014333: Gradient colors don't persist between runs.
Gradient color doesn't persist between runs. Further, Gradient color probably shouldn't be on the View Settings dialog box.

* Master, Linux, local server.
* Edit/ View Settings/ General. Click on Gradient Color.
* Change the second color to red. Apply.
* Close ParaView and reopen ParaView.
<Bug> - Gradient color background is not in effect.
<Bug> - If you turn on Gradient Color again, the second color of red is reset.
<Possible bug> - should this functionality be moved to the Settings dialog?
No tags attached.
related to 0014521closed Utkarsh Ayachit Add ability to save default values for all/any properties 
Issue History
2013-10-17 17:24Alan ScottNew Issue
2013-11-04 11:21Utkarsh AyachitAssigned To => Cory Quammen
2013-12-06 23:55Cory QuammenNote Added: 0031909
2013-12-06 23:55Cory QuammenStatusbacklog => active development
2013-12-07 00:12Cory QuammenNote Edited: 0031909bug_revision_view_page.php?bugnote_id=31909#r682
2013-12-09 18:54Alan ScottNote Added: 0031917
2013-12-23 11:25Cory QuammenNote Added: 0032047
2014-01-21 09:56Utkarsh AyachitRelationship addedrelated to 0014521
2014-06-27 15:11Utkarsh AyachitNote Added: 0032950
2014-06-27 15:11Utkarsh AyachitStatusactive development => gatekeeper review
2014-06-27 15:11Utkarsh AyachitFixed in Version => git-next
2014-06-27 15:11Utkarsh AyachitResolutionopen => fixed
2014-06-30 08:24Utkarsh AyachitFixed in Versiongit-next => git-master
2014-06-30 08:24Utkarsh AyachitStatusgatekeeper review => customer review
2014-06-30 08:24Utkarsh AyachitNote Added: 0032954
2014-07-07 21:51Alan ScottNote Added: 0032978
2014-07-07 21:51Alan ScottStatuscustomer review => closed
2014-08-29 10:59Utkarsh AyachitFixed in Versiongit-master => 4.2

Notes
(0031909)
Cory Quammen   
2013-12-06 23:55   
(edited on: 2013-12-07 00:12)
Hi Alan,

The background color and gradient are properties of the 3D view. You can have several 3D views in a layout, each with a potentially different background. As properties of the view, the colors are not saved as application settings, but they are saved to a state file. If they were application settings, then you wouldn't be able to have different backgrounds in different 3D views.

You can change the default background color for new 3D views in the Settings -> Color panel. Click on Background Color and change it to something. The next time you create a 3D view, it will have the background color you chose. I don't see an option to make a gradient default, nor the second color for the gradient. We could potentially add that setting.

Best,
Cory

(0031917)
Alan Scott   
2013-12-09 18:54   
Cory,
You are correct - the View Settings setting should not be saved. However, a user should be able to set default backgrounds, using all of the options available in Edit/ View Settings/ General. In other words, for this bug, please make sure that Settings/ Colors (or wherever else it should be) allows a user to set gradient, and gradient colors
(0032047)
Cory Quammen   
2013-12-23 11:25   
Alan,

That request seems perfectly reasonable. Defaults settings are inconsistent within ParaView and across the other binaries (pvbatch and pvpython).

This bug fits into a larger project involving refactoring of settings in ParaView. For your reference, here is a link discussing some of the issues and potential solutions:

http://paraview.org/ParaView/index.php/ParaView_Settings_2.0 [^]

The tentative plan is to address this bug while addressing the larger challenge of settings.
(0032950)
Utkarsh Ayachit   
2014-06-27 15:11   
This now works:

+ When changing background color on the "Properties" panel, the change only affects the current view.
+ Now to save that change to "user settings" so that it will be used next time ParaView starts up (or creates a new view), hit the "Save current views settings as default" button on the Properties panel next to the "View" (the icon with a disk drive). That should do the trick.
(0032954)
Utkarsh Ayachit   
2014-06-30 08:24   
SUMMARY
---------------------------------------------
Topics merged into master:
        14557-color-legend-update
(VTK) 14713_fix_lsdyna_reader
        14788-pqTextEdit
        14814_fix_cell_point_label_format
        14827_fix_paraview_module_requirements
        misc_quad_view_fixes

(0032978)
Alan Scott   
2014-07-07 21:51   
Nice.

Tested local server, Linux, master.