From Fedora Project Wiki
(Update)
m
Line 5: Line 5:
 
<!-- A sentence or two summarizing what this change is and what it will do. This information is used for the overall changeset summary page for each release.  
 
<!-- A sentence or two summarizing what this change is and what it will do. This information is used for the overall changeset summary page for each release.  
 
Note that motivation for the change should be in the Motivation section below, and this part should answer the question "What?" rather than "Why?". -->
 
Note that motivation for the change should be in the Motivation section below, and this part should answer the question "What?" rather than "Why?". -->
Qt applications are going to run natively on Gnome Wayland session and won't use XCB plugin by default. The XCB plugin can still be used when set using '''QT_QPA_PLATFORM''' variable or using '''app -platform xcb''' option. Other desktop environments already run Qt applications natively on Wayland. This change also includes new client-side window decorations to match Gnome Adwaita theme.  
+
Make Qt applications to run natively on Gnome Wayland session, using the Qt Wayland platform plugin instead of the XCB plugin which is used for X11/XWayland. Other desktop environments already run natively on Wayland sessions, only Gnome is excluded by Qt.
  
 
== Owner ==
 
== Owner ==

Revision as of 08:24, 26 June 2019

Qt Wayland By Default On Gnome

Summary

Make Qt applications to run natively on Gnome Wayland session, using the Qt Wayland platform plugin instead of the XCB plugin which is used for X11/XWayland. Other desktop environments already run natively on Wayland sessions, only Gnome is excluded by Qt.

Owner

  • Name: Jan Grulich
  • Email: <jgrulich@redhat.com>
  • Release notes owner:
  • Product: Spins / Workstation
  • Responsible WG: Desktop

Current status

  • Targeted release: Fedora 31
  • Last updated: 2019-06-26
  • Tracker bug:
  • Release notes tracker:

Detailed Description

Qt Wayland plugin has been available for a long time, but it hasn't been in condition where it could be enabled by default. With Qt 5.12 the state of the Wayland plugin is much better and it's becoming more and more reliable.

Benefit to Fedora

Qt applications running with the wayland plugin run generally faster and smoother on Wayland enabled sessions like Gnome Wayland and better support HiDPI displays (respects desktop scale) .

Scope

  • Proposal owners:
  1. Modify Qt 5 (qt5-qtbase) to not exclude Gnome when deciding whether to use the wayland platform plugin
  2. Update QGnomePlatform with upcoming upstream release including window decorations
  • Other developers:
  1. Test and watch for regressions.
  • Policies and guidelines: N/A (not a System Wide Change)
  • Trademark approval: N/A (not needed for this Change)

Upgrade/compatibility impact

N/A (not a System Wide Change)

How To Test

N/A (not a System Wide Change)

Run any Qt application on Gnome Wayland session and check any issues you may see.

User Experience

  • Smoother font rendering compared to Qt applications using XCB plugin
  • Honor display scale, better user experience on HiDPI and semi-HiDPI desktops.


Dependencies

N/A (not a System Wide Change)

Contingency Plan

  • Contingency mechanism: Switch back default X11 backend.
  • Contingency deadline: Beta Freeze
  • Blocks release? No
  • Blocks product? product No

Documentation

N/A (not a System Wide Change)

Release Notes