Commit graph

3579 commits

Author SHA1 Message Date
Devin Lin
8a0b3d4f56 homescreens/halcyon: Port to plasma_add_applet 2025-07-15 18:14:55 -04:00
Nicolas Fella
78366a62ac Remove unused QML import 2025-07-15 18:13:08 -04:00
Devin Lin
ecefc446a6 homescreens/folio: Do not initialize shared_ptr with a QObject parent
This MR ensures that delegates created with make_shared do not also get
initialized with a QObject parent. Some of the classes used the same
constructor parameter for HomeScreen and used it as a parent simultaneously. This was refactored
so that they are separated.
2025-07-15 18:10:03 -04:00
Luis Büchi
0fe7879afa taskswitcher: make task scrub mode more resistant against overlapping UI 2025-07-15 17:36:55 +02:00
l10n daemon script
e7b8ab0d33 GIT_SILENT Sync po/docbooks with svn 2025-07-15 01:48:14 +00:00
l10n daemon script
a1ea58567d SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2025-07-15 01:36:34 +00:00
Florian RICHER
8b4b3e22e7 Hide Google services if is not Gapps System Type installed 2025-07-14 15:46:50 +02:00
Florian RICHER
a45e9cc56e Fetch Android ID from Waydroid 2025-07-14 15:46:50 +02:00
l10n daemon script
868207c387 GIT_SILENT Sync po/docbooks with svn 2025-07-14 01:54:57 +00:00
l10n daemon script
32262a9bc3 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2025-07-14 01:35:30 +00:00
l10n daemon script
c2457af2d9 GIT_SILENT Sync po/docbooks with svn 2025-07-13 01:42:36 +00:00
l10n daemon script
d0a8e4927d SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2025-07-13 01:34:24 +00:00
Florian RICHER
91b685fee3 quicksettings: Add quicksettings for Waydroid 2025-07-12 15:08:51 +02:00
l10n daemon script
2408542da1 GIT_SILENT Sync po/docbooks with svn 2025-07-12 01:45:56 +00:00
l10n daemon script
40019a9185 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2025-07-12 01:34:30 +00:00
Luis Büchi
1fa16ee491 taskswitcher: fix incorrect enum access & remove long broken logic in QML 2025-07-11 23:58:37 +02:00
Devin Lin
b41a80466a taskpanel: Use 'visible' to check keyboard state, not 'active'
The virtual keyboard can be active but not visible. We want to use the
visibile property when determining whether there is a keyboard visually
showing.
2025-07-11 15:29:57 -04:00
Devin Lin
d3cb51bef6 initialstart: Fix wallpaper path
The wallpaper paths changed for Plasma 6.4: https://invent.kde.org/plasma/breeze/-/tree/master/wallpapers/Next/contents?ref_type=heads

We really need a more adaptive way to do this in the future...
2025-07-11 01:38:18 -04:00
l10n daemon script
8519bb7be3 GIT_SILENT Sync po/docbooks with svn 2025-07-11 01:42:59 +00:00
l10n daemon script
4ed20886c0 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2025-07-11 01:34:44 +00:00
Devin Lin
d0b1df97a6 homescreens/halcyon: Unify search widget with folio
This commit drops halcyon's search widget in favour of using the same
widget as folio to share code. This also brings over its keyboard
navigation features.
2025-07-10 17:04:42 -04:00
Devin Lin
0bcab0ae3a homescreens/folio: Add keyboard navigation to app drawer and fix on
search

This commit is a subset of
https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/694 to add
keyboard navigation to the app drawer.

Pressing the arrow keys while in the app drawer will allow you to
navigate between the apps and the search bar, and going up will exit the
app drawer. Escape/Back is also supported for unfocusing the search bar
and exiting the view.

This also fixes an issue in the keyboard navigation on the search screen
where it wouldn't close when there are no search results.
2025-07-10 17:04:08 -04:00
Luis Büchi
04bcbd9f8d taskswitcher: fully qualify property lookups 2025-07-10 19:01:04 +02:00
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
l10n daemon script
036b633f16 GIT_SILENT Sync po/docbooks with svn 2025-07-10 01:43:01 +00:00
l10n daemon script
822096f1c8 GIT_SILENT Sync po/docbooks with svn 2025-07-09 01:45:50 +00:00
Florian RICHER
11792ae565 Add NewStuff Button 2025-07-07 22:36:55 -04:00
Luis Büchi
0d2e15cea4 taskswitcher: add QML type registration to taskmodel 2025-07-06 00:27:02 +02:00
Florian RICHER
78a7e641e2 Add model.isSupported checking 2025-07-05 10:30:30 -04:00
l10n daemon script
494e1242c3 GIT_SILENT Sync po/docbooks with svn 2025-07-05 01:41:57 +00:00
Nicolas Fella
25a3706d7f [mobiletaskswitcher] Add missing dependency to QML module
The module exposes TaskFilterModel, which extends QSortFilterProxyModel

QSortFilterProxyModel is registered to QML as part of the QtCore module, so we need to add that to DEPENDENCIES for tools like qmllint to work properly
2025-07-04 14:59:13 +02:00
l10n daemon script
7e6eeeace9 GIT_SILENT Sync po/docbooks with svn 2025-07-04 01:42:10 +00:00
Florian RICHER
ceeb3b3770 folio: Load SettingsComponent as Async
Avoid to load SettingsComponent in same time as Homescreen because it take ~200ms to load.
2025-07-03 15:41:43 -04:00
l10n daemon script
8c1bb94310 GIT_SILENT Sync po/docbooks with svn 2025-07-03 07:54:56 +00: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
l10n daemon script
aa368499f1 GIT_SILENT Sync po/docbooks with svn 2025-07-02 11:09:43 +00:00
l10n daemon script
eb6e6843b5 GIT_SILENT Sync po/docbooks with svn 2025-07-02 08:03:54 +00:00
l10n daemon script
614d9dfdcd GIT_SILENT Sync po/docbooks with svn 2025-07-02 01:44:50 +00:00
Florian RICHER
a329099b83 lockscreen: Add DoubleTap to Lock in Lockscreen
Thx @devinlin to help me fix the MouseArea ^^

Can fix https://invent.kde.org/teams/plasma-mobile/issues/-/issues/90
2025-07-01 11:03:26 -04:00
l10n daemon script
975b6bd3bb GIT_SILENT Sync po/docbooks with svn 2025-07-01 01:44:27 +00:00
Devin Lin
ab3f7243ec envmanager: Use BorderlessMaximizedWindows option
This allows for the window decorations to not be drawn on initial window
open, so we don't have to rely on our KWin script (which has a slight
delay).
2025-06-30 17:09:23 -04:00
Micah Stanley
d2ba42b503 MaskLayer: Rename Homescreen Scale Property 2025-06-30 11:10:57 -04:00
l10n daemon script
92748d80d3 GIT_SILENT Sync po/docbooks with svn 2025-06-30 01:46:16 +00:00
l10n daemon script
7b1b108785 GIT_SILENT Sync po/docbooks with svn 2025-06-29 01:47:47 +00:00
Devin Lin
6af5d97595 folio: Ensure y anim signals don't get emitted if value didn't change
This ensures extraneous signals from being emitted when values don't
change in y animations. This fixes the vkbd in the search widget getting
in a weird stuck state due to multiple focuses on the search widget.
2025-06-28 11:04:11 -04:00
Devin Lin
147e949ee7 actiondrawer: Fix color detection
PanelBackground supplies color through the `panelColor` property, not
`color`.
2025-06-28 10:48:26 -04:00
Devin Lin
47a886988f homescreen: Use generic app name when X-KDE-PlasmaMobile-UseGenericName is set in a .desktop file
This commit adds support for using the generic app name when the "X-KDE-PlasmaMobile-UseGenericName" .desktop key is set.

This allows us to have applications that we consider "system apps" to have a generic name, without needing to change the "Name" tag itself when used in other desktop environments (ex. Plasma Desktop).
2025-06-28 00:19:50 -04:00
Florian RICHER
4cd1dfaf04 shell: Fix Compact applet display popup when fullRepresentation is null
Fix https://invent.kde.org/plasma/plasma-mobile/-/issues/361

Avoid to display empty popup when fullRepresentation is set to null
2025-06-27 22:35:12 -04:00
l10n daemon script
38f15ced14 GIT_SILENT Sync po/docbooks with svn 2025-06-28 01:43:13 +00:00
Micah Stanley
d4eaf693c6 Folio/Halcyon: Expand Background Blur Effect using a MaskLayer
This merge request expands upon the folio and halcyon background blur effects, making the folio background blur include the backgrounds of folder icons, the favorites bar, and wallpaper selector, and for halcyon, it now includes the folder icons, app library, search, and wallpaper selector. To accomplish this, a mask layer plugin was created to easily attach to these elements. This way, we can use a `OpacityMask` to cut out from the existing blur layer, thus hopefully keeping the performance cost low. And with my limited testing, it does at least seems to run about the same on my oneplus 6t, though it is not really a low end device, so I can not fairly judge the impact for something slower (eg. PinePhone). To be on the safe side, a third option was also added to the folio settings, allowing for the ability to toggle back to the old functionality if needed.

![Screenshot_20250613_135521](/uploads/d5aa81d6589b61fbba675e4a6e621b55/Screenshot_20250613_135521.png)
![Screenshot_20250613_135536](/uploads/bd726459a131f736e2711ced3fe90d4f/Screenshot_20250613_135536.png)
![Screenshot_20250613_135505](/uploads/c603627b4e65d4b956a1e0b6463d28f3/Screenshot_20250613_135505.png)
![Screenshot_20250627_093729](/uploads/e5f1ad672361c2b9bae23e57905336eb/Screenshot_20250627_093729.png)
2025-06-27 14:27:30 -04:00