[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

RE: [XaraXtreme-dev] 0.7



> > binreloc mechanism not working
> > http://bugzilla.xara.com/show_bug.cgi?id=1427#
> > Any chance you could look at this Alex?
> 
> Actually I bet I know why this is.
> 
> Camelot ONLY uses the binreloc path if one of
> the following are true:
> * It's the first ever launch
> * No path is stored in the preferences
> * The path in the preferences does not exist
> 
> But then when you quit camelot, the path is
> saved in the preferences. So if you run
> once, where the shared directory exists
> (but the filters are absent), this fact
> will be recorded in your preferences,
> and it will use that path for ever more
> (until you delete your preferences, or
> remove the directory concerned).
> 
> I think this logic is slightly broken. The
> path in the preferences should be a MANUAL
> override. If it is there, fine, it should
> use it. But once it has found something on
> disk, it should not SAVE that path in the
> preferences. There's no way to alter this
> preference through the UI so this does
> not make sense.
> 
> Neil - can you confirm deleting your
> preferences makes this work? If so, I
> know how to fix this very simply.

I can't try it easily as I don't have access to the machine I was using
today. But I think you're right. 

It's easy to try:-

1. Make sure you have no xaralx installed anywhere else on your PATH
2. Unpack latest tar archive. 
3. Add the full path to the bin directory to your PATH
4. Delete ~/.xaralx/preferences
5. Run xaralx. If you have multiple options under File, New and can
import SVG then it worked ok. If not, it didn't.

Since last night the tar archive has the right directory structure so
this should work.

I'll try my unbelievably slow VM, but someone else can probably try this
quicker.

If confirmed, then presumably we make it so that we don't update the
preferences file automatically. 

Neil