Commit graph

202 commits

Author SHA1 Message Date
Florian RICHER
14839c4389 kcm: Implement minimal Waydroid support
I prefer create MR now to avoid biggest merge request.

It add minimalist implementation: 
- First configuration of Waydroid
- Stop / Start Waydroid session
- Configure properties of Waydroid
- Display current ip of Waydroid

| Not installed | First initialization | initializing | SessionNotStarted | SessionStarting | SessionStarted |
| ------ | ------ | ------ | ------ | ------ | ------ |
| ![Copie_d_écran_20250705_162112](/uploads/66844057ee6c955803288993809616fa/Copie_d_écran_20250705_162112.png) | ![Copie_d_écran_20250707_234822](/uploads/133779f8d4a70551a321938a7193aa3d/Copie_d_écran_20250707_234822.png) | ![Copie_d_écran_20250707_234829](/uploads/bacecd42875e3afd48dba2f9472b0f13/Copie_d_écran_20250707_234829.png) | ![Copie_d_écran_20250707_234908](/uploads/c6eff9833e33f30797088e327fcf6ea3/Copie_d_écran_20250707_234908.png) | ![Copie_d_écran_20250707_234919](/uploads/1927e2334d7e3b5790e5fab9037feff7/Copie_d_écran_20250707_234919.png) | ![Copie_d_écran_20250707_235239](/uploads/9be45b0a7b5f988de0e9ac297a2447c8/Copie_d_écran_20250707_235239.png) |

Linked to https://invent.kde.org/teams/plasma-mobile/issues/-/issues/307

**Note for Reviewer**: In my local environment, i need to add manually the KAuth files otherwise polkit not recognize the implementation.

```
sudo cp ~/kde/usr/share/dbus-1/system-services/org.kde.plasma.mobileshell.waydroidhelper.service /usr/share/dbus-1/system-services/
sudo cp ~/kde/usr/share/dbus-1/system.d/org.kde.plasma.mobileshell.waydroidhelper.conf /usr/share/dbus-1/system.d/
sudo cp ~/kde/usr/share/polkit-1/actions/org.kde.plasma.mobileshell.waydroidhelper.policy /usr/share/polkit-1/actions/
```
2025-07-10 12:00:41 -04:00
Devin Lin
3b6951bf1e panel: Overlay over lockscreen
Overlay the shell's status panel and quicksettings panel over the lockscreen, instead of rendering a second copy in the lockscreen theme. This will allow us to improve the lockscreen loading speed.

Key changes:
- Overlay quicksettings window and the status bar over the lockscreen when it is shown
- Refactor the top panel's showing logic to be cleaner (as it supports various overlay modes over fullscreen apps already)
- Implement lockscreen support to the status bar and quicksettings panel in the to panel
- Forward quicksettings panel requests for "unlock" over DBus to the lockscreen
- Add "raiselockscreen" QML plugin to easily request a window to be raised over the lockscreen

Notes:
- Now that we are sharing the quicksettings panel from the shell, notifications that are already there will be shown on the lockscreen (compared to right now, where only new notifications would be shown)

Depends on: 
- https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2339
- https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/283
- https://invent.kde.org/plasma/kwin/-/merge_requests/7839

Implements: https://invent.kde.org/plasma/plasma-mobile/-/issues/199

![Screencast_20250612_013325](/uploads/49e9981cb863056b4c0c46a144e5ee7d/Screencast_20250612_013325.webm)
2025-07-02 10:27:33 -04:00
Devin Lin
e4919690b4 quicksettings/record: Make it more efficient on initial load
Try to reduce the amount of preloaded objects that aren't needed until the quick setting is toggled. Also port the the kpipewire interaction parts to C++.
2025-06-13 21:16:20 -04:00
Bhushan Shah
1e63007654 update version for new release 2025-05-19 18:37:20 +05:30
Bhushan Shah
930d55edd4 update version for new release 2025-05-15 16:39:49 +05:30
Bhushan Shah
e1de3e7f49 update version for new release 2025-05-15 15:18:38 +05:30
Bhushan Shah
6f2835a7f2 Update Qt version requirement to 6.8.0
GIT_SILENT
2025-05-15 14:23:24 +05:30
Bhushan Shah
2f3e392bea Update Frameworks version requirement to 6.14.0
GIT_SILENT
2025-05-15 14:23:24 +05:30
Nicolas Fella
bebe44e5f1 Fix build with Qt 6.10
The private API was split into a separate CMake package
2025-04-18 17:38:37 +02:00
Laurent Montel
7e20a029ac Remove unused PROJECT_VERSION_MAJOR variable 2025-04-01 07:57:31 +02:00
Devin Lin
bbac7e98b4 taskswitcher: Switch to declarative effect
This switches the kwin effect to be a declarative effect. However, for
now I have retained much of the logic that exists in cpp as a QML
plugin.

Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/448

Also implements https://invent.kde.org/plasma/plasma-mobile/-/issues/408 now that we can access the QML api
2025-03-01 21:26:47 +00:00
Jonathan Riddell
48f6eb19b3 update version for new release 2025-01-09 12:49:12 +00:00
Jonathan Riddell
b7061e7792 update version for new release 2025-01-09 11:31:33 +00:00
Jonathan Riddell
966882c072 update version for new release 2025-01-09 11:03:18 +00:00
Jonathan Riddell
5595721f70 Update Frameworks version requirement to 6.10.0
GIT_SILENT
2025-01-09 10:31:16 +00:00
Micah Stanley
eba6074161 notifications: Implement popup notifications
This merge request implements a more mobile optimized solution for popup notification.
- 

The current controls are:
- Swipe up to move the notification to the notification center.
- Swipe left/right to dismiss the notification entirely.
- If multiple popup notifications are grouped together, tap on the bottom area to view them in a expanded view.

What still needs to be done:
- ~~For notification without a default action, tapping on them should probably open up the associated app.~~ Note: I think I will add this in a separate merge request as it probably should be the case regardless if the notification is a popup
- ~~Swiping down on a notification currently does nothing. Maybe we should map this to a notification action?~~ Note: I have some ideas I will try later, though for now, I will leave this action blank
- ~~The expanded view of notifications should be able to be dismissed by swiping up/down on the top/bottom of the list.~~ Note: Added
- Investigate further into how to remove the current desktop popup notifications.
- ~~Code clean up.~~ Note: The code is at least a bit better

Single popup notification:

![notification_1](/uploads/63d12be6da1dd2676de17940dcadbdfa/notification_1.gif)

Multiple popup notifications:

![notification_2](/uploads/907a14b772f66f46040c28342f4dcf02/notification_2.gif)

Multiple popup notifications in the expanded view:

![notification_3](/uploads/9a7cd09a6bb8a0f7ee70e5bcf7c29c6b/notification_3.gif)

Any feedback would be greatly appreciated.
2024-11-07 16:13:06 +00:00
Micah Stanley
681d1683f5 VolumeOSD: Improve design, and prevent touch events from being taken from outside the osd
Fixes: https://invent.kde.org/plasma/plasma-mobile/-/issues/274

Any feedback on these changes would be much appreciated.

![Screenshot_20241024_093458-1](/uploads/7b4f89ace1a53c559737d1c05d591329/Screenshot_20241024_093458-1.png)
![Screenshot_20241023_070919](/uploads/c7b9a8de7c9bba2de01d734408e02b2b/Screenshot_20241023_070919.png)

Change Log:
- NanoShell FullScreenOverlay was changed to a LayerShellQt Window to keep it on the top layer and to prevent the popup from obsorbing all touch inputs.
- New animations were added to the volume popup.
- User can now change the volume by touching and dragging on the popup
- The mute button on the popup was fixed
- Mute buttons were added next to the volume sliders in the AudioApplet page
- Volume icons now dynamically update to the volume level
- Visual design adjustments
2024-10-25 15:52:49 +00:00
Jonathan Riddell
f83c72a916 update version for new release 2024-10-03 13:14:03 +01:00
Jonathan Riddell
9e986f41ba update version for new release 2024-10-03 12:12:24 +01:00
Jonathan Riddell
6de96e848f Update Frameworks version requirement to 6.5.0
GIT_SILENT
2024-09-12 11:16:24 +01:00
Jonathan Riddell
345f0709d1 update version for new release 2024-09-12 10:52:44 +01:00
Jonathan Riddell
a5e4abdd6d update version for new release 2024-09-12 10:41:18 +01:00
Bart Ribbers
381bfc3e02 systemd: add service file to start Plasma
Used in postmarketOS but probably also useful for others, this service
file can be used to start Plasma Mobile using systemd
2024-09-09 15:50:48 +00:00
Jonathan Riddell
1459b0ab09 Update Qt version requirement to 6.7.0
GIT_SILENT
2024-08-02 10:17:11 +01:00
Devin Lin
89efc8bc7f tests: Add plasma-mobile-notificationtest binary
This will make it easier to test all sorts of notifications with our notification widget. Just run `plasma-mobile-notificationtest [test-name]`.
2024-07-26 20:28:55 +00:00
Devin Lin
3d4b31c26b taskswitcher: Sort tasks by last activation
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/343

This restores the sorting of tasks by their last activation. The task model now becomes a singleton and retains state even while the effect is not active, while the filter/sort proxy model is still initialized at task switcher load.
2024-07-02 21:42:13 +00:00
Devin Lin
b4f7ca1139 layout-templates: Move default panel configuration to layout template package 2024-06-26 00:57:56 +00:00
Jonathan Riddell
6520d131f1 update version for new release 2024-05-24 16:17:18 +01:00
Jonathan Riddell
a4b645da01 Update Qt version requirement to 6.6.0
GIT_SILENT
2024-05-24 13:13:24 +01:00
Jonathan Riddell
667131ba8d update version for new release 2024-05-24 12:48:36 +01:00
Jonathan Riddell
033d18db9b update version for new release 2024-05-24 12:35:43 +01:00
Jonathan Riddell
7ffaeb0e78 Update Qt version requirement to 6.7.0
GIT_SILENT
2024-05-24 11:24:15 +01:00
Jonathan Riddell
14b1d5a81f Update Frameworks version requirement to 6.2.0
GIT_SILENT
2024-05-24 11:24:15 +01:00
Marco Mattiolo
0e01bd291f drop double KF6DBusAddons entry 2024-05-04 14:35:47 +00:00
Devin Lin
0e280a94ca kded/autodetectapn: Add background service to automatically add APN connections
We use the Android APN list here in order to determine the APN settings from SIM information.

Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/285

Address feedback
2024-02-23 15:35:31 +00:00
Jonathan Esk-Riddell
e00bdeb0b5 Update Frameworks version requirement to 6.0.0
GIT_SILENT
2024-02-21 14:35:24 +00:00
Jonathan Esk-Riddell
d06342735f add a version for dependencies so it does not break CI https://invent.kde.org/plasma/bluedevil/-/merge_requests/156 2024-01-23 14:14:17 +00:00
Jonathan Esk-Riddell
65cfa50a76 Update version number for 6.0.80
GIT_SILENT
2024-01-10 14:06:13 +00:00
Jonathan Esk-Riddell
8d98566dc2 Update version number for 5.92.0
GIT_SILENT
2024-01-10 12:31:18 +00:00
Florian RICHER
c43c5ce8c3 CMakeLists.txt : Add find_package(Libudev REQUIRED) 2024-01-01 13:51:58 +00:00
Jonah Brüchert
d919403366 kcms: time: Avoid calling waitForFinished 2023-12-30 17:53:34 +00:00
Jonathan Esk-Riddell
bfcf93557d Update version number for 5.91.90
GIT_SILENT
2023-12-20 18:57:01 +00:00
Jonathan Esk-Riddell
87196815c3 Update version number for 5.91.0
GIT_SILENT
2023-12-20 12:05:07 +00:00
Devin Lin
30262da8a5 kcms/cellularnetwork: Port to qcoro to make it async
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/284
2023-12-14 21:15:39 -08:00
Jonathan Esk-Riddell
cd055e8eca Update version number for 5.90.90
GIT_SILENT
2023-12-08 12:00:21 +00:00
David Redondo
4dcbbbdd39 Update Qt version requirement to 6.6.0
GIT_SILENT
2023-12-08 12:10:27 +01:00
Jonathan Esk-Riddell
fa059e9b22 Update version number for 5.90.0
GIT_SILENT
2023-11-29 10:28:19 +00:00
Nicolas Fella
0f99a3c8c1 Adapt to plasma-framework targets being renamed 2023-11-23 23:42:47 +01:00
Jonathan Esk-Riddell
67af6f35a6 use renamed kwayland 2023-11-23 18:54:43 +00:00
Devin Lin
f3e1738122 shell: Change id to org.kde.plasma.mobileshell 2023-11-23 00:05:44 -08:00