Plank does not support Wayland.

Bug #1632841 reported by Ma Jiehong
58
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Plank
New
Undecided
Unassigned

Bug Description

Since today (2016-10-12), Gnome updated to 3.22 on Archlinux, and it uses wayland by default.

As a consequence, Plank does no longer start, but shows the following error message:

[WARN 20:08:37.244329] [Environment:161] XDG_SESSION_CLASS not set in this environment!
[CRITICAL 20:08:37.244368] [AbstractMain:257] Only X11 environments are supported.

Plank version is 0.11.2.
Distribution is Archlinux.
Gnome-shell 3.22 is used.
xorg-server 1.18.4.
Intel graphics (haswell).

Revision history for this message
Ma Jiehong (ma-jiehong) wrote :

Well, workaround is to start gnome on xorg instead.

Still, this will is blocking on wayland.

Revision history for this message
fidel (el-fidel) wrote :

I can confirm the problem after upgrading from Fedora 24 to 25.

Revision history for this message
Ma Jiehong (ma-jiehong) wrote :

Still happening as of today.

Is there a way to have plank start with xwayland, so minimal changes would be required, if any, to have plank keep on working on wayland using X?

Revision history for this message
Tomáš Jakl (tomasjakll) wrote :

I can confirm that in version 0.11.4 it's still not working. It worked when I installed it, but after some reboots stopped with the same error explained in the bug report.

archlinux
gnome 3.24.1

Revision history for this message
Robbi Nespu (robbinespu) wrote :

I also face the same problem after activate bumblebee on my laptop

$ plank -d
[INFO 20:56:00.674607] [AbstractMain:229] Plank version: 0.11.4
[INFO 20:56:00.674667] [AbstractMain:230] Kernel version: 4.15.3-300.fc27.x86_64
[INFO 20:56:00.674705] [AbstractMain:231] GLib version: 2.54.3 (2.52.1)
[INFO 20:56:00.674742] [AbstractMain:234] GTK+ version: 3.22.26 (3.22.12)
[INFO 20:56:00.674779] [AbstractMain:237] Wnck version: 3.20.1
[INFO 20:56:00.674809] [AbstractMain:238] Cairo version: 1.15.10
[INFO 20:56:00.674839] [AbstractMain:239] Pango version: 1.40.13
[INFO 20:56:00.674878] [AbstractMain:241] + Cairo/Gtk+ HiDPI support enabled
[INFO 20:56:00.674916] [AbstractMain:244] + Dynamic Quicklists support enabled
[INFO 20:56:00.674950] [AbstractMain:247] + XInput Barriers support enabled
[WARN 20:56:00.674991] [Environment:161] XDG_SESSION_CLASS not set in this environment!
[CRITICAL 20:56:00.675039] [AbstractMain:257] Only X11 environments are supported.

$ cat /etc/redhat-release
Fedora release 27 (Twenty Seven)

$ gnome-shell --version
GNOME Shell 3.26.2

Revision history for this message
Marco Marzetti (marco-lamehost) wrote :

Hello,

I don't mean to be pushy, but this bug is more than 2 years and a half old now and Wayland support is still missing on Plank.
Is there any plan to add it?

Thank you

Regards

Revision history for this message
Nico (nicohood) wrote :

Any updates yet?

Revision history for this message
Corentin (skoh) wrote :

Any updates in April? Ubuntu 21.04 will run on Wayland. Does it mean we won't be able to use Plank anymore?

Revision history for this message
johnblommers (john-ey) wrote :

Just indicating that this is still an issue on PopOS (based on Ubuntu 22.04). Launch Plank and we're clearly told with an error message that Wayland support isn't there and Plank will terminate.

For now Xorg is the way to go. I'd like to move to Wayland and let XWayland handle Plank so for now I'll stay with Xorg.

James Lewis (james-fsck)
summary: - Plank crash on Gnome 3.22, as wayland is default
+ Plank does not support Wayland.
Revision history for this message
James Lewis (james-fsck) wrote :

Falling back to XOrg is no longer a viable solution as you cannot do that without sacrificing functionality such as touch pad gestures etc...

Confirmed still an issue on Ubuntu Lunar (23.04) development version as of Dec 15 2022.

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.