ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #07750
[Bug 1702741] Re: QtCreator crashes when opening a filechooser under wayland
This bug was fixed in the package qtbase-opensource-src - 5.7.1+dfsg-
2ubuntu4~1.17.04.1
---------------
qtbase-opensource-src (5.7.1+dfsg-2ubuntu4~1.17.04.1) zesty; urgency=medium
* Backport upstream fix to fix GTK+ file dialog crash on Wayland
(gtkdialogs_wayland.diff; closes: #850746) (LP: #1702741)
-- Jeremy Bicha <jbicha@xxxxxxxxxx> Thu, 06 Jul 2017 15:42:37 -0400
** Changed in: qtbase-opensource-src (Ubuntu Zesty)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1702741
Title:
QtCreator crashes when opening a filechooser under wayland
Status in qtbase-opensource-src package in Ubuntu:
Fix Released
Status in qtbase-opensource-src source package in Zesty:
Fix Released
Status in qtbase-opensource-src package in Debian:
Fix Released
Bug description:
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) 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
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
$ lsb_release -rd
Description: Ubuntu 17.04
Release: 17.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1702741/+subscriptions
References