Commit graph

3544 commits

Author SHA1 Message Date
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
Devin Lin
d4f1c78d61 doubletaptolock: Simplify, and use "lock" instead of "sleep"
This MR does several things as a followup to
https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/748:
- Use the word "lock" instead of "sleep" since we are locking the
  device, not putting it to sleep
- Simplify usage by using existing MouseAreas instead of including our
  own for this feature (I encountered several focus captures in folio that prevented the
SwipeArea from getting events)
2025-06-27 00:14:26 -04:00
l10n daemon script
f085843957 GIT_SILENT Sync po/docbooks with svn 2025-06-27 01:45:31 +00:00
Devin Lin
5e3fa11be7 panel & taskpanel: Port to use plasma_add_applet
Use plasma_add_applet to deploy the applets as a module: https://invent.kde.org/plasma/libplasma/-/merge_requests/1116

We eventually need to do this for Halcyon and Folio homescreens too, but
they also have a bunch of C++ classes to be ported to declarative type
registration.
2025-06-26 20:46:48 -04:00
Devin Lin
1d3ceb5801 homescreens/halcyon: Add settings page
Add a settings page to halcyon, which allows for toggling whether the
wallpaper is blurred and double tapping on the homescreen to lock the
device. This also does a bit of refactoring for folio and halcyon to
share the same wallpaper blurring item.
2025-06-26 18:57:12 -04:00
Luis Büchi
5d33295443 add type annotations to taskswitcher QML and do more explicit typing 2025-06-26 16:30:41 +02:00
l10n daemon script
2689913bc2 GIT_SILENT Sync po/docbooks with svn 2025-06-26 01:44:27 +00:00
Devin Lin
ca9696b84d notifications: Fix do-not-disturb
The implementation of do-not-disturb broke after the port to our own
notification popups. Since the notification widget is quite deep in the
ActionDrawer, just implement the DBus listening directly in
NotificationsWidget. Also add the missing pulseAudio object in
NotificationPopupProvider to implement notification inhibition.
2025-06-25 20:08:38 -04:00
Devin Lin
46578fde73 singletons: Initialize singletons in shell desktop, not panel
We have some singletons (ex. for notification popups, volume, dbus) that
need to be initialized somewhere in plasmashell. Currently they are done
from the panel containment, which is a bit of a strange location. There isn't really
any offical way it seems to do this, so move it to the shell package
which feels more central.
2025-06-25 19:33:00 -04:00
Devin Lin
7c07dc0122 components: Remove unused ExtendedAbstractButton
This component is not used anywhere in the shell, remove it.
2025-06-25 16:47:01 -04:00
Devin Lin
3cc22dd7fb volumeosd: Fix qml errors when undefined
Sometimes the HasVolume property apparently is undefined? Handle this
case gracefully so it doesn't spam the console.
2025-06-25 16:40:29 -04:00
Florian RICHER
2b51e0c30c homescreens/folio: Add options to turn off and lock the phone after a double tap on screen
Linked to issue: https://invent.kde.org/teams/plasma-mobile/issues/-/issues/318
2025-06-25 16:39:36 -04:00
l10n daemon script
0b8c42193d GIT_SILENT Sync po/docbooks with svn 2025-06-25 01:47:09 +00:00
l10n daemon script
8f4c7234be 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-06-25 01:34:50 +00:00
l10n daemon script
5ea804659d GIT_SILENT Sync po/docbooks with svn 2025-06-23 01:42:28 +00:00
Micah Stanley
7e2019cb0e MobileShell: Unify Item Background Elements
We so far have been recreating the background elements for all the item throughout the shell. This merge request simplifies this by unifying these elements into a single component, making is easier to keep things at a consistent design while also being able to adjust things when needed in the future.

Per request, I tried to keep thing looking mostly the same as before.

The first picture is what the action drawer looks like now, the one after is with these changes.

![Screenshot_20250621_154201](/uploads/7bd5129d942c8fbc3706dd1728b3a1dd/Screenshot_20250621_154201.png)
![Screenshot_20250621_155520](/uploads/9d2e925c9483579dec765813465e4d2d/Screenshot_20250621_155520.png)
2025-06-22 20:16:16 -04:00
l10n daemon script
ae226561e2 GIT_SILENT Sync po/docbooks with svn 2025-06-22 01:50:18 +00:00
Florian RICHER
19e07982dc lockscreen: Trigger QuickActionButton action after time finished instead of onRelease
Currently, we wait user release the button to trigger action. It makes more sense to trigger directly when the timer is triggered.

I keep buttonHeld variable for animation.
2025-06-21 07:49:30 -04:00
l10n daemon script
0512e1f3a2 GIT_SILENT Sync po/docbooks with svn 2025-06-21 01:45:50 +00:00
l10n daemon script
8ecfdf9927 GIT_SILENT Sync po/docbooks with svn 2025-06-19 01:41:47 +00:00
Micah Stanley
775d612d3e ActionDrawer: Fix Panel Opacity when Brightness is Adjusted
This merge request moves the location where the action drawer panel opacity gets set to the top of the background item stack to resolve an issue with the opacity not changing properly when the brightness is adjusted.
2025-06-18 17:02:12 -04:00
Florian RICHER (aka MrDev023)
43672a5ec5 homescreens/folio: Block propagation if edit mode is active to avoid widget to trigger event
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/387 and https://invent.kde.org/plasma/plasma-mobile/-/issues/353

I can't only block the touch events because it blocks also MouseEvent.
> I think because it's used to convert it by QT into Mouse Event with source == MouseEventSynthesizedByQt or MouseEventSynthesizedBySystem.

So the solution, it's to check if mouse event is a synthetized event and if edit mode has been triggered to block or not the event propagation

Test:

- On VM with kwin_wayland command
- On mobile
2025-06-18 05:53:15 -04:00
l10n daemon script
3f3f4c9630 GIT_SILENT Sync po/docbooks with svn 2025-06-18 01:41:50 +00:00
Devin Lin
19ea9f5164 actiondrawer: Draw our own background
Draw our own background in the action drawer instead of using the svg, because it loads faster when visible: true/false is set, and we do a bunch of resizing animations.
2025-06-17 18:00:41 -04:00
l10n daemon script
c4f11d2f01 GIT_SILENT Sync po/docbooks with svn 2025-06-17 01:42:41 +00:00
Florian RICHER
6a869007fc Load minimized Quicksettings as Async 2025-06-16 15:16:03 -04:00
Florian RICHER (aka MrDev023)
f9d4bd9a83 paginatemodel: Avoid to disconnect if model is the same because it's not reconnected after
The quick settings is not updated because sometimes is set to the same model but here, we disconnect all signals to previous model without check if is the same model, but we don't reconnect the signals if is the same model.
2025-06-16 15:04:32 -04:00
l10n daemon script
6bc80a7bce GIT_SILENT Sync po/docbooks with svn 2025-06-16 01:41:49 +00:00
l10n daemon script
2b88bc2fb0 GIT_SILENT Sync po/docbooks with svn 2025-06-15 01:43:08 +00:00
Devin Lin
7f8c9f8d5e notifications: Don't factor action drawer state in expiry
Currently opening the action drawer causes notification popups to
"expire", causing some unintended behaviour (ex. dismiss alarm/timer).

This commit removes this behaviour, and also fixes notification popup
expiry while the action drawer is open.

Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/468
2025-06-14 19:16:02 -04:00
Florian RICHER
a83e99ae8c Fix mistake on paginatemodel 2025-06-15 01:07:55 +02:00
Florian RICHER
3e0677b78e Use synchrone component loading instead of asynchrone to avoid concurrent bug 2025-06-15 00:59:09 +02:00
Florian RICHER (aka MrDev023)
4dec0e8c1d lockscreen: Add feedback when lockscreen action is not held
Final result: ![Enregistrement_d_écran_20250612_172825](/uploads/5714e5003c4252d22f0e2671dbd3523d/Enregistrement_d_écran_20250612_172825.webm)

I use a fill animation finally  (filling, unfilling) [See comments](https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/731#note_1237874)
2025-06-14 17:45:00 -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
Devin Lin
92a1cfc740 envmanager: Write options as immutable, and add kdeglobals
This commit writes options as immutable to the config file ([$i]
suffix), so that user defined options from desktop do not override our
specified mobile settings.

This commit also moves kdeglobals settings to be written to
~/.config/plasma-mobile/kdeglobals rather than directly to
~/.config/kdeglobals, continuing the work from
!723

Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/467
2025-06-13 07:16:18 -04:00
l10n daemon script
babb8587f8 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-06-13 01:33:11 +00:00