QtCreator crashes when opening a filechooser under wayland
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtbase-opensource-src (Debian) |
Fix Released
|
Unknown
|
|||
qtbase-opensource-src (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Zesty |
Fix Released
|
Medium
|
Unassigned |
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-
== Upstream ==
There is a qt bug here "GTK+ dialogs crash on Wayland" - https:/
With what looks like a simple code change that Ubuntu could carry as a patch? https:/
Fedora appear to have fixed the bug in Fedora 25 - https:/
== Debug output ==
When this occurs in the console you see the following:
(qtcreator:16534): Gdk-WARNING **: /build/
Segmentation fault (core dumped)
When running under GDB: http://
$ apt-cache policy qtcreator
qtcreator:
Installed: 4.1.0-3ubuntu1
Candidate: 4.1.0-3ubuntu1
Version table:
*** 4.1.0-3ubuntu1 500
500 http://
100 /var/lib/
$ lsb_release -rd
Description: Ubuntu 17.04
Release: 17.04
affects: | qtcreator (Ubuntu) → qtbase-opensource-src (Ubuntu) |
Changed in qtbase-opensource-src (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
tags: | added: wayland wayland-session zesty |
Changed in qtbase-opensource-src (Ubuntu Zesty): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in qtbase-opensource-src (Ubuntu): | |
status: | Triaged → Fix Committed |
description: | updated |
Changed in qtbase-opensource-src (Debian): | |
status: | Unknown → Fix Released |
tags: | removed: wayland-session |
Thank you for taking the time to report this bug and help make Ubuntu better.
I have uploaded a fix for this bug to the unapproved queue for Ubuntu 17.04 "zesty". It will need to be manually approved by a member of the Ubuntu Stable Release Updates team before it will be built and made available for testing.