MantisBT - ParaView
View Issue Details
0005142ParaView(No Category)public2007-06-07 11:532007-08-29 12:50
Berk Geveci 
Clinton Stimpson 
highfeaturealways
closedfixed 
 
 
0005142: Better location(s) for default_servers.pvsc
There should be a better location(s) default_servers.pvsc. These may be:
/usr/lib/paraview-3.x
/usr/share/paraview-3.x
somewhere in home....
There should be system specific and user specific versions of the default servers file.
No tags attached.
related to 0005487closed Clinton Stimpson Save previous entries for server connections 
Issue History
2007-08-13 12:17Clinton StimpsonNote Added: 0008417
2007-08-13 12:21Clinton StimpsonStatustabled => @80@
2007-08-13 12:21Clinton StimpsonResolutionopen => fixed
2007-08-13 12:21Clinton StimpsonNote Added: 0008418
2007-08-14 09:25Ken MorelandStatus@80@ => @20@
2007-08-14 09:25Ken MorelandResolutionfixed => reopened
2007-08-14 09:25Ken MorelandNote Added: 0008449
2007-08-14 14:25Clinton StimpsonNote Added: 0008459
2007-08-14 14:26Clinton StimpsonRelationship addedrelated to 0005487
2007-08-14 19:43Ken MorelandNote Added: 0008466
2007-08-16 18:51Clinton StimpsonNote Added: 0008493
2007-08-23 10:32Berk GeveciPrioritynormal => high
2007-08-23 17:10Berk GeveciCategory => 3.2
2007-08-24 19:15Clinton StimpsonStatus@20@ => @80@
2007-08-24 19:15Clinton StimpsonResolutionreopened => fixed
2007-08-24 19:15Clinton StimpsonNote Added: 0008664
2007-08-27 17:38Ken MorelandNote Added: 0008682
2007-08-28 13:09Ken MorelandStatus@80@ => @20@
2007-08-28 13:09Ken MorelandResolutionfixed => reopened
2007-08-28 14:01Clinton StimpsonStatus@20@ => @80@
2007-08-28 14:01Clinton StimpsonResolutionreopened => fixed
2007-08-28 14:01Clinton StimpsonNote Added: 0008717
2007-08-28 14:10Clinton StimpsonNote Added: 0008718
2007-08-28 14:10Clinton StimpsonStatus@80@ => tabled
2007-08-28 14:11Clinton StimpsonStatustabled => @80@
2007-08-28 14:11Clinton StimpsonNote Added: 0008719
2007-08-29 12:50Ken MorelandStatus@80@ => closed
2011-06-16 13:10Zack GalbreathCategory => (No Category)

Notes
(0007828)
Clinton Stimpson   
2007-06-07 12:17   

Do we load all of those files that are found?

Somewhere in home is $HOME/default_servers.pvsc or $HOME/.paraview/default_servers.pvsc ? Or some environment variable?
(0008417)
Clinton Stimpson   
2007-08-13 12:17   
/cvsroot/ParaView3/ParaView3/Qt/Core/pqApplicationCore.cxx,v <-- pqApplicationCore.cxx
new revision: 1.72; previous revision: 1.71
(0008418)
Clinton Stimpson   
2007-08-13 12:21   
Also update Wiki page.
(0008449)
Ken Moreland   
2007-08-14 09:25   
Is there a reason to have the default_servers.pvsc in a different location than all the other configuration files ($HOME/.config/Kitware)? Let's talk about this at the Tuesday meeting.
(0008459)
Clinton Stimpson   
2007-08-14 14:25   
I agree something needs to change.

Currently, user's servers are read and saved with QSettings, found in $HOME/.config/Kitware/, but not in XML format. I suggest not using QSettings, but have plain XML files.
(0008466)
Ken Moreland   
2007-08-14 19:43   
I agree. I would also suggest that the XML either go in a subdirectory of $HOME/.config/Kitware, or be called something other than simply default_servers.pvsc. The path should indicate that the configuration file is specific to ParaView.

Is there a way to get the location where QSettings reads and writes files?
(0008493)
Clinton Stimpson   
2007-08-16 18:51   
Now reads user settings from
Windows: %APPDATA%\Kitware\servers.pvsc
Unix: $HOME/.config/Kitware/servers.pvsc

Also made changes that will help in fixing bug 0005487.

Still need to read from /usr/share/... or something.

/cvsroot/ParaView3/ParaView3/Qt/Components/pqEditServerStartupDialog.cxx,v <-- pqEditServerStartupDialog.cxx
new revision: 1.8; previous revision: 1.7
/cvsroot/ParaView3/ParaView3/Qt/Components/pqServerBrowser.cxx,v <-- pqServerBrowser.cxx
new revision: 1.15; previous revision: 1.14
/cvsroot/ParaView3/ParaView3/Qt/Components/pqSimpleServerStartup.cxx,v <-- pqSimpleServerStartup.cxx
new revision: 1.23; previous revision: 1.22
/cvsroot/ParaView3/ParaView3/Qt/Core/CMakeLists.txt,v <-- CMakeLists.txt
new revision: 1.85; previous revision: 1.84
/cvsroot/ParaView3/ParaView3/Qt/Core/pqApplicationCore.cxx,v <-- pqApplicationCore.cxx
new revision: 1.74; previous revision: 1.73
/cvsroot/ParaView3/ParaView3/Qt/Core/pqCommandServerStartup.cxx,v <-- pqCommandServerStartup.cxx
new revision: 1.12; previous revision: 1.11
/cvsroot/ParaView3/ParaView3/Qt/Core/pqCommandServerStartup.h,v <-- pqCommandServerStartup.h
new revision: 1.8; previous revision: 1.7
/cvsroot/ParaView3/ParaView3/Qt/Core/pqManualServerStartup.cxx,v <-- pqManualServerStartup.cxx
new revision: 1.7; previous revision: 1.6
/cvsroot/ParaView3/ParaView3/Qt/Core/pqManualServerStartup.h,v <-- pqManualServerStartup.h
new revision: 1.7; previous revision: 1.6
/cvsroot/ParaView3/ParaView3/Qt/Core/pqServerStartup.h,v <-- pqServerStartup.h
new revision: 1.7; previous revision: 1.6
/cvsroot/ParaView3/ParaView3/Qt/Core/pqServerStartups.cxx,v <-- pqServerStartups.cxx
new revision: 1.11; previous revision: 1.10
/cvsroot/ParaView3/ParaView3/Qt/Core/pqServerStartups.h,v <-- pqServerStartups.h
new revision: 1.6; previous revision: 1.5
(0008664)
Clinton Stimpson   
2007-08-24 19:15   
Also read from
/usr/share/ParaView3.1/servers.pvsc
%COMMON_APPDATA%\ParaView3.1\servers.pvsc


/cvsroot/ParaView3/ParaView3/Qt/Core/pqServerStartups.cxx,v <-- pqServerStartups.cxx
new revision: 1.12; previous revision: 1.11
(0008682)
Ken Moreland   
2007-08-27 17:38   
This is bit of a nitpick, but should the file located in $HOME/.config/Kitware or %APPDATA%\Kitware be called servers.pvsc. The file itself is specific to ParaView, but there is nothing in the path to suggest that. Should the file be put in a ParaView subdirectory? Should it be called paraview_servers.pvsc in that directory? Should I just shut up?
(0008717)
Clinton Stimpson   
2007-08-28 14:01   
On Linux, it is now $HOME/.config/ParaView3.1/...


/cvsroot/ParaView3/ParaView3/Qt/Core/pqApplicationCore.cxx,v <-- pqApplicationCore.cxx
new revision: 1.75; previous revision: 1.74
/cvsroot/ParaView3/ParaView3/Qt/Core/pqServerStartups.cxx,v <-- pqServerStartups.cxx
new revision: 1.13; previous revision: 1.12
/cvsroot/ParaView3/ParaView3/Qt/Core/pqServerStartups.h,v <-- pqServerStartups.h
new revision: 1.7; previous revision: 1.6
(0008718)
Clinton Stimpson   
2007-08-28 14:10   
I don't the version number being in the directory name.
(0008719)
Clinton Stimpson   
2007-08-28 14:11   
Now its
$HOME/.config/ParaView/...


/cvsroot/ParaView3/ParaView3/Applications/Client/ProcessModuleGUIHelper.cxx,v <-- ProcessModuleGUIHelper.cxx
new revision: 1.11; previous revision: 1.10
/cvsroot/ParaView3/ParaView3/Qt/Core/pqApplicationCore.cxx,v <-- pqApplicationCore.cxx
new revision: 1.76; previous revision: 1.75
/cvsroot/ParaView3/ParaView3/Qt/Core/pqServerStartups.cxx,v <-- pqServerStartups.cxx
new revision: 1.14; previous revision: 1.13