Bug 497956

Summary: Can't change theme pernamently.
Product: [Plasma] plasma-mobile Reporter: Jacob <kubaszek10puchacz>
Component: generalAssignee: Plasma Mobile Bugs <plasma-mobile-bugs-null>
Status: REPORTED ---    
Severity: major CC: carl, chriswarbo+kde
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jacob 2024-12-27 20:08:09 UTC
SUMMARY
Can't change theme pernamently.

STEPS TO REPRODUCE
1. Change theme to anything but not org.kde.breeze.mobile
2. Log out
3. Log in
4. Open settings
5. Check which theme is used right now

OBSERVED RESULT
The theme has only been changed for the current session
After restarting, Plasma-mobile uses org.kde.breeze.mobile

EXPECTED RESULT
Change the theme to 
org.kde.breeze dark.desktop in the current session, changes the theme permanently

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: plasma-mobile(AUR) 
KDE Plasma Version: latest
KDE Frameworks Version: Don't know how to check
Qt Version: 5.15.16

ADDITIONAL INFORMATION
Comment 1 Warbo 2025-07-31 19:30:12 UTC
This could be due to hard-coding in the startup script. Not sure about Arch, but on NixOS the `startplasmamobile` script hard-codes the following:

QT_QPA_PLATFORM=wayland
QT_QPA_PLATFORMTHEME=KDE
EGL_PLATFORM=wayland
QT_QUICK_CONTROLS_STYLE=org.kde.breeze
QT_ENABLE_GLYPH_CACHE_WORKAROUND=1
QT_QUICK_CONTROLS_MOBILE=true
PLASMA_INTEGRATION_USE_PORTAL=1
PLASMA_PLATFORM=phone:handset
PLASMA_DEFAULT_SHELL=org.kde.plasma.mobileshell