** Changed in: qtbase-opensource-src (Ubuntu)
Status: Triaged => Fix Committed
** Description changed:
- What happened:
+ Impact
+ ======
+ The file chooser dialog app for Qt apps will crash the app when trying to use
the file chooser from a Wayland session such as GNOME on Wayland. GNOME on
Wayland is included by default in Ubuntu GNOME.
+
+ Test Case
+ =========
1) Install Ubuntu 17.04 GNOME
- 2) Ensure you are running a wayland session
+ 2) On the login screen, click the gear button and choose GNOME on Wayland and
log in.
3) Install qtcreator
4) Launch qtcreator
5) Try to do File -> Open File or Project
- 6) Notice that the application crashes
- What I expected to happen:
- At step 6 for a file dialog to appear
+ The file chooser should open without crashing the app
+
+ Regression Potential
+ ====================
+ This fix was included in Qt 5.8. This patch was applied in Debian stretch in
January as part of qtbase-opensource-src 5.7.1+dfsg-3
== Upstream ==
There is a qt bug here "GTK+ dialogs crash on Wayland" -
https://bugreports.qt.io/browse/QTBUG-55583
With what looks like a simple code change that Ubuntu could carry as a patch?
https://codereview.qt-project.org/#/c/179124/
Fedora appear to have fixed the bug in Fedora 25 -
https://bugzilla.redhat.com/show_bug.cgi?id=1403500
-
== Debug output ==
When this occurs in the console you see the following:
(qtcreator:16534): Gdk-WARNING **:
/build/gtk+3.0-qPyWJl/gtk+3.0-3.22.11/./gdk/x11/gdkwindow-x11.c:5573 drawable
is not a native X11 window
Segmentation fault (core dumped)
When running under GDB: http://pastebin.ubuntu.com/25033921/
-
$ apt-cache policy qtcreator
qtcreator:
- Installed: 4.1.0-3ubuntu1
- Candidate: 4.1.0-3ubuntu1
- Version table:
- *** 4.1.0-3ubuntu1 500
- 500 http://gb.archive.ubuntu.com/ubuntu zesty/universe amd64 Packages
- 100 /var/lib/dpkg/status
+ Installed: 4.1.0-3ubuntu1
+ Candidate: 4.1.0-3ubuntu1
+ Version table:
+ *** 4.1.0-3ubuntu1 500
+ 500 http://gb.archive.ubuntu.com/ubuntu zesty/universe amd64 Packages
+ 100 /var/lib/dpkg/status
$ lsb_release -rd
Description: Ubuntu 17.04
Release: 17.04
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1702741
Title:
QtCreator crashes when opening a filechooser under wayland
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1702741/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs