Devin Lin
|
a508c8d524
|
quicksettings/screenrotation: Nullptr check
Add nullptr check, since apparently it's possible for outputs to be
given as nullptr.
|
2024-11-09 18:45:27 +00:00 |
|
Devin Lin
|
5decdbe2b5
|
quicksettings/autorotate: Properly listen to external changes
This ensures that external changes to screen rotation are listened to
and updated in the quicksetting.
TODO: haven't actually tested on device yet
|
2024-11-09 09:39:55 +00:00 |
|
Devin Lin
|
1ac2745bfb
|
quicksettings/screenrotation: Don't call rotate in signal handler
This is a workaround for https://invent.kde.org/plasma/plasma-mobile/-/issues/405, where if the caller gets deleted by the screen rotation, the entire shell crashes.
Eventually, we need to implement
https://invent.kde.org/plasma/plasma-mobile/-/issues/406 to reduce the
amount of oddities we have from recreating the quick settings panel
during screen rotation.
|
2024-10-03 22:41:29 -07:00 |
|
Devin Lin
|
fffcd04aeb
|
quicksettings/screenrotation: Fix initial state of quicksetting always being off
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/298
|
2024-02-05 16:17:59 +00:00 |
|
Devin Lin
|
f2836a81d7
|
quicksettings/screenrotation: Ensure that state is up to date when screens are added
|
2023-12-17 17:46:40 -08:00 |
|
Devin Lin
|
5b429b49d1
|
quicksettings/screenrotation: Ensure save
Ensures that https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/390 saves the setting
|
2023-11-05 18:56:50 -08:00 |
|
Devin Lin
|
a0b9c2c569
|
quicksettings/screenrotation: Fix it by porting to changed API
It appears that the screen rotation DBus API was dropped with https://invent.kde.org/plasma/kscreen/-/merge_requests/237
Port to the new API.
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/257
|
2023-11-05 15:09:33 -08:00 |
|
Nicolas Fella
|
93f1aa0310
|
Adapt to kded5->kded6 renaming
|
2023-06-27 22:15:18 +02:00 |
|
Devin Lin
|
f22b847009
|
quicksettings/screenrotation: Make available dbus call async
|
2023-02-09 23:00:45 -08:00 |
|
Luca Weiss
|
f8aeffa56d
|
quicksettings/screenrotation: hide when not available
On devices where auto-rotate is not (yet) available, make sure not to
show an auto-rotate toggle with no functionality.
|
2023-02-10 06:28:59 +00:00 |
|
Devin Lin
|
35dec9d3d7
|
quicksettings/screenrotation: Move C++ out of ShellUtil into package
|
2022-03-17 00:33:13 -04:00 |
|