Bug 2174905

Summary: QGnomePlatform does not work on qt6 automatically
Product: [Fedora] Fedora Reporter: kramo <contact>
Component: qgnomeplatformAssignee: Jan Grulich <jgrulich>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: jgrulich, kde-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-11 03:13:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Look of Media Writer by default none

Description kramo 2023-03-02 15:30:57 UTC
Created attachment 1947506 [details]
Look of Media Writer by default

Description of problem:
QGnomePlatform is not used on GNOME by default for qt6 applications. (eg. Media Writer, OBS Studio). Setting QT_QPA_PLATFORMTHEME='gnome' manually does fix the issue.

How reproducible:
Always

Actual results:
Window decorations are inconsistent with the rest of the desktop.

Expected results:
The applications follow the window decorations of the rest of the GNOME desktop.

Additional info:
Works fine for qt5 applications.

Comment 1 kramo 2023-03-02 22:53:41 UTC
The bug seems to be specific to the wayland platform as running an application with QT_QPA_PLATFORM=xcb also resolves the issue.

Comment 2 Fedora Update System 2023-03-05 09:51:40 UTC
FEDORA-2023-2c10dc364e has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-2c10dc364e

Comment 3 Fedora Update System 2023-03-05 09:51:41 UTC
FEDORA-2023-95297fa651 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-95297fa651

Comment 4 Fedora Update System 2023-03-06 02:25:59 UTC
FEDORA-2023-95297fa651 has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-95297fa651

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-03-06 02:35:14 UTC
FEDORA-2023-2c10dc364e has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-2c10dc364e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-2c10dc364e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2023-03-11 03:13:56 UTC
FEDORA-2023-95297fa651 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2023-03-14 00:55:57 UTC
FEDORA-2023-2c10dc364e has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.