View Issue Details

IDProjectCategoryView StatusLast Update
0012009ScribusGeneralpublic2015-02-21 13:38
ReporterJLuc Assigned Tocbradney  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.5.0svn 
Fixed in Version1.5.0svn 
Summary0012009: Preferences > Paths > Documents should have immediate effect
DescriptionWhen user changes Preferences > Paths > Documents , nothing happens immediately.
User needs to restart Scribus first for the change to be applied.
That's not the way it should behave.

Scribus UI (and all UIs) usually propose options that take place once "Ok" is pressed. This dialog should behave as all other do.
Steps To Reproduce0) Start Scribus
1) Go to: File > Preferences... > Paths
2) Change "Documents" path and click OK
3) Go to: File > Open...
The old path previously set will be used.

4) Restart Scribus
5) Go to: File > Open...
The new path will be used.
Additional InformationScribus 1.5.0.svn (19357)
TagsNo tags attached.
PatchNo

Activities

fschmid

2014-01-25 07:54

administrator   ~0031188

Can't reproduce here, Open Dialog always uses the path that was set in Preferences.

FirasH

2014-01-25 23:41

developer   ~0031195

I also can't reproduce this issue. After changing the Documents Path under Preferences, restart Scribus and File > Open will show the Path you've selected.

FirasH

2014-07-21 05:02

developer   ~0032866

JLuc can you re-test and verify if this is still reproducible? Thanks.

JLuc

2014-07-21 11:26

developer   ~0032881

I tested and here is my answer : It seems that it requires to restart scribus for this option to be taken into account.
So the bug is not that it doesnt work, it's that its not applied when user validates the change.

FirasH

2014-07-21 15:31

developer   ~0032882

Updated the report.

cbradney

2014-07-22 20:56

administrator   ~0032922

QString prefsDocDir(prefsManager->documentDir());
    if (!prefsDocDir.isEmpty())
        docDir = docContext->get("docsopen", prefsDocDir);
    else
        docDir = docContext->get("docsopen", ".");

So.. the reason for this is that Scribus remembers, in the docsopen context of preferences, where you open previous files in the current working session. We'd either have to get rid of that session based memory, or reset it when Preferences are changed.

cbradney

2015-02-19 19:02

administrator   ~0034541

No bug as such... discuss and suggest or close this bug please.

JLuc

2015-02-19 19:29

developer   ~0034542

As you wrote in your previous comment : "get rid of that session based memory, or reset it when Preferences are changed." seems the right way to go.

I dont understand your last comment.
Do you mean the bug should be relabelled as "path change should apply immediately once user has pressed 'change' button" ? or less friendly "scribus should warn that the user will have to close scribus in order the requested change to really happen ?" ?

In case it helps i changed the bug text and title.

cbradney

2015-02-20 16:26

administrator   ~0034548

r19848

Kunda

2015-02-21 13:38

updater   ~0034555

Fixed (OSX 10.9.5 r19849 Qt5.4). Thanks Craig!

Issue History

Date Modified Username Field Change
2014-01-24 12:33 JLuc New Issue
2014-01-25 07:54 fschmid Note Added: 0031188
2014-01-25 23:41 FirasH Note Added: 0031195
2014-07-21 05:02 FirasH Note Added: 0032866
2014-07-21 05:02 FirasH Status new => feedback
2014-07-21 11:26 JLuc Note Added: 0032881
2014-07-21 11:26 JLuc Status feedback => new
2014-07-21 15:31 FirasH Note Added: 0032882
2014-07-21 15:31 FirasH Reproducibility have not tried => always
2014-07-21 15:31 FirasH Status new => confirmed
2014-07-21 15:31 FirasH OS ubuntu 13.10 =>
2014-07-21 15:31 FirasH Summary "Path to documents" preference not used for File Open => Preferences > Paths > Documents needs Scribus restart to be applied
2014-07-21 15:31 FirasH Description Updated
2014-07-21 15:31 FirasH Steps to Reproduce Updated
2014-07-21 15:31 FirasH Additional Information Updated
2014-07-22 20:56 cbradney Note Added: 0032922
2014-07-24 19:08 cbradney Assigned To => cbradney
2014-07-24 19:08 cbradney Status confirmed => feedback
2014-08-06 14:06 JLuc Status feedback => confirmed
2015-02-19 19:02 cbradney Note Added: 0034541
2015-02-19 19:28 JLuc Patch => No
2015-02-19 19:28 JLuc Summary Preferences > Paths > Documents needs Scribus restart to be applied => Preferences > Paths > Documents should have immediate effect
2015-02-19 19:28 JLuc Description Updated
2015-02-19 19:29 JLuc Note Added: 0034542
2015-02-20 16:26 cbradney Status confirmed => resolved
2015-02-20 16:26 cbradney Fixed in Version => 1.5.0svn
2015-02-20 16:26 cbradney Resolution open => fixed
2015-02-20 16:26 cbradney Note Added: 0034548
2015-02-21 13:38 Kunda Note Added: 0034555
2015-02-21 13:38 Kunda Status resolved => closed