From Fedora Project Wiki
(Created a new page)
 
(Update)
Line 1: Line 1:
 
<!-- The actual name of your proposed change page should look something like: Changes/Your_Change_Proposal_Name.  This keeps all change proposals in the same namespace -->
 
<!-- The actual name of your proposed change page should look something like: Changes/Your_Change_Proposal_Name.  This keeps all change proposals in the same namespace -->
= Firefox Wayland By Default On Gnome <!-- The name of your change proposal --> =
+
= Qt Wayland By Default On Gnome <!-- The name of your change proposal --> =
  
 
== Summary ==
 
== Summary ==
 
<!-- 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?". -->
Firefox is going to run natively on Gnome Wayland session and won't use XWayland/X11 Gtk+ backend by default. The XWayland/X11 Gtk+ backend can be still used via additional firefox-x11 package. This change affects Gnome only and won't be enabled for other Wayland compositors (KDE Plasma, Sway).
+
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.  
  
 
== Owner ==
 
== Owner ==
Line 12: Line 12:
 
This should link to your home wiki page so we know who you are.  
 
This should link to your home wiki page so we know who you are.  
 
-->
 
-->
* Name: [[User:stransky| Martin Stransky]]
+
* Name: [[User:jgrulich| Jan Grulich]]
 
<!-- Include you email address that you can be reached should people want to contact you about helping with your change, status is requested, or technical issues need to be resolved. If the change proposal is owned by a SIG, please also add a primary contact person. -->
 
<!-- Include you email address that you can be reached should people want to contact you about helping with your change, status is requested, or technical issues need to be resolved. If the change proposal is owned by a SIG, please also add a primary contact person. -->
* Email: <stransky@redhat.com>
+
* Email: <jgrulich@redhat.com>
 
* Release notes owner: <!--- To be assigned by docs team [[User:FASAccountName| Release notes owner name]] <email address> -->
 
* Release notes owner: <!--- To be assigned by docs team [[User:FASAccountName| Release notes owner name]] <email address> -->
 
<!--- UNCOMMENT only for Changes with assigned Shepherd (by FESCo)
 
<!--- UNCOMMENT only for Changes with assigned Shepherd (by FESCo)
Line 34: Line 34:
 
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
 
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
 
-->
 
-->
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1678453 #1678453]
+
* Tracker bug:  
* Release notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/301 #301]
+
* Release notes tracker:  
  
 
== Detailed Description ==
 
== Detailed Description ==
 
<!-- Expand on the summary, if appropriate.  A couple sentences suffices to explain the goal, but the more details you can provide the better. -->
 
<!-- Expand on the summary, if appropriate.  A couple sentences suffices to explain the goal, but the more details you can provide the better. -->
  
Firefox with native Wayland backend has been available for last two Fedora releases as an optional package. It grown over the time and we can deploy it now as a default to bring all Wayland benefits to Fedora users.  
+
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 ==
 
== Benefit to Fedora ==
Running Firefox natively on Wayland is generally faster and smoother on Wayland enabled sessions like Gnome Wayland and better supports HiDPI displays (respects desktop scale) .
+
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 ==
 
== Scope ==
* Proposal owners: Firefox already uses Wayland as a default backend on Fedora 30 / Gnoma Wayland session.
+
* Proposal owners:
 +
# Modify Qt 5 (qt5-qtbase) to not exclude Gnome when deciding whether to use the wayland platform plugin
 +
# Update QGnomePlatform with upcoming upstream release including window decorations
  
* Other developers: N/A (not a System Wide Change)
+
* Other developers:
 +
# Test and watch for regressions.
  
 
* Release engineering: [https://pagure.io/releng/issues #Releng issue number] (a check of an impact with Release Engineering is needed) <!-- REQUIRED FOR SYSTEM WIDE AS WELL AS FOR SELF CONTAINED CHANGES -->
 
* Release engineering: [https://pagure.io/releng/issues #Releng issue number] (a check of an impact with Release Engineering is needed) <!-- REQUIRED FOR SYSTEM WIDE AS WELL AS FOR SELF CONTAINED CHANGES -->
Line 86: Line 89:
 
N/A (not a System Wide Change)  
 
N/A (not a System Wide Change)  
  
Run Firefox on Gnome Wayland session and check any issues you may see.
+
Run any Qt application on Gnome Wayland session and check any issues you may see.
  
 
== User Experience ==
 
== User Experience ==
* Faster Firefox run on Gnome Wayland session
+
* Smoother font rendering compared to Qt applications using XCB plugin
* Smoother font rendering compared to non-Wayland Firefox version
 
 
* Honor display scale, better user experience on HiDPI and semi-HiDPI desktops.
 
* Honor display scale, better user experience on HiDPI and semi-HiDPI desktops.
  
Line 119: Line 121:
  
 
== Documentation ==
 
== Documentation ==
* Mozilla Firefox Wayland Bug tracker: https://bugzilla.mozilla.org/show_bug.cgi?id=635134
 
* Mozilla release calendar:  https://wiki.mozilla.org/RapidRelease/Calendar
 
  
 
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
 
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->

Revision as of 07:34, 26 June 2019

Qt Wayland By Default On Gnome

Summary

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.

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