Setting Import fails to find General section

Bug #1094198 reported by Tim Bentley
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenLP
Status tracked in Trunk
2.0
Fix Released
High
Jonathan Corwin
Trunk
Fix Released
Critical
Jonathan Corwin

Bug Description

Export you settings file and you get a nice text file but
[General] is exported as [%General]
This blocks the import from working as it does not find a [General] section,

This exists in 2.0 for the export

Related branches

Tim Bentley (trb143)
summary: - Setting Import files to find General section
+ Setting Import fails to find General section
Changed in openlp:
status: New → Confirmed
importance: Undecided → Critical
Revision history for this message
Jonathan Corwin (j-corwin) wrote :

The [%General] group name is actually correct. 'general' is a special group as far as QSettings is concerned, so it changes it to %General and will change it back on load.

The problem (in my case) is a 'custom/display footer' setting inside the '[Custom]' group which won't load. I think this was from an old bug with this setting long since fixed, but the setting still exists in my registry.

Changed in openlp:
assignee: nobody → Jonathan Corwin (j-corwin)
Changed in openlp:
status: Confirmed → Fix Committed
Revision history for this message
matysek (mzibricky) wrote :

I tested export/import of settings on osx. It works. I just wonder that in the exported file there is [General] section present twice. Once with '%' and once without it:

-------------------------

[SettingsImport]
Make_Changes=At_Own_RISK
type=OpenLP_settings_export
file_date_created=2013-01-02 23:34
version=2.0-bzr2125

[General]
AppleAntiAliasingThreshold=4
AppleCollationOrder=cs
AppleFontSmoothing=0
AppleID=
AppleKeyboardUIMode=1
AppleLanguages=cs, en, ja, fr, de, es, it, pt, pt-PT, nl, sv, nb, da, fi, ru, pl, zh-Hans, zh-Hant, ko, ar, hu, tr, ca, el, he, hr, ro, sk, th, uk
AppleLocale=en_CZ
AppleMeasurementUnits=Centimeters
AppleMetricUnits=true
AppleMiniaturizeOnDoubleClick=false
AppleScrollAnimationEnabled=true
AppleShowAllExtensions=true
Country=CZ
MultipleSessionEnabled=true
NSNavPanelFileLastListModeForOpenModeKey=2
NSNavPanelFileLastListModeForSaveModeKey=1
NSNavPanelFileListModeForOpenMode2=2
NSNavPanelFileListModeForSaveMode2=1
NSNavRecentPlaces=~/Documents/openlp/20_trunk, ~/Documents/pyinstaller/gitrepo/support/loader/Darwin-32bit, ~/Documents/openlp/trunk/dist/OpenLP.app/Contents/MacOS, ~/Movies, /Library/Application Support/Apple/iChat Icons
NSPreferredSpellServerLanguage=en
NSPreferredWebServices=@Variant(\0\0\0\b\0\0\0\x1\0\0\0<\0N\0S\0W\0\x65\0\x62\0S\0\x65\0r\0v\0i\0\x63\0\x65\0s\0P\0r\0o\0v\0i\0\x64\0\x65\0r\0W\0\x65\0\x62\0S\0\x65\0\x61\0r\0\x63\0h\0\0\0\b\0\0\0\x2\0\0\0(\0N\0S\0P\0r\0o\0v\0i\0\x64\0\x65\0r\0I\0\x64\0\x65\0n\0t\0i\0\x66\0i\0\x65\0r\0\0\0\n\0\0\0\x1c\0\x63\0o\0m\0.\0g\0o\0o\0g\0l\0\x65\0.\0w\0w\0w\0\0\0(\0N\0S\0\x44\0\x65\0\x66\0\x61\0u\0l\0t\0\x44\0i\0s\0p\0l\0\x61\0y\0N\0\x61\0m\0\x65\0\0\0\n\0\0\0\f\0G\0o\0o\0g\0l\0\x65)
NavPanelFileListModeForOpenMode=2
NavPanelFileListModeForSaveMode=1

[%General]
monitor=0

[advanced]
default color=#ffffff
default image=:/graphics/openlp-splash-screen.png

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.