lastfm cancels logout when not "minimized to tray"

Bug #757794 reported by Daniel Hahler
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lastfm (Debian)
Fix Released
Unknown
lastfm (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: lastfm

When lastfm is running and is not minimized to the tray/notification area, a user request to logout (or shutdown) gets canceled, preventing the user from logging out.
In that case lastfm will get "closed" and moved to the notification area (not visible in Unity).
When lastfm is minimized to the notification area, a logout attempt will succeed. This might be the second one, or the first one, if lastfm was "minimized to the tray" already.

When using KDE/Kubuntu there's a notification about it (similar to "Last.fm canceled logout"), but when using Unity, there is no hint about why the logout does not work.

I do not know how this aborting process works, but I see no reason for why the user should be prevented from logging out just because music is being played in the background.

Reported in the upstream forum at: http://www.last.fm/forum/34905/_/678287

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: lastfm 1:1.5.4.27091+dfsg-2ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Mon Apr 11 19:26:11 2011
ProcEnviron:
 LANGUAGE=de_DE:en
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/zsh
SourcePackage: lastfm
UpgradeStatus: Upgraded to natty on 2011-04-02 (9 days ago)

Revision history for this message
Daniel Hahler (blueyed) wrote :
Daniel Hahler (blueyed)
description: updated
description: updated
Daniel Hahler (blueyed)
description: updated
summary: - lastfm cancels logout
+ lastfm cancels logout when not "minimized to try"
Daniel Hahler (blueyed)
description: updated
description: updated
Daniel Hahler (blueyed)
summary: - lastfm cancels logout when not "minimized to try"
+ lastfm cancels logout when not "minimized to tray"
Revision history for this message
Aaron Murray (xornot) wrote :

If you run last.fm and try to log out, you can't. When you hit log out, last.fm goes to tray and you do not log out. If you try to log out again (once last.fm is in the tray), then you are able to log out.

Changed in lastfm (Ubuntu):
status: New → Confirmed
Daniel Hahler (blueyed)
Changed in lastfm (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
Revision history for this message
Mike Maslenkin (mike-maslenkin) wrote :

I've encountered same problem with last.fm (1.5.4) got
from svn://svn.audioscrobbler.net/clientside/Last.fm/tags/1.5.4.

The problem occurs during logout from KDE session.
Because of QApplication::commitData() is not implemented,
last.fm player breaks session logout process at first time.
Here is patch attached to fix this problem.
Would be great if it will be fixed.
Than you.

Revision history for this message
Mike Maslenkin (mike-maslenkin) wrote :
tags: added: patch
Daniel T Chen (crimsun)
tags: added: patch-forwarded-debian
removed: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lastfm - 1:1.5.4.27091+dfsg-6ubuntu1

---------------
lastfm (1:1.5.4.27091+dfsg-6ubuntu1) oneiric; urgency=low

  * Apply patch from Mike Maslenkin resolving the last.fm player
    preventing logging out from a KDE session. (LP: #757794)
 -- Daniel T Chen <email address hidden> Thu, 04 Aug 2011 19:20:02 -0400

Changed in lastfm (Ubuntu):
status: Triaged → Fix Released
Changed in lastfm (Debian):
status: Unknown → 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.