Preferences are not saved and are reset to default values after restart

Bug #1057696 reported by Thomas Leberbauer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nuvola Apps Runtime (Nuvola Player)
Fix Released
Critical
Unassigned

Bug Description

1. Open nuvola-player
2. Go to Service -> Preferences
3. Change for example the "autostart playback on start" setting to checked
4. Close Preferences
5. Close nuvola-player
6. Repeat (1) and (2)
==> Setting is back to unchecked

Writing a ~/.config/nuvolaplayer/main.conf file lets me set preferences on my system. The file is not overwritten with changed preferences when nuvola-player is closed.

Revision history for this message
Thomas Leberbauer (slosd) wrote :
description: updated
summary: - Preferences are not saved and are reset to default values afte restart
+ Preferences are not saved and are reset to default values after restart
description: updated
Revision history for this message
Jiří Janoušek (fenryxo) wrote : Re: [Bug 1057696] Re: Preferences are not saved and are reset to default values after restart

Thanks for taking the time to report this bug. You have to manually
close Preferences dialog to save preferences and then quit Nuvola
Player.

  status triaged
  importance low
  milestone 2.0.1

Changed in nuvola-player:
importance: Undecided → Low
milestone: none → 2.0.1
status: New → Triaged
Revision history for this message
Thomas Leberbauer (slosd) wrote :

What do you mean by "manually close Preferences dialog"?
I did not mention to close the Preferences window before closing nuvola-player, in case you mean that.
It does also happen when I click "close" in the dialog, though.

description: updated
Revision history for this message
Jiří Janoušek (fenryxo) wrote :

On Fri, Sep 28, 2012 at 11:33 PM, Thomas Leberbauer <email address hidden> wrote:
> What do you mean by "manually close Preferences dialog"?
> I did not mention to close the Preferences window before closing nuvola-player, in case you mean that.
> It does also happen when I click "close" in the dialog, though.

Sorry, my fault. I forgot to ask what distribution do you use and this
is a key information for reproduction of this bug. I assumed you use
Ubuntu and I was not able to reproduce it, because stable
Debian/Ubuntu builds or development builds save configuration when
close button of the Preferences dialog is clicked, but this code is
removed if you build Nuvola Player without debug symbols.

As a temporary workaround, you can build Nuvola Player with a flag
--debug-symbols.

  importance critical

Changed in nuvola-player:
importance: Low → Critical
Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Fix committed to lp:nuvola-player as r574, lp:nuvola-player/2.0.x as r573, and lp:nuvola-player/1.1.x as r537.

Changed in nuvola-player:
status: Triaged → Fix Committed
Revision history for this message
Thomas Leberbauer (slosd) wrote :

I use ArchLinux.

--debug-symbols does the trick. Thanks for the hint and the fix.

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Fix released in Nuvola Player 1.1.1 and 2.0.1.

Changed in nuvola-player:
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.