Indicator Session improperly detecting non-Unity sessions

Bug #1245490 reported by Rüdiger Kupper
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Gala
Fix Released
Critical
Tom Beckmann
Plank
Triaged
Medium
Unassigned
Session Menu
Incomplete
Undecided
Unassigned
indicator-session (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

When using plank with gnome-session-fallback, I cannot log out via the system indicator while plank is running. When I exit plank, I can log out again.
This happens both with metacity and compiz (gnome-session-fallback and gnome-session-fallback-compiz respectively).

Please fix, since plank is a good replacement for the unity launcher an machines that cannot run unity, but use the fallback session. Thank you in advance!

Plank version 0.4.0.922
Distro: Ubuntu saucy

Output of plank -d:
kup@reinhold:~$ plank -d
[INFO 14:26:57.888602] [AbstractMain:175] Plank version: 0.4.0.922
[INFO 14:26:57.888682] [AbstractMain:176] Kernel version: 3.11.0-12-generic
[INFO 14:26:57.888761] [AbstractMain:177] GLib version: 2.38.0
[INFO 14:26:57.888828] [AbstractMain:178] GTK+ version: 3.8.4
[INFO 14:26:57.888885] [AbstractMain:179] Wnck version: 3.4.7
[INFO 14:26:57.888945] [AbstractMain:180] Cairo version: 1.12.16
[INFO 14:26:57.889003] [AbstractMain:181] Pango version: 1.32.5
[INFO 14:26:57.949313] [WindowControl:61] Window-manager: Metacity
[DEBUG 14:26:57.951988] [Preferences:328] Loading preferences from file '/home/kup/.config/plank/dock1/settings'
[DEBUG 14:26:57.955747] [ApplicationDockItemProvider:245] Loading dock items from '/home/kup/.config/plank/dock1/launchers'
[DEBUG 14:26:57.956328] [Preferences:328] Loading preferences from file '/home/kup/.config/plank/dock1/launchers/firefox.dockitem'
[DEBUG 14:26:57.957429] [Preferences:328] Loading preferences from file '/home/kup/.config/plank/dock1/launchers/gedit.dockitem'
[DEBUG 14:26:57.958207] [Preferences:328] Loading preferences from file '/home/kup/.config/plank/dock1/launchers/nautilus.dockitem'
[DEBUG 14:26:58.035929] [ApplicationDockItemProvider:81] Unity: Initalizing LauncherEntry support
[WARN 14:26:58.056058] [Preferences:184] '/usr/share/plank/themes/Default/dock.theme' is read-only!
[DEBUG 14:26:58.056121] [Preferences:328] Loading preferences from file '/usr/share/plank/themes/Default/dock.theme'
[WARN 14:26:58.104174] [LIBDBUSMENU-GLIB] Unable to get session bus: Vorgang wurde abgebrochen
[DEBUG 14:26:58.106839] [DockWindow:222] dock window loaded

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: plank 0.4.0+bzr922-0ubuntu1~13.10~ricotz1 [origin: LP-PPA-ricotz-docky]
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
CrashDB: plank
Date: Mon Oct 28 14:20:49 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-04-12 (198 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
SourcePackage: plank
SuspiciousXErrors.txt:

ThirdParty: True
UpgradeStatus: Upgraded to saucy on 2013-10-19 (9 days ago)

Related branches

Revision history for this message
Rüdiger Kupper (ruediger.kupper) wrote :
Revision history for this message
Rico Tzschichholz (ricotz) wrote :

OK, this is indicator-session thinking unity running since it simply looks for "com.canonical.unity" DBus which plank provides to activate the libunity support of applications.

Changed in plank:
status: New → Triaged
Changed in pantheon-dock:
milestone: none → isis-beta1
status: New → Triaged
Changed in pantheon-dock:
importance: Undecided → Medium
Changed in plank:
importance: Undecided → Medium
Revision history for this message
Rene Arts (renearts) wrote :

I'm using plank in a 'normal' Unity session and cannot shutdown when plank is running. Curious thing though is that when I have suspended (which is possible) my pc once, I can logout/shutdown again.

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

The problem is plank needs to provide a dummy "com.canonical.Unity" dbus for having libunity functionality enabled. The session-indicator only looks for the presence of that dbus service and will try to use it for showing the shutdown/logout dialogs without falling back on its zenity implementation.

Changed in pantheon-dock:
importance: Medium → Critical
Revision history for this message
Chris H (harsesus) wrote :

I found a workaround, until a fix is rolled out. If you don't run it as a startup app, but rather load it after login, it doesn't break logout/shutdown at least on my Ubuntu 13.10 / Unity setup.

Revision history for this message
Rene Arts (renearts) wrote :

I'm closing it manually (ALT-F2 -> killall plank) before shutting down. Works as well :)

Revision history for this message
Robert Dyer (psybers) wrote :

You don't need to killall it. You can CTRL+right-click on it and choose Quit.

Revision history for this message
Rene Arts (renearts) wrote :

Though I do as I have hidden the Plank icon as it is in eOS, looks a lot better to me :)

Revision history for this message
Robert Dyer (psybers) wrote :

You didn't read my message correctly. CTRL plus right-click *anywhere* on the dock to get Plank's menu. You don't need a Plank item on the dock.

Revision history for this message
Rene Arts (renearts) wrote :

I'll have a look tomorrow at work (that's where the bug arises for me, eOS at home works fine, though CTRL+right click doesn't work here).
On the other hand the workaround is not that relevant as it should just work, also with Gnome Fallback, Unity and Mate :)

Chris H (harsesus)
Changed in pantheon-dock:
status: Triaged → Opinion
Revision history for this message
Rico Tzschichholz (ricotz) wrote :

@harsesus: Don't play with the bug status without any reason.

Changed in pantheon-dock:
status: Opinion → Triaged
summary: - plank prevents logout in gnome fallback session
+ Indicator Session improperly detecting Unity session
summary: - Indicator Session improperly detecting Unity session
+ Indicator Session improperly detecting non-Unity sessions
Cody Garver (codygarver)
affects: pantheon-dock → gala
Changed in gala:
assignee: nobody → Tom Beckmann (tombeckmann)
milestone: isis-beta1 → none
status: Triaged → Fix Released
milestone: none → isis-beta1
Revision history for this message
Rüdiger Kupper (ruediger.kupper) wrote :

Is there any progress on this bug? Can it be fixed in plank at all, or is it a bug of session-indicator?

Revision history for this message
Charles Kerr (charlesk) wrote :

Could someone using Plank test whether or not this is fixed by the patch that was recently landed in trunk for bug #1296814?

I suspect <http://bazaar.launchpad.net/~charlesk/indicator-session/lp-1296814-logout-using-unity-session/revision/450> and <http://bazaar.launchpad.net/~charlesk/indicator-session/lp-1296814-logout-using-unity-session/revision/449> might fix this, as they improve i-session's testing for errors when it tries to invoke a logout confirmation prompt.

Changed in indicator-session:
status: New → Incomplete
Revision history for this message
Chris H (harsesus) wrote :

I am running Plank 0.6.1.1050 and Ubuntu 14.04. DE is Unity. Problem is still occuring

Ted Gould (ted)
Changed in indicator-session (Ubuntu):
status: New → Incomplete
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.