Bug 507032 - plasma-apply-lookandfeel doesn't update cursor theme
Summary: plasma-apply-lookandfeel doesn't update cursor theme
Status: RESOLVED FIXED
Alias: None
Product: kde-cli-tools
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.4.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-14 15:51 UTC by lplawlor
Modified: 2025-08-15 17:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.5.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lplawlor 2025-07-14 15:51:09 UTC
Running `plasma-apply-lookandfeel -a <THEME>` with a global theme does not update the cursor theme on screen.

It does superficially update the cursor theme, as you can see it is changed in Settings > Colors and Themes > Global Theme > Cursors.
However, the cursors on screen do not actually change from their previous look.

STEPS TO REPRODUCE
1. In the settings, change the global theme to something other than "Breeze Dark" and the cursor theme to something other than "Breeze Dark".
2. Close the settings app.
2. Run `plasma-apply-lookandfeel -a org.kde.breezedark.desktop`

OBSERVED RESULT

Observe that the cursor on screen is not from "Breeze Dark".
Check Settings > Colors and Themes > Global Theme > Cursors and observe that the cursor theme is apparently set to "Breeze Dark", but that change has not been reflected in the actual cursor.

EXPECTED RESULT
Running `plasma-apply-lookandfeel -a org.kde.breezedark.desktop` should affect the look of the cursor on screen.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Nobara Linux 42
KDE Plasma Version: 6.4.2
KDE Frameworks Version:  6.15.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION

On further inspection, it seems that this same bug happens when changing the global theme graphically in the settings. I don't know if the graphical interface uses plasma-apply-lookandfeel under the hood, or if this bug is just present in both places.

Running `plasma-apply-cursortheme <CURSOR_THEME> && plasma-apply-lookandfeel -a <THEME>` produces the desired behaviour (where CURSOR_THEME is the cursor theme associated with the global theme THEME).
Both commands do change the cursor theme, but only `plasma-apply-cursortheme` seems to instantly reflect this change on screen.

Something about
Comment 1 David Edmundson 2025-07-15 05:02:06 UTC
Can you confirm if this is X11 or Wayland?
Comment 2 lplawlor 2025-07-15 17:19:29 UTC
(In reply to David Edmundson from comment #1)
> Can you confirm if this is X11 or Wayland?

This is on Wayland
Comment 3 Bug Janitor Service 2025-07-30 03:46:25 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-08-14 03:46:33 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.
Comment 5 Nate Graham 2025-08-15 17:55:50 UTC
This is working for me on current git master; looks like it got fixed recently.