Save preferences in same folder as is said in the interface

Bug #164159 reported by sander
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

Save preferences in same folder as is said in the interface.

As clarf writes:
'A little request, i always set the option the Preference option: "Save preferences in same folder as program". But the CoccinellaPrefs folder is created one level above coccinella. For example it is saved in C:\IM\CoccinellaPrefs, but coccinella program is in C:\IM\Coccinella Messenger-0.96.3Win. It could be better to have the preferences foldes inside the Coccinella Folder, the it would be C:\IM\Coccinella Messenger-0.96.3Win\CoccinellaPrefs. Thank you.'


sander (s-devrieze)
Changed in coccinella:
assignee: nobody → matsben
importance: Undecided → Medium
Revision history for this message
Mats (matsben) wrote :

I think this was originally my intention but seems I got distracted about the behavior when running from sources. I keep a variable this(appPath) which means:
    # 'appPath' points to folder which contains:
    # Coccinella.tcl if run from sources
    # Coccinella*.exe on Windows
    # Coccinella*.bin on Unix
    # Coccinella*.app on Mac OS X
and when running from sources I have to get one directory level up, but otherwise this(appPath) points exactly to the folder where to put the prefs folder. Untested!

Changed in coccinella:
status: New → Fix Committed
Revision history for this message
Mats (matsben) wrote :

Forgot to say that this will create an incompatibility to previous versions. I wont mess up the code to handle this, it is complicated as it is, but perhaps a FAQ: move custom prefs folder to same folder as program.

Revision history for this message
sander (s-devrieze) wrote : Re: [Bug 164159] Re: Save preferences in same folder as is said in the interface

I don't think a FAQ entry is needed for this. Just add some release
notes to the news post of next release...

Mvg, Sander Devrieze.

sander (s-devrieze)
Changed in coccinella:
milestone: none → 0.96.4
sander (s-devrieze)
Changed in coccinella:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers