OpenLP creates two directories instead of one

Bug #596822 reported by Andreas Preikschat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Medium
Raoul Snyman

Bug Description

Hi!

OpenLP creates two directories in ~/.config, namely "OpenLP" and "openlp". In the directory "OpenLP" is the file OpenLP.conf stored and in "openlp" the file openlp.log.

(As comparison the directory in ~/.local/share/.local/share is spelled "openlp".)

Revision history for this message
Jon Tibble (meths) wrote :

QSettings uses OrganisationName and ApplicationName which are both set to OpenLP but the manual directory entries in AppLocation are all openlp.

AppLocation code cannot use the QSettings variables as the code is currently because AppLocation is called before the QSettings variables are set.

Do we just want a simple s/openlp/OpenLP/ in openlp/core/utils/__init__.py? This would need to be announced so current testers can decide to rename dirs or have to move data after new dirs have been created.

Changed in openlp:
status: New → Confirmed
Revision history for this message
Raoul Snyman (raoul-snyman) wrote :

I think currently the only thing that is in that directory is the log file, which should actually be changed to the XDG "cache" directory.

Changed in openlp:
importance: Undecided → Medium
assignee: nobody → Raoul Snyman (raoul-snyman)
milestone: none → 1.9.2
Jon Tibble (meths)
Changed in openlp:
status: Confirmed → Fix Committed
Jon Tibble (meths)
Changed in openlp:
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

Remote bug watches

Bug watches keep track of this bug in other bug trackers.