Bug 2407238

Summary: Fedora Media Writer won't launch in Xfce Fedora 43
Product: [Fedora] Fedora Reporter: Ian Laurie <nixuser>
Component: mediawriterAssignee: Jan Grulich <jgrulich>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 43CC: jgrulich, kde-sig, m, ngompa13
Target Milestone: ---Keywords: Desktop
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-10-31 07:21:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ian Laurie 2025-10-29 21:59:56 UTC
mediawriter won't launch for me on 43 running Xfce. Up to date as of writing this.

If I launch from the terminal I get two errors then it hangs requiring a CTL+C to get out of it.

$ mediawriter
W@266ms: QQmlApplicationEngine failed to load component
W@266ms: qrc:/qml/main.qml: module "org.kde.desktop" is not installed

^C
$


Reproducible: Always

Steps to Reproduce:
1. Try to launch mediawriter
2.
3.
Actual Results:
Hangs.

Expected Results:
Used to work fine.

Comment 1 Jan Grulich 2025-10-30 07:13:50 UTC
Hi, this doesn't look like a Fedora Media Writer issue, most likely your setup tries to use KDE style for some reason and it is missing. Do you maybe have some env variables modifying styling of Qt apps or anything like that?

Comment 2 Ian Laurie 2025-10-30 21:58:09 UTC
Yes.  In order to make QT applications behave I have "QT_QPA_PLATFORMTHEME=qt5ct" in the environment if qt5ct is installed.  I need this to have control over (for example) font sizes on hi-res screens and set a dark theme to blend with Xfce's dark theme.

This hasn't traditionally been an issue.  Noticed a problem for the first time (on multiple hosts) in 43.

Comment 3 Ian Laurie 2025-10-30 22:04:03 UTC
I should add for completeness, if qt5ct is install (with or without gt6ct) I have "QT_QPA_PLATFORMTHEME=qt5ct".  If just qt6ct is installed I have "QT_QPA_PLATFORMTHEME=qt6ct".  Been doing this for years without hurting mediawriter.

Comment 4 Ian Laurie 2025-10-30 22:56:40 UTC
I can confirm that if I get rid of the QT_QPA_PLATFORMTHEME variable mediawriter will run, but that is not optimal from my side.  QT_QPA_PLATFORMTHEME did not used to break it.

Comment 5 Jan Grulich 2025-10-31 07:21:44 UTC
Something must have changed in qt6ct or elsewhere, but this is not an issue in Fedora Media Writer. The easiest solution for you might be to install qqc2-breeze-style or what package provides the QML Breeze styling.

Comment 6 Ian Laurie 2025-11-01 21:56:19 UTC
FYI updates to QT that for me landed today appear to have fixed this.