Bug 514587

Summary: Cursor theme defaults to 'default' unlike Plasma
Product: [Plasma] plasma-login-manager Reporter: Lélahel Hideux <lelahx>
Component: generalAssignee: Oliver Beard <olib141>
Status: RESOLVED FIXED    
Severity: minor CC: kde, olib141
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Lélahel Hideux 2026-01-14 11:58:42 UTC
SUMMARY
The cursor theme that is selected in Plasma Settings isn't applied in PLM.

STEPS TO REPRODUCE
1. Set Breeze Cursor theme in Sytem Settings.
2. Click Apply Plasma Settings in plasmalogin kcm (observe that "Cursor theme and size" is indicated to be applied to PLM)
3. Log out or otherwise return to the PLM login screen

OBSERVED RESULT
Observe that the cursor theme isn't Breeze but some other default/fallback.

EXPECTED RESULT
Breeze theme is in use.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Linux 6.17.12
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
Comment 1 Oliver Beard 2026-01-14 15:48:10 UTC
This would be the case where kcminputrc does not explicitly set:

[Mouse]
cursorTheme=breeze_cursors

or the file does not exist, which it does not by default.

The default is 'default', which inherits Adwaita, which is the cursor theme PLM will therefore use by default.

It is currently unknown how Plasma is using Breeze without it being explicitly set, as kcminputrc specifies a default of 'default' as does KWin in loading the cursor theme, only falling back to 'breeze_cursors' when default does not exist (which it will, inheriting Adwaita).
Comment 2 Lélahel Hideux 2026-01-14 16:12:08 UTC
Setting breeze_cursors explicity did it, thanks!
So, if/when the wrong default in Plasma is fixed, should it be changed so that Plasma _explicitly_ sets cursorTheme=breeze_cursors on first login of a user?
Comment 3 Oliver Beard 2026-01-14 16:44:18 UTC
In looking into it, Plasma sets a default according to look and feel which is set in kdedefaults and read. This infrastructure doesn't exist in PLM and we'll need to think about it.
Comment 4 Bug Janitor Service 2026-01-15 21:20:29 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-login-manager/-/merge_requests/77
Comment 5 Oliver Beard 2026-01-21 14:05:50 UTC
Git commit 557f3ffa4e526c9c999033c6ebbf7f862948ad6d by Oliver Beard.
Committed on 21/01/2026 at 13:55.
Pushed by olib into branch 'master'.

frontend/startkde: Integrate LnF into plasmalogin session

startkde used for Plasma Login now incorporates the Look and Feel code used in the standard session, creating kdeglobals and, for example, nets us an appropriate default Breeze cursor.

M  +1    -0    CMakeLists.txt
M  +9    -0    src/frontend/startkde/CMakeLists.txt
A  +33   -0    src/frontend/startkde/lookandfeelsettings.kcfg
M  +91   -3    src/frontend/startkde/startplasma.cpp

https://invent.kde.org/plasma/plasma-login-manager/-/commit/557f3ffa4e526c9c999033c6ebbf7f862948ad6d
Comment 6 Oliver Beard 2026-01-21 14:59:37 UTC
Git commit 4a811858005ff88a96ff06edc32440fc87a8e67a by Oliver Beard.
Committed on 21/01/2026 at 14:06.
Pushed by olib into branch 'Plasma/6.6'.

frontend/startkde: Integrate LnF into plasmalogin session

startkde used for Plasma Login now incorporates the Look and Feel code used in the standard session, creating kdeglobals and, for example, nets us an appropriate default Breeze cursor.


(cherry picked from commit 557f3ffa4e526c9c999033c6ebbf7f862948ad6d)

Co-authored-by: Oliver Beard <olib141@outlook.com>

M  +1    -0    CMakeLists.txt
M  +9    -0    src/frontend/startkde/CMakeLists.txt
A  +33   -0    src/frontend/startkde/lookandfeelsettings.kcfg
M  +91   -3    src/frontend/startkde/startplasma.cpp

https://invent.kde.org/plasma/plasma-login-manager/-/commit/4a811858005ff88a96ff06edc32440fc87a8e67a