View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006069 | Scribus | OS-Win32 | public | 2007-08-05 16:51 | 2014-07-21 06:13 |
Reporter | strank | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | feedback | Resolution | open | ||
OS | Windows | OS Version | XP | ||
Product Version | 1.3.4 | ||||
Summary | 0006069: Respect HOME variable or allow customisation of preference location | ||||
Description | In 1.3.3.x Scribus preferences were stored in QDir::homeDirPath()+"/.scribus". In 1.3.4 they moved to the Windows special folder %APPDATA%+"/Scribus". QDir::homeDirPath() used $HOME if it was defined, also on Windows. The new code (in ScPaths::getApplicationDataDir) does not. This means that the preferences location cannot be customised (apart from redefining the whole %USERDIR%, including a lot of junk). I strongly prefer using $HOME when defined (and using ".scribus" instead of "Scribus") but I know that the new behaviour is more Windows-idiomatic. To allow customisation nevertheless, I suggest: - either check for %HOME% before %APPDATA% and use it (%HOME%/.scribus) if defined - or check for a new environment variable and use it directly (e.g. $SCRIBUSHOME which could be set to e.g. D:\whereever\.scribus) cheers, stefan | ||||
Steps To Reproduce | N/A | ||||
Additional Information | Earlier bugs related to Windows Paths: - 0005301: Relocate preferences directory - 0003945: correct some minor win32 specific path things | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
Won't correct than in 1.3.3.x. In qt4 the priority has changed anywway and HOME is the very last on the list. Practically on Windows systems supported by scribus (ie NT based), qt4 retrieve home path using the GetUserProfileDirectoryW() function which is far better than using any environment variable where only a limite range of character is supported. |
|
I'm not sure I understand all this at a level high level, but somehow it would be nice if the preference location was customizable in some form... I'm not the only one, I suppose. |
|
(7 years later) jghali, what's the verdict on this? |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-08-05 16:51 | strank | New Issue | |
2007-08-05 19:55 | jghali | Note Added: 0016949 | |
2007-08-30 04:56 | slythfox | Note Added: 0017216 | |
2007-09-27 19:21 | christoph_s | Relationship added | child of 0005693 |
2007-09-27 19:27 | jghali | Relationship deleted | child of 0005693 |
2009-06-23 08:11 | jghali | Relationship added | has duplicate 0008198 |
2014-07-21 06:11 | Kunda | Relationship added | related to 0005301 |
2014-07-21 06:11 | Kunda | Relationship added | related to 0003945 |
2014-07-21 06:13 | Kunda | Note Added: 0032878 | |
2014-07-21 06:13 | Kunda | Status | new => feedback |
2014-10-08 18:38 | Kunda | Category | Win32 => OS-Win32 |