[Look and feel KCM] Keep cursor size when applying theme
ClosedPublic

Authored by broulik on Jan 23 2018, 5:07 PM.

Details

Summary

I have configured my system to use an 48 px mouse cursor. When applying a new look and feel theme, it might change the cursor at runtime but load it with default size. Since the size is never actually changed, on next startup the previous size is restored, but it should apply it correctly already.

Test Plan

Changed from Breeze to Breeze Dark, cursor just changed color but was the same size.
I don't know exactly what would happen if we do this with a cursor theme that doesn't have the desired size but I didn't find any guards in cursor KCM either besides the combobox not being enabled/not having a size but it didn't change the value until user did.

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Jan 23 2018, 5:07 PM
Restricted Application added a project: Plasma. · View Herald TranscriptJan 23 2018, 5:07 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Jan 23 2018, 5:07 PM
mart accepted this revision.Jan 26 2018, 1:03 PM
This revision is now accepted and ready to land.Jan 26 2018, 1:03 PM
This revision was automatically updated to reflect the committed changes.