View Issue Details

IDProjectCategoryView StatusLast Update
0007350ScribusOS-MacOSXpublic2009-04-19 20:59
Reporterale Assigned ToHerm 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.5svn 
Fixed in Version1.3.5svn 
Summary0007350: on os x the preferences contain paths to files in the application bundle
Descriptionif you move the app from the location where it has been started for the first time, some of the preferences in ~/.scribusrc keep on pointing to that location.

the xml descriptions for the rendering frame are concerned by this bug.
Additional Informationon most system, this is really not a problem. but on os x, scribus is located in a virtual disk, from which you can run it.

it's a bad habit, i know it. but many users will first try the app when it's still on the virtual disk and copy it afterwards in the applications folder.

and i don't think that we can expect from a mac user, that he likes to delete her .scribusrc folder :-)
TagsNo tags attached.
Patch

Relationships

child of 0007647 acknowledgedHerm Metabug: Render Frames (LaTeX, GnuPlot, LilyPond, GraphViz, etc.) 

Activities

cbradney

2008-09-01 18:21

administrator   ~0020185

So, suggestions on ways to handle it?

ale

2008-09-02 07:14

manager   ~0020188

if scribus can't find the xml files at the location specified in the preferences, it could try to find them in the same location, but relative to the current instance of scribus.

a notice / confirmation to the user may be optional.

this would also enable us to run scribus from a usb stick :-)

cbradney

2009-02-12 21:46

administrator   ~0021119

Assigning to Herm to fix the references to the latexconfig options for xml file locations to be relative to the share directory

Herm

2009-02-13 00:23

reporter   ~0021121

Could you provide examples of the path before and after moving the file? I'm not a mac user and therefore can't test it on my own.

cbradney

2009-03-10 22:15

administrator   ~0021278

Herm, eg, I have:
  <LatexConfig command="" file="/Users/craig/Applications/ScribusIntel.app/Contents/share/scribus//editorconfig/100_latex.xml" />
  <LatexConfig command="" file="/Users/craig/Applications/ScribusIntel.app/Contents/share/scribus//editorconfig/200_gnuplot.xml" />
  <LatexConfig command="" file="/Users/craig/Applications/ScribusIntel.app/Contents/share/scribus//editorconfig/300_lilypond.xml" />
  <LatexConfig command="" file="/Users/craig/Applications/ScribusIntel.app/Contents/share/scribus//editorconfig/400_dot.xml" />
  <LatexConfig command="" file="/Users/craig/Applications/ScribusIntel.app/Contents/share/scribus//editorconfig/500_povray.xml" />


but if I move the application from my applications dir to a Desktop/test directory, then the preferences would have to be:

  <LatexConfig command="" file="/Users/craig/Desktop/test/ScribusIntel.app/Contents/share/scribus//editorconfig/100_latex.xml" />
  <LatexConfig command="" file="/Users/craig/Desktop/test/ScribusIntel.app/Contents/share/scribus//editorconfig/200_gnuplot.xml" />
  <LatexConfig command="" file="/Users/craig/Desktop/test/ScribusIntel.app/Contents/share/scribus//editorconfig/300_lilypond.xml" />
  <LatexConfig command="" file="/Users/craig/Desktop/test/ScribusIntel.app/Contents/share/scribus//editorconfig/400_dot.xml" />
  <LatexConfig command="" file="/Users/craig/Desktop/test/ScribusIntel.app/Contents/share/scribus//editorconfig/500_povray.xml" />

or just not use absolute paths

Craig

Herm

2009-04-18 11:21

reporter   ~0021549

Fixed in r13404. Only the filename but no longer the pathname is stored for the default config-files.

Issue History

Date Modified Username Field Change
2008-09-01 16:27 ale New Issue
2008-09-01 18:21 cbradney Note Added: 0020185
2008-09-02 07:14 ale Note Added: 0020188
2009-02-12 21:45 cbradney Status new => assigned
2009-02-12 21:45 cbradney Assigned To => Herm
2009-02-12 21:46 cbradney Note Added: 0021119
2009-02-13 00:23 Herm Note Added: 0021121
2009-03-10 22:15 cbradney Note Added: 0021278
2009-04-05 22:37 mhanski Relationship added child of 0007647
2009-04-18 11:21 Herm Note Added: 0021549
2009-04-18 11:21 Herm Status assigned => resolved
2009-04-18 11:21 Herm Fixed in Version => 1.3.5svn
2009-04-18 11:21 Herm Resolution open => fixed
2009-04-19 20:59 cbradney Status resolved => closed
2014-10-08 18:37 Kunda Category Mac OS => OS-MacOSX