View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010145 | Scribus | Scripter | public | 2011-07-26 01:39 | 2011-07-26 01:39 |
Reporter | meow9th | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 1.4.0svn | ||||
Summary | 0010145: closeDoc() resets working directory | ||||
Description | After 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 Reproduce | Try, 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(). | ||||
Tags | No tags attached. | ||||
Patch | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-07-26 01:39 | meow9th | New Issue |