View Issue Details

IDProjectCategoryView StatusLast Update
0010145ScribusScripterpublic2011-07-26 01:39
Reportermeow9th Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version1.4.0svn 
Summary0010145: closeDoc() resets working directory
DescriptionAfter using os.chdir() to change the working directory (changed successfully as reflected by os.getcwd()), the working directory will be reset to the original one (before the os.chdir() call) after closeDoc() is called.
Steps To ReproduceTry, for example, running this script in the console:

import os

print 'Original working directory', os.getcwd()

os.chdir(fileDialog('Choose a different directory', isdir = True))

print 'Changed working directory', os.getcwd()

openDoc('test_scribus.sla')
closeDoc()
print 'After opening and closing test_scribus.sla', os.getcwd()

I get the original working directory on the last call of os.getcwd().
TagsNo tags attached.
Patch

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2011-07-26 01:39 meow9th New Issue