Bug 504751

Summary: Elisa does not launch or create config files in Fedora Workstation
Product: [Applications] Elisa Reporter: Michael Austin Burch <kde.emd7v>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version First Reported In: 25.04.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Terminal output when Elisa is launched using `QT_QUICK_BACKEND=software QML_IMPORT_TRACE=1 QT_LOGGING_RULES="*.debug=true" elisa`

Description Michael Austin Burch 2025-05-25 00:29:26 UTC
Created attachment 181719 [details]
Terminal output when Elisa is launched using `QT_QUICK_BACKEND=software QML_IMPORT_TRACE=1 QT_LOGGING_RULES="*.debug=true" elisa`

SUMMARY
I'm using Fedora Workstation 42 with GNOME as my desktop environment and this has been a problem since Fedora 41. Elisa has received at least a couple of updates since I first encountered this issue many months ago. When Elisa is launched, it almost immediately exits without generating a config file or opening any gui.

STEPS TO REPRODUCE
1.  Launch Elisa from the app menu or terminal.

OBSERVED RESULT
Elisa does not launch, and outputs this error message:
```QThreadStorage: entry 8 destroyed before end of thread 0x5567191a3440
QThreadStorage: entry 1 destroyed before end of thread 0x5567191a3440
QThreadStorage: entry 0 destroyed before end of thread 0x5567191a3440```

EXPECTED RESULT
Elisa should open.

SOFTWARE/OS VERSIONS

Fedora Linux 42 (Workstation Edition)
GNOME Version: 48.1
KDE Frameworks Version:  6.14
Qt Version:  6.9

ADDITIONAL INFORMATION
At first I thought this might have been an issue with the Kvantum theme I was using since I got an error related to Kvantum in the terminal about a missing gradient value. I went and edited the Kvantum theme to fix this, and Elisa still wouldn't launch. This issue is persistent with both the Flatpak version and RPM package, and I have also encountered this same error when using Cosmic alpha 6 (I have not tested Alpha 7 yet), so it is likely not specific to GNOME. I could not determine what is causing this problem even with a verbose debug output in the terminal. I am not a developer, so forgive me if you think I have sinned, but I fed the verbose debug to ChatGPT and it thinks that it is closing because Elisa is trying to run in the "background" or "system tray" which doesn't exist in GNOME (which isn't true, so I don't think this is correct, I thought I would just mention it).  I've attached the verbose debug output here since it's pretty long.
Comment 1 Michael Austin Burch 2025-12-04 19:13:58 UTC
I dug into this issue more recently and was able to fix it. It was a package dependency issue on Fedora. Elisa will not launch unless 'kf6-kirigami-addons' is also installed. The issue is currently in the Fedora 43 Test Branch and the fix should get pushed into the updates repository in a few weeks.