Commit graph

6 commits

Author SHA1 Message Date
Devin Lin
a029f18eeb initialstart: Make scaling option more robust
Currently when the app starts, the scaling of all monitors gets changed
to a combobox value. This change makes it so that only the primary
monitor is affected, and that it only sets the scaling when the user
interacts with the combobox.
2025-03-07 17:01:48 +00:00
Devin Lin
c7e5003596 screenbrightnessplugin: Extract from initialstart and use in shell
This is partially an emergency fix also for
https://invent.kde.org/plasma/plasma-mobile/-/issues/404, which was
potentially introduced by https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/582

This MR extracts the screen brightness implementation from initialstart
to a QML plugin, and also ports the action drawer brightness slider
implementation to it. This avoids importing the powerdevil screen
brightness plugin on the lockscreen, which apparently has a race
condition that causes it to sometimes segfault.
2024-10-08 22:47:30 -07:00
Devin Lin
0347ac1453 initialstart: Add dark mode switch 2023-11-08 23:22:26 -08:00
Devin Lin
e82af2b681 initialstart: Use DBus api to set brightness
Port away from deprecated P5Support.DataSource, doesn't seem to work anyway in this case
2023-11-06 06:18:19 +00:00
Devin Lin
a83a723e97 initialstart: Use proper libkscreen APIs to set display scaling 2023-11-05 19:09:47 -08:00
Devin Lin
5c0fd57600 initialstart: Add first login experience
Adds an experience for users on first login, allowing some basic configuration.

This is separate from a first start wizard, which would run as a separate user with elevated permissions, and include options that an installer would have.
2023-04-01 07:09:57 +00:00