Critical bug on Fedora 30 / Ubuntu 18.04 when using Wayland
Hello everyone,
Inkscape 1.0a isn't usable at all for me at the moment on Linux when running it under Wayland; it appears to be missing most of the mouse events or something. I cannot draw even the simplest geometry! I haven't figured out how to make a screencast that shows the mousepointer, but maybe that's another Wayland issue ;-). Can't show it to you because of this, but it's really bad.
I don't recall any reports about this and cannot find anything in the Gitlab issues either, but surely others must be experiencing this too... Unless everyone else is still on Xorg. I've reproduced this on both Fedora 30, with current trunk, as well as on Ubuntu Gnome 18.04.2, using the inkscape-trunk PPA. When I use Xorg, the problem disappears, on both distros. This is rather problematic though, because all (?) linux distros that have gnome also have Wayland enabled by default these days.
Any pointers? A bug report maybe? Otherwise I will file one myself, and start some debugging.
Best regards,
Diederik
On Wed, 2019-04-24 at 19:37 +0200, Diederik van Lierop wrote:
Hello everyone,
Inkscape 1.0a isn't usable at all for me at the moment on Linux when running it under Wayland; it appears to be missing most of the mouse events or something. I cannot draw even the simplest geometry! I haven't figured out how to make a screencast that shows the mousepointer, but maybe that's another Wayland issue ;-). Can't show it to you because of this, but it's really bad.
I don't recall any reports about this and cannot find anything in the Gitlab issues either, but surely others must be experiencing this too... Unless everyone else is still on Xorg. I've reproduced this on both Fedora 30, with current trunk, as well as on Ubuntu Gnome 18.04.2, using the inkscape-trunk PPA. When I use Xorg, the problem disappears, on both distros. This is rather problematic though, because all (?) linux distros that have gnome also have Wayland enabled by default these days.
Any pointers? A bug report maybe? Otherwise I will file one myself, and start some debugging.
I use master/trunk with Wayland on Fedora 29 without too many problems. The one thing that doesn't work is the "Gnome docking library" (I have a long term plan to replace it).
Tav
Best regards,
Diederik
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On Wed, Apr 24, 2019 at 07:37:44PM +0200, Diederik van Lierop wrote:
Hello everyone,
Inkscape 1.0a isn't usable at all for me at the moment on Linux when running it under Wayland; it appears to be missing most of the mouse events or something. I cannot draw even the simplest geometry! I haven't figured out how to make a screencast that shows the mousepointer, but maybe that's another Wayland issue ;-). Can't show it to you because of this, but it's really bad.
As Tav mentioned, he's tested Inkscape on Wayland. I'm not aware anyone else has.
I don't recall any reports about this and cannot find anything in the Gitlab issues either, but surely others must be experiencing this too... Unless everyone else is still on Xorg. I've reproduced this on both Fedora 30, with current trunk, as well as on Ubuntu Gnome 18.04.2, using the inkscape-trunk PPA. When I use Xorg, the problem disappears, on both distros. This is rather problematic though, because all (?) linux distros that have gnome also have Wayland enabled by default these days.
Ubuntu does not have Wayland enabled by default. Presumably same with most Ubu-derivs. Dunno about Debian.
Any pointers? A bug report maybe? Otherwise I will file one myself, and start some debugging.
Yes, bug reports would be helpful. File them at https://inkscape.org/report
I've not been running across many Wayland bug reports so far, other than what Tav's mentioned, although I'm just skimming mostly and it's possible I've just overlooked them. But I don't think you'd be duplicating efforts filing new bugs. Any work you can do to narrow down what's going on, even speculatively, can be handy once someone gets a chance to look.
Bryce
Best regards,
Diederik
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Thanks Bryce, Tav!
On 4/24/19 9:10 PM, Bryce Harrington wrote:
Ubuntu does not have Wayland enabled by default. Presumably same with most Ubu-derivs. Dunno about Debian.
That's the catch, I'm using the Ubuntu GNOME spin. I should have stayed middle of the road ;-). Debian 10, which is likely going to be released in a few weeks, will also default to Wayland.
Any pointers? A bug report maybe? Otherwise I will file one myself, and start some debugging.
Yes, bug reports would be helpful. File them at https://inkscape.org/report
Done: https://gitlab.com/inkscape/inkscape/issues/221
I've included a short movie that shows the problem.
Best regards,
Diederik
On 4/24/19 10:37 PM, Diederik van Lierop wrote:
I've found a rather simple fix for this issue: changing a single parameter in gdk_seat_grab() from FALSE to TRUE. See the bug report for more details. Could someone who's not using Gnome3 test this on his/her machine, to see if nothing breaks? I can only test with Gnome3, and it works perfectly for me now, regardless of whether I use Xorg or Wayland. I'm not completely sure about the extent of this, so some testing or advice would be helpful. I don't want to break master by bluntly committing.
Best regards,
Diederik
participants (3)
-
Bryce Harrington
-
Diederik van Lierop
-
Tavmjong Bah