Commit graph

139 commits

Author SHA1 Message Date
Yari Polla
6ebbf71ca1 components: implement marquee label component 2022-04-28 21:04:19 +00:00
Yari Polla
d75e8b6f78 taskswitcher: invert tasks ordering 2022-04-28 21:37:47 +02:00
Devin Lin
174843767f taskswitcher: Remove requestLastActivatedReorderDelay calls
This was removed upstream https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1661
2022-04-26 14:13:52 -04:00
Laurent Montel
401620e365 Fix some qt6 compile errors 2022-04-24 13:44:41 +02:00
Nicolas Fella
6099bf491f Use undeprecated install dirs
Using kde-dev-scripts/kf5/cmakelists_install_vars.pl
2022-04-21 01:27:43 +00:00
Yari Polla
de1b92e0c2 taskswitcher: add support for task reordering based on opening history 2022-04-13 15:04:55 +02:00
Devin Lin
f99e8ff037 homescreen: Don't animate if task switcher is visible 2022-04-11 17:43:38 -04:00
Devin Lin
4e95a4abc3 taskswitcher: Fix animations when opening from homescreen 2022-04-11 17:14:35 -04:00
Devin Lin
7871212461 mobileshell: Split out minimized geometry unset from window minimize 2022-04-11 16:47:20 -04:00
Devin Lin
8d43419803 taskswitcher: Use OutQuint animation curve for app activate animation
This feels less jumpy than InOutQuad
2022-04-11 16:34:25 -04:00
Devin Lin
84440498e0 taskswitcher: Fix double KWin & containment animation with windows
Fixes #136
2022-04-11 16:19:16 -04:00
Devin Lin
e120f19601 mobileshell: Remove active window timer length to be immediate
We don't need a long delay, the shortest possible one works as well.
2022-04-11 11:55:56 -04:00
Devin Lin
2deea1b4d0 components: Port Direction enum to c++ to improve load times
According to flame graph testing with qmlprofiler, this caused quite some overhead in QML.
2022-04-10 13:28:32 -04:00
Devin Lin
bbe9bbf94c widgets/mediaplayer: Add support for controlling multiple media sources
Implement #135
2022-04-08 21:48:42 -04:00
Devin Lin
55efc9165e widgets/notifications: Fix background clicking being on top of notifications 2022-04-08 17:02:25 -04:00
Devin Lin
b3884be926 actiondrawer: Dismiss on click on empty background area 2022-04-07 20:23:36 -04:00
Devin Lin
57192b772b actiondrawer: Add restricted permission mode, and implement on lockscreen 2022-04-07 14:11:08 -04:00
Devin Lin
3969973e51 mobileshell: Refactor and collapse stackBefore and stackAfter into ShellUtil 2022-04-07 10:52:12 -04:00
Devin Lin
629b10486a kcm: Use MobileShellSettings rather than custom implementation 2022-04-06 22:54:35 -04:00
Devin Lin
b905bafcb5 taskswitcher: Improve zoom animation and add cursor shape on tasks 2022-04-06 22:08:47 -04:00
Devin Lin
6830370b55 quicksettings: Scale animation on delegate tap 2022-04-06 21:55:06 -04:00
Devin Lin
3488d2b0f3 panel & taskpanel: Fix panel colour on homescreen when shell windows are open
Fixes #161
2022-04-06 21:18:47 -04:00
Devin Lin
3d9b344f52 taskswitcher: Add task zoom animation 2022-04-06 20:33:23 -04:00
Devin Lin
06b02473d6 homescreen: Fix zoom animation when going from homescreen to switcher 2022-04-06 20:33:06 -04:00
Devin Lin
192d36da46 quicksettings: Improve text contrast 2022-04-06 20:32:38 -04:00
Devin Lin
dd7bd6a18f volumeosd: Fix settings launch 2022-04-06 20:32:23 -04:00
Devin Lin
c8a366cbbd homescreen: Add scale animation when going to homescreen 2022-04-06 17:59:36 -04:00
Devin Lin
f861e2df3f mobileshell: Move KWayland related window functions to utility class 2022-04-06 17:18:20 -04:00
Devin Lin
cec4f412d7 actiondrawer: Use higher quicksettings text contrast 2022-04-06 13:48:17 -04:00
Devin Lin
5e48cb1cc1 homescreen: Fix stackBefore call 2022-04-06 13:40:28 -04:00
Devin Lin
2e6c1f837e homescreen: Collapse library into mobileshell and containment 2022-04-05 22:06:05 -04:00
Devin Lin
2f84b07bbc quicksettings: Add save and update timers so kcm ordering is always correct 2022-03-21 10:25:45 -04:00
Devin Lin
210042a6bf libmobileshell: Move back to QML plugin
Move from a C++ library + QML plugin to a QML plugin only for simplicity, since the homescreen switching architecture will be done from Plasma, and so use of the shell library only needs to be from QML.
2022-03-21 10:00:09 -04:00
Devin Lin
529f42296a homescreen: Ensure signal is listened to for closing startup feedback on error 2022-03-20 14:24:44 -04:00
Kevin Kofler
7e47315bcb mmplugin: set all connections to not autoconnect on setMobileDataEnabled(false) (#182)
When disabling mobile data, instead of setting the autoconnect flag to
true for the current active connection, set it to false for all
connections without exception. When reenabling mobile data, instead of
looking for a connection with autoconnect set, look for the connection
with the latest last use timestamp, set that one to autoconnect, and
also connect it immediately.

There should not be any connection with autoconnect enabled if mobile
data is disabled, because that makes NetworkManager reconnect it after a
reboot or a modem restart. The autoconnect state on the modem is
apparently lost on reboot.

Also change the SignalIndicator::mobileDataEnabled() getter to account
for the above.

Fixes #182.
2022-03-20 13:59:32 -04:00
Devin Lin
cf7e48e65c components/mobileshell: Move to libmobileshell library 2022-03-16 23:20:51 -04:00
Devin Lin
4b53b4da5c Revert "Add support for task reordering based on ordering history"
This reverts commit 3a09014754
2022-03-12 22:17:12 +00:00
Yari Polla
3a09014754 Add support for task reordering based on ordering history 2022-03-12 21:56:13 +01:00
Devin Lin
b92ba78e00 mobileshell: Move quicksettings to folder 2022-03-10 23:52:53 -05:00
Devin Lin
5e04c65550 Add option to toggle qt quick compiler 2022-03-10 22:40:21 -05:00
Aleix Pol
a6a331f469 Remove last two uses of PlasmaComponents 2.0
They were only used for Labels
2022-03-05 18:53:39 +00:00
Devin Lin
e1d1f8ee1a components/mobileshell: Use qrc and qtquickcompiler to improve load times
Also enables us to check for QML syntax errors and compile time.
2022-03-05 13:52:26 -05:00
Devin Lin
5cb056dd3e actiondrawer: Darken landscape drawer background to be easier to read 2022-02-19 22:08:58 -05:00
Devin Lin
70ff2fd0e4 homescreen: Fix app drawer not interactable in empty space
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/176, where spaces without app delegates are not able to be interacted with. All usages of QQC2.Control should be replaced by MobileShell.BaseItem, which prevents flicks from being stolen from parent flickables.
2022-02-18 17:54:25 -05:00
Devin Lin
8f9f722ca7 navigationpanel: Add ability to toggle between gesture only and shown navigation panel modes
Addresses: https://invent.kde.org/plasma/plasma-phone-components/-/issues/140
2022-02-13 04:23:57 +00:00
Devin Lin
6d6b38ac46 quicksettings: Add status for mobile data not being available 2022-02-12 23:08:28 -05:00
Devin Lin
0131710c23 mmplugin: Use NM autoconnect instead of wwanEnabled for mobile data
Add supported function
fix
fix
fix
fix
fix
fix
fix
fix
cleanup
fix
fix
fix
fix
2022-02-12 23:08:23 -05:00
Devin Lin
d9719b8845 lockscreen: Refactor swipe and use mobileshell notification component 2022-02-12 00:19:44 -05:00
Devin Lin
dca8064ca2 actiondrawer: Use passed in notifications model and settings 2022-02-11 17:50:17 -05:00
Devin Lin
27015d1749 taskswitcher: Ensure window is in maximized state when activating 2022-02-11 13:12:56 -05:00