Commit graph

684 commits

Author SHA1 Message Date
Devin Lin
4a3f855173 REUSE compliance, add check to CI, drop unused components 2021-12-23 16:02:41 +00:00
Devin Lin
6653ad6e54 panel: Refactor panel and implement blue ocean mockups 2021-12-22 23:29:00 +00:00
Bhushan Shah
9711d4af10 panel: ask KWin for native resolution screenshots
Potentially fixes the broken screenshots with GLES
2021-12-04 14:30:47 +00:00
Aleix Pol
f81271d303 homescreen: Fix silly type name error 2021-11-10 12:55:41 +01:00
Devin Lin
2db6d393dc Fix task jump 2021-10-31 15:40:39 -04:00
Devin Lin
daa40c0759 Fix scale calculation 2021-10-31 15:21:02 -04:00
Devin Lin
89c0477b8d Fix current index calculation, and refactor 2021-10-31 12:40:36 -04:00
Devin Lin
bb3b6959ac Fix activate 2021-10-31 00:14:50 -04:00
Devin Lin
fc818bcf7f Major refactor and smoothen alignment 2021-10-31 00:11:10 -04:00
Devin Lin
16615e37cb Ensure that homescreen is not showing when task switcher opens 2021-10-28 22:08:36 -04:00
Devin Lin
dcbdf8f101 Add overswipe gesture 2021-10-28 22:08:36 -04:00
Devin Lin
43c327655d Improve smooth offset behaviour 2021-10-28 22:08:36 -04:00
Devin Lin
90138d5442 Revamp task switcher 2021-10-28 22:08:36 -04:00
Devin Lin
25e0f99f43 homescreen: Add swipe down panel gesture 2021-10-28 21:54:52 -04:00
Devin Lin
0100d26024 Fix broken reset homescreen position signal, and minor refactor
Closes #122
2021-10-28 20:11:01 -04:00
Aleix Pol
0cd4f91ec4 Port away from PlasmaComponents 2.0 on most places 2021-10-22 16:34:03 +00:00
Devin Lin
b091ce2ac3 Rework app drawer layout and open/close behaviour logic 2021-10-22 15:48:31 +00:00
Devin Lin
e168b2bdb6 panel: Fix quicksetting delegate width not getting enforced on label 2021-10-18 14:56:43 +00:00
Aleix Pol
1eb7965fca HomeScreen: Support the meta key
While using the shell, add some value to the Meta key so the shell is
more useful when using a keyboard.
2021-10-18 11:12:43 +00:00
Devin Lin
7df05e09be panel: Rework panel layout, and refactoring 2021-10-12 13:50:36 +00:00
David Faure
5411b8c962 Merge remote-tracking branch 'origin/Plasma/5.23' 2021-10-02 14:02:23 +02:00
David Faure
5c6c094dd2 Fix path->URL conversion error, detected by -DQT_NO_URL_CAST_FROM_STRING 2021-10-02 14:01:56 +02:00
Devin Lin
f599a6897d taskpanel: Make the vertical form factor offset a bit smaller. 2021-09-29 15:48:58 +00:00
Aleix Pol
1554008648 taskpanel: Use the form factor to define the position we are on
Instead of the panel state itself. That would arrive at different points
in the event and sometimes plasma would set the offset to the horizontal
panel. This should remove this case by only setting the offset when the
panel is in the state that needs it.
2021-09-29 15:48:58 +00:00
Aleix Pol
cfcab16fb2 Do not show "Sim Locked" when there's no SIM card
Fixes https://invent.kde.org/plasma/plasma-phone-components/-/issues/115


(cherry picked from commit d238aa3031)
2021-09-29 12:29:54 +00:00
Aleix Pol
8335934aef As an acronym, SIM should be upper-case
It stands for Subscriber Identity Module
2021-09-29 01:01:39 +02:00
Aleix Pol
d238aa3031 Do not show "Sim Locked" when there's no SIM card
Fixes https://invent.kde.org/plasma/plasma-phone-components/-/issues/115
2021-09-29 01:01:39 +02:00
Aleix Pol
f6c1d727d7 Revert "phonepanel: Keep the Quick Settings buttons the same size"
This reverts commit c4903c25b9.


(cherry picked from commit 43f2f293cf)
2021-09-27 23:20:24 +00:00
Aleix Pol
43f2f293cf Revert "phonepanel: Keep the Quick Settings buttons the same size"
This reverts commit c4903c25b9.
2021-09-27 14:01:08 -04:00
Aleix Pol
6d1a9ed153 phonepanel: Keep the Quick Settings buttons the same size
Instead of doing weird UI puzzles, just let them elide their text. This
solves binding loops and makes the look overall more predictable.


(cherry picked from commit c4903c25b9)
2021-09-16 23:25:10 +00:00
Aleix Pol
c4903c25b9 phonepanel: Keep the Quick Settings buttons the same size
Instead of doing weird UI puzzles, just let them elide their text. This
solves binding loops and makes the look overall more predictable.
2021-09-16 10:27:45 +00:00
Tobias Fella
89dbff8995 Port signal strength indicator to ModemManager 2021-09-15 16:19:47 +00:00
Aleix Pol
4bba6ac402 units -> PlasmaCore.Units 2021-09-13 18:59:35 +02:00
Aleix Pol
4a52d8b791 Open KScreen KCM on auto-rotate long press 2021-09-10 02:40:53 +02:00
Aleix Pol
4aa1bc3a8c Make it possible to move windows between screens if there's more than one 2021-09-10 00:29:28 +00:00
Aleix Pol
31448728b8 Make the phoneshell a bit more flexible
Use plasma-open-settings to open configs instead of directly
plasma-settings.

This way we're less dependent on specific set up.
2021-08-31 17:23:20 +02:00
Aleix Pol
d30744789f Do not minimise windows from other screens
If a window from another screen is selected, don't minimise it.
Otherwise switching windows on the phone closes windows on the other
displays.
2021-08-31 16:29:44 +02:00
Aleix Pol
5dd617f289 It's called Wi-Fi
According to https://www.wi-fi.org/
2021-08-30 17:53:48 +02:00
Aleix Pol
46305ae4db Don't let the drawer under right side panels either 2021-08-30 14:47:59 +00:00
Aleix Pol
9a0d71fcf1 Fix top panel on dark themes
Use PlasmaCore.IconItem rather than Kirigami.Icon
2021-08-30 00:07:24 +00:00
Aleix Pol
edcf70c263 taskpanel: Also add margins when the buttons are on the side (landscape)
Otherwise they look rather grotesque
2021-08-27 22:01:07 +02:00
Aleix Pol
a06bd89ec4 taskpanel: Put the controls at the right when on landscape mode
This way we don't lose otherwise precious screen real state on the
smaller
dimension.
2021-08-26 14:53:25 +02:00
Aleix Pol
989d6fdc1d Port to the new org.kde.KWin.ScreenShots2 interface
Fixes https://invent.kde.org/plasma/plasma-phone-components/-/issues/85
2021-07-25 17:01:32 +00:00
Aleix Pol
441936186a Port to use the new org.kde.kwin.VirtualKeyboard.visible property
Makes it possible to properly display the keyboard state when the
keyboard is hidden but still active.
2021-07-21 22:16:04 +00:00
Aleix Pol
9dfac82863 Move the Battery settings with its provider
And make use of it to show if it's plugged or not
2021-07-21 13:36:43 +00:00
Aleix Pol
dd888a707f Make it possible for QuickSettings to be created in a KPackage
Move the NightColor one into a KPackage to prove it
2021-07-21 13:36:43 +00:00
Aleix Pol
9ac1cc139e Move QuickSettingsModel to C++ 2021-07-21 13:36:43 +00:00
Aleix Pol
0d7f10abbc Move the Volume quick setting with its provider
So not to rely on global identifiers
2021-07-21 13:36:43 +00:00
Aleix Pol
3b212d7a55 QuickSettings: Simplify
Port away from ListModel, make it an array of QuickSetting objects
2021-07-21 13:36:43 +00:00
Aleix Pol
766fce50bd Open KClock when the clock is tapped 2021-07-19 16:27:16 +00:00