Commit graph

460 commits

Author SHA1 Message Date
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
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
Micah Stanley
8e3e05ddea Folio: Add Haptic Feedback
This merge request adds haptic feedback to the folio home screen when:
- Pressing and holding on an app icon
- Pressing and holding on an widget
- Pressing and holding for opening the settings component
2025-05-01 05:04:38 -04:00
l10n daemon script
efb518c817 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-04-27 01:31:31 +00:00
Micah Stanley
5fade2d5eb Folio: Search Widget View State Bugfix
Fixes a bug where if one swipes up from the app drawer and immediately swipes up again to the search widget, then lets the widget fully appear, then after that at any point swipes down to dismiss it, it will cause the swipe action to reveal the app drawer instead of the home screen. This was resolved by making sure when `closeAppDrawerAnim` is active, to only set the view state to `PageView` if the view state equals `AppDrawerView`. This prevents `closeAppDrawerAnim` from overwriting the `SearchWidgetView` state and making it seem to think we are still on the home screen when swiping down.

Here is a video of the bug in question.

![Screencast_20250424_225241__online-video-cutter.com_](/uploads/f5d03324850688028628ef8fc18f6c28/Screencast_20250424_225241__online-video-cutter.com_.mp4)
2025-04-25 12:39:05 +00:00
Micah Stanley
06e5a89ca7 Folio: Make SettingsComponent Buttons Match FavoritesBar Location
This merge request makes the SettingsComponent buttons match the FavoritesBar location. This helps better utilize the available screen space as before the buttons would exclusively remain at the bottom and could cause them to overlap with the HomeScreenPage or navbar.

Before:

![Screenshot_20250424_093156](/uploads/be3b3ef255333052a8f2b74b8645a906/Screenshot_20250424_093156.png)

After:

![Screenshot_20250423_181926](/uploads/7823b8e2d1ba41c376bc83b80ea56136/Screenshot_20250423_181926.png)
2025-04-25 01:23:48 +00:00
Micah Stanley
a452bc3030 Folio: Settings Component Bugfix
Fixes a bug where if one presses and holds the home screen to bring up the settings component, then swipes up to access the application drawer while the settings component open animation is playing, both the drawer and settings component will be visible on screen at the same time. Fixing this was achieved by setting swipe state back to none whenever the settings component is opening and a onSwipeMove event happens.

Video of the bug.

![Screencast_20250423_151033](/uploads/7f4f04617c42d5898322a8fa5ef306b8/Screencast_20250423_151033.webm)
2025-04-24 13:42:16 +00:00
Micah Stanley
036cc8502b Folio: Add ability to lock layout
Adds a new setting to lock the layout of the home screen so one will not accidentally modify it.

Closes https://invent.kde.org/plasma/plasma-mobile/-/issues/459
2025-04-21 14:01:54 +00:00
Devin Lin
d621b23eb0 folio: Delete delegates if the application is removed
When an application is detected to be removed from the system, remove the delegate from the homescreen layout as well.
2025-03-19 23:40:11 -04:00
Micah Stanley
e4323f4ef0 notification list: fix notification scrolling within action drawer and lockscreen
This merge request fixes an issue with notification list scrolling and also adds a few general improvements.

To accomplish this, the notification widget was moved outside of the action drawer swipe area and lock screen swipe area, separating them from the parent-child relationship. Instead, the notification widget is now layered separately on top. This change seems to fix the conflict when both areas are accepting swipes from the same direction.

Additionally, changes were made to the notification list widget for the action drawer to make it behave similarly to the folio home screen app library. Specifically, when at the top of the list, one can swipe down over the notification area to expand the action drawer. In landscape mode, the media widget, clock, and date were also added to the notification list to provide more room for viewing notifications when scrolling.

Closes https://invent.kde.org/plasma/plasma-mobile/-/issues/318
2025-03-20 02:06:33 +00:00
Devin Lin
df6fb87ac8 folio: Add visual placeholder for favourites bar
This adds a visual placeholder when dropping applications on the
favourites bar, making it consistent with dropping applications on a
page.
2025-03-19 21:50:27 +00:00
Devin Lin
3afdafd8c2 folio: Use dynamic list insert/delete for changes
Should help reduce the effect of https://invent.kde.org/plasma/plasma-mobile/-/issues/440

Instead of fully resetting the application list when the ksycoca db
changes, calculate which items are removed and added based on the
storageId and emit targeted signals for them.
2025-03-19 21:45:06 +00:00
Devin Lin
c5f0d15b14 folio: Fix AppDelegate null errors
Sometimes due to model changes the application will be null, which
causes a lot of errors in the console. Add null checks to avoid this.
2025-03-19 18:23:35 +00:00
Devin Lin
3550caa580 folio: Use smart pointers to manage delegate lifetimes
Currently delegates do not get deleted when removed from models. Due to
the complexity of drag state and other objects, we can't simply delete
the delegate when removed from the model because they might still be
involved in animations or other state at the time of removal. Use smart
pointers to have the delegate objects deleted instead.

QML unfortunately doesn't support QSharedPointer, so we need to expose raw pointers to it.
2025-02-21 18:06:24 +00:00
Devin Lin
7d9054f74e applicationlistmodel: Space out application list refreshes
Use the same behavior as kickoff on desktop, to limit application list
refreshes to once every 100ms.

https://invent.kde.org/plasma/plasma-mobile/-/issues/440
2025-02-17 15:22:38 +00:00
l10n daemon script
b993b510a4 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"
2024-12-15 01:40:00 +00:00
Micah Stanley
3a6a2f78da homescreen/folio: fix icon drop position misalignment within folder and outside folder view check not accounting for size differences
This fixes an issue with folder app icon drop positions being misaligned. Noticeably causing issues when placing apps within folders when using gesture only mode.
Also, this fixes an issue with the outsideView calculation not accounting for folder icon size differences. Causing an issues with some apps still being interactive when outside the current page.
2024-11-20 03:20:01 +00:00
Devin Lin
b9d4ff6455 Revert "homescreens: Use WheelHandler on app list"
This reverts commit 11a45f94d2.
2024-11-10 21:01:28 -08:00
Devin Lin
a8068ff2bb homescreen/folio: Fix favourites bar reordering when full
Fix the favourites bar reordering when it is already full, currently it
prevents any changes on a full bar, requiring users to move the delegate
out and back in again.
2024-11-10 19:22:32 +00:00
Micah Stanley
ca7b79e0b7 homescreen/folio: Fix folder apps still being Interactable when outside current page
This fixes an issue where apps in the folder can still be interacted with when outside the current page.
2024-11-10 00:05:10 +00:00
Micah Stanley
f52bf0bd71 homescreens/folio: Homescreen folder page snapping position bugfix
This fixes an issue where if the device is rotated in a folder, the page would not snap immediately back to the right position, but would instead animate icon position changes.

To achieve this, the following changes were made.
- changes were made to how the folder gird size is calculated to prevent an issue with the grid size changing for a brief period of time during screen rotation, causing problems with snapping to the correct page.
- icons position animations are now done by a animated index value to prevent it from animating when the device rotates
- when the device screen size changes (ex: device rotation), it now snaps to the current folder page, as before it would just stay in between the two pages.
2024-11-09 19:04:24 +00:00
Devin Lin
c2731f650e homescreens/folio: Fix goToPage call not updated with new parameter 2024-11-09 09:34:57 -08:00
Devin Lin
aa3e42f65a homescreens/folio: Fix favourites bar ghost position when drag out
Fix the scenario where the favourites bar ghost position is not removed
when the user drags the delegate out of the bar area.
2024-11-09 17:12:04 +00:00
Micah Stanley
2a5dec9cf0 homescreens/folio: FavouritesBar: Icon position animation bugfix
This fixes in issue where the favorites bar icons would previously animate based off of position changes. This was causing unwanted animations in situations like screen rotation and login.
2024-11-07 05:17:57 +00:00
Micah Stanley
f5728e1a21 homescreens/folio: Homescreen page snapping position Bugfix
This fixes an issue where if the device is rotated on the 2nd or further page, the page would not snap immediately back to the right position, but would instead animate.
2024-11-07 05:12:47 +00:00
Devin Lin
3fd81679ed homescreens/folio: Remove icon on one of the settings delegates
None of the other settings delegates have icons, it makes it look
strange.
2024-10-31 03:15:22 +00:00
Devin Lin
57caf24504 homescreens/folio: Never open both search and app drawer
This ensures that the search widget and app drawer never simultaneously
both get opened.
2024-10-31 02:55:24 +00:00
Devin Lin
11a45f94d2 homescreens: Use WheelHandler on app list
Use Kirigami.WheelHandler on the app list to give a native feeling
scrolling experience with the mouse wheel.
2024-10-31 00:49:41 +00:00
Devin Lin
159e3bb3a6 homescreens/folio: Fix app icons being rounded to predefined sizes
This fixes the app icon size setting, which used to round to predefined
sizes regardless of the actual size setting.
2024-10-29 19:23:25 -07:00
Marco Mattiolo
4371c95194 Flag unused parameters with Q_UNUSED() 2024-09-28 06:31:00 +00:00
l10n daemon script
62a2633f72 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"
2024-08-28 01:30:06 +00:00
Laurent Montel
8c2faecb96 Remove virtual keyword when we use override 2024-08-19 07:39:01 +02:00
Devin Lin
3adcd1d51c swipearea: Add support for touchpad
This adds support for touchpad scrolling in various shell components, such as the lockscreen, homescreen and action drawer.

Currently TODO because it appears to be very buggy when there is a control underneath that also accepts touchpad input (ex. flickable). The touchpad scroll start appears to get called by Qt, but not the end event, so I am unable to "let go" of the flick. Not sure if it's a wayland issue.

This also appears to not work in the nested KWin session, not sure if it's because of libinput or something
2024-08-01 01:53:52 +00:00
Devin Lin
d4b6309f47 homescreens/folio: Fix settings saving for certain options
Fixes #397

The save and load keys were spelled slightly differently which caused setting savings to not work for toggling text labels and the favourites bar background.
2024-07-31 14:11:34 +00:00
Devin Lin
5153ff0123 homescreens/folio: Fix incorrect folio reference 2024-07-30 21:07:43 -04:00
Devin Lin
1702354d3f Use Kirigami.Units.cornerRadius in most radius values
This takes the place of using smallSpacing for the most part.
2024-07-27 00:02:05 -04:00
Devin Lin
eb9509ce68 Remove trailing whitespace 2024-07-26 23:47:44 -04:00
Devin Lin
7aae8c7fbc homescreens/folio: Ensure applets list closes when settings is closed 2024-07-26 16:34:12 -04:00
Devin Lin
0b8b51d2fc homescreens/halcyon: Fix favorites delegate not activating with touch
BUG: 486554

In Qt6 a bunch of weird behavior started happening with handlers which broke a bunch of things only in touch.

Remove the HoverHandler here which apparently wasn't used for anything, and causes any MouseArea to stop sending clicked and pressAndHold signals. DragHandler also appears to have stopped working with touch (for the folder close swipe gesture), but that involves far more rewriting to replace...
2024-07-23 14:40:54 +00:00
Devin Lin
b79fe898d6 homescreens/halcyon: Fix regression causing flickable to not be interactive
Fixed regression from https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/542
2024-07-14 20:23:00 -04:00
Devin Lin
5f38a74e31 homescreens/folio: Close settings view when home button is pressed
Some of the settings overlays are not windows, and so do not automatically get closed by the home button. Add behaviour for these scenarios.
2024-07-14 21:39:32 +00:00
Devin Lin
1570ac24c8 homescreens/folio: Make it easier to click on delegate context menus without starting drag
Dragging delegates on the homescreen involves holding onto it until the context menu pops up, and then dragging.

We currently suppress swipe detection (physically swipe a few pixels before the swipe gets registered) when dragging a delegate so that dragging can start immediately. However, this doesn't make sense if a context menu gets involved, because it can be hard to "let go" to tap the context menu without accidentally triggering the drag action and closing the context menu.

This MR re-enables swipe detection if a context menu is involved with delegate dragging.
2024-07-14 21:06:34 +00:00
Devin Lin
92965bd8ec homescreens/folio: Fix cube effect typo 2024-07-13 22:36:17 -04:00
Devin Lin
2d2b7407a6 startupfeedback: Change to be window based and controlled by a model
This makes the startup feedback more robust, by having instances be controlled by a model which can listen to window changes. Being window based also allows for the close button and gestures to work properly with it, since it will show up in the task switcher as well.

Fixes:
* https://invent.kde.org/plasma/plasma-mobile/-/issues/357
* https://invent.kde.org/plasma/plasma-mobile/-/issues/338
* https://invent.kde.org/plasma/plasma-mobile/-/issues/335 (dark themes now tint the background color)
* https://invent.kde.org/plasma/plasma-mobile/-/issues/330
* https://invent.kde.org/plasma/plasma-mobile/-/issues/30
2024-07-13 16:30:07 +00:00
F_Chao Fengchao
fff1f1959a Adding translation domains to some dynamic libraries to resolve untranslated issues. 2024-07-09 14:13:50 +08:00
Devin Lin
0ce95a604a homescreens/folio: Halve the needed swipe distance for swipe detection
SwipeArea requires 10px to differentiate between taps and swipes. HomeScreenState uses a further 10px to differentiate between vertical and horizontal swipes. This MR combines the swipe detection together so that we only need 10px rather than 20px for gesture detection.
2024-07-08 21:51:18 +00:00
Devin Lin
14cf029ece homescreens/folio: Fix widget config dialogs not having a background
The original workaround was targeting modal backgrounds, not the actual dialog background too.
2024-07-08 21:44:17 +00:00
Devin Lin
56ca0db5c6 homescreen: Add button to wallpaper selector to go to advanced settings
Currently you need to go from Settings -> "Switch between homescreens and more wallpaper options" to access the advanced wallpaper settings. Add a button directly into the wallpaper selector for this.
2024-07-05 02:53:26 +00:00
Devin Lin
c2791f3975 homescreens/folio: Add applications drawer search bar
Add a search bar to the applications drawer, to allow for quickly filtering apps.
2024-07-01 16:04:32 +00:00
l10n daemon script
518b94e018 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"
2024-06-28 01:25:09 +00:00
Devin Lin
5c53f9b6d2 windowplugin: Add per-screen support for WindowMaximizedTracker
Contributes to #317

This refactor changes WindowMaximizedTracker from being a Singleton, and allows for it to be created in a way such that screens can be filtered out.

This fixes external screens from having their homescreen "zoom out" when an app is maximized on another screen.
2024-06-26 00:44:31 +00:00
Devin Lin
ce89bfe491 homescreens/folio: Fix favourites delegate dragging 2024-06-24 12:20:22 +00:00
Devin Lin
e2e6590222 startupfeedback: Add support for multiple screens
Addresses https://invent.kde.org/plasma/plasma-mobile/-/issues/175
2024-06-23 16:48:32 +00:00
Devin Lin
21ed42ee30 homescreens/folio: Port away from singletons to support multi-display
https://invent.kde.org/plasma/plasma-mobile/-/issues/316
2024-06-22 19:11:04 -04:00
F_Chao Fengchao
e57d1854ad Fix: code error. 2024-06-19 09:47:03 +08:00
Marius P
17e92e72fc Proofreading 2024-06-17 00:02:08 +03:00
F_Chao Fengchao
60fa46e2dc Fix potential memory issues. 2024-06-11 03:12:49 +00:00
l10n daemon script
9131752fd3 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"
2024-06-08 01:20:22 +00:00
l10n daemon script
f7851a3f8f 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"
2024-04-25 01:16:26 +00:00
Devin Lin
7df864904a homescreens/folio: Minimize all windows when pressing start key rather than activate "show desktop" mode
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/333

There is some behavior with "show desktop" mode that we do not want (as it self-restores under certain focus conditions).

Just simply minimize all windows instead.
2024-03-16 00:06:42 -04:00
l10n daemon script
4ca3a25d4f 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"
2024-03-09 01:15:44 +00:00
Devin Lin
d2f63e6d9a homescreens/folio: Fix start button behaviour, ensure windows are minimized and it's not triggered in docked mode
BUG: 482870
2024-03-08 10:38:59 -05:00
l10n daemon script
28e6d523fb 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"
2024-03-08 01:13:51 +00:00
Devin Lin
ca55def5eb homescreens/folio: Improve performance of wallpaper blur, and enable by default
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/306

I added a ShaderEffectSource in between so that the blur only samples the wallpaper when necessary

I also switched to FastBlur which seems to be much, much faster than MultiEffect on the PinePhone.

From testing, this made the performance about on-par with no blur at all.
2024-03-07 13:07:06 +00:00
Devin Lin
95d3be0531 homescreens/folio: Prevent items from being added to favourites area if it's full
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/323
2024-03-06 20:35:31 +00:00
Devin Lin
e84989afee homescreens/folio: Add dialog to confirm whether to delete a folder 2024-03-06 20:35:04 +00:00
Devin Lin
98f925b5f9 homescreens/folio: Fix deleting delegates from folder not working 2024-03-06 09:09:42 -05:00
Devin Lin
8ae09cb17f homescreens/folio: Fix widget full representation being shown when starting drag and drop
It's unnecessary to set the anchors on the full representation; it causes it to also show when the minimized representation is presented.
2024-03-05 04:07:24 +00:00
Devin Lin
a4d0894933 homescreens/folio: Delete empty page at end if last delegate is deleted 2024-03-04 22:24:44 -05:00
Devin Lin
da279065e6 meta: Fix appstream tests 2024-03-03 20:27:41 -05:00
Devin Lin
aac41402f3 homescreens/folio: Don't show background for widget configure dialog
https://invent.kde.org/plasma/plasma-mobile/-/issues/320
We seem to encounter an issue when a widget is deleted where the background stays. Workaround it for now.
2024-03-04 01:17:59 +00:00
Alexander Lohnau
907363c594 Remove Qt module includes 2024-02-16 13:38:23 +01:00
Alexander Lohnau
40dfc53486 Remove unused slot params 2024-02-16 13:37:26 +01:00
Devin Lin
2f3bca4a1e homescreens/folio: Add arrow if there is one page
Show arrow to open app drawer if there is only one page. Open the app drawer if it is tapped.
2024-02-11 18:15:51 -05:00
Devin Lin
cfa4cbbd3a homescreens/folio: Add setting to toggle wallpaper blur, and disable by default
The wallpaper blur causes extreme lag on the PinePhone, best to disable it for now by default, and hide it behind a setting. :C

https://invent.kde.org/plasma/plasma-mobile/-/issues/306

PS: is there a string freeze ongoing? this introduces 2 new strings
2024-02-08 17:10:55 +00:00
l10n daemon script
7f1e574816 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"
2024-01-29 01:12:33 +00:00
Fabian Vogt
30fa54b401 homescreens/folio: Remove unused plugin directory 2024-01-24 21:11:49 +01:00
l10n daemon script
bba776a5fb 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"
2024-01-05 02:08:21 +00:00
Devin Lin
1dbd1505dc shell: Move wallpaper selector to homescreens directly 2024-01-02 03:32:15 +00:00
Luis Büchi
cb2f857a4c increase size of grid items in halcyon homescreen 2024-01-01 23:17:08 +00:00
l10n daemon script
dbe069edfa 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"
2023-12-17 02:07:26 +00:00
Laurent Montel
b69efbe601 Qt5 code as apps is qt6 only. 2023-12-15 21:41:40 +01:00
Devin Lin
c700e0a4b9 homescreens/folio: Add title to import file dialog 2023-12-14 23:04:25 -08: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
Marco Martin
13175aff62 Add back a metadata key for api minimum version
Fixes an oversight: people are going to upgrade from 5 to 6, some will
have 3rd party plasmoids from the store that will still be for plasma5.

We want a different error message when we know the plasmoid is "old" In
Palsma4 times we used to have for the pure JavaScript plasmoids an api
version key that could be used for things like that.

This makes it a bit more future proof for any future api change there
will be

CCBUG:474456
2023-11-20 12:44:53 +01:00
Devin Lin
d895e34e6b homescreens/folio: Scale out animation when opening search 2023-11-17 23:53:14 -08:00
Devin Lin
c9784b143d homescreens/folio: Blur faster during swipes 2023-11-17 23:53:01 -08:00
Devin Lin
b515d6ffba homescreens/folio: Allow overscroll at the top of the app grid 2023-11-17 23:37:15 -08:00
Devin Lin
a6fd7ef82b homescreens/folio: Fix wallpaper blur 2023-11-16 22:40:07 -08:00
Devin Lin
da85481f49 homescreens/folio: Fix running app indicator position 2023-11-16 21:38:02 -08:00
Devin Lin
2e83a910a3 homescreens/folio: Clear krunner when closed 2023-11-15 23:11:03 -08:00
Devin Lin
871bee83c0 homescreens/folio: Use MultiEffect for blur and blur behind task switcher 2023-11-15 22:33:44 -08:00
Devin Lin
e23c763018 homescreens/folio: Add wallpaper blur 2023-11-15 08:44:34 -08:00
Devin Lin
99bdec0669 homescreens/folio: Improve configure menu 2023-11-13 20:26:45 -08:00
Devin Lin
fcae624d12 homescreens/folio: Improve widget configuring controls
Increase the touch padding for resize handles to make it easier to drag, and shrink the configure button if it doesn't fit
2023-11-13 20:21:57 -08:00
Devin Lin
b1ff9978c1 homescreens/folio: Allow overscroll from swipe from top of app drawer 2023-11-12 12:03:07 -08:00
l10n daemon script
1a44c570f6 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"
2023-11-10 02:17:56 +00:00
ivan tkachenko
22f7d490ba
Revert "Port away from PlasmaCore and PlasmaExtras to Kirigami"
This (partially) reverts commit 127bbdf653.

Only incorrect changes from Kirigami.Units.largeSpacing to
Kirigami.Units.gridUnit are reverted. Only Plasma.Units were buggy.
2023-11-08 21:16:19 +03:00
Devin Lin
6f296f3e46 homescreens/folio: Fix translations id 2023-11-05 11:45:36 -08:00
Devin Lin
34271281ec homescreens/folio: Animate settings open, and add close button to widget selector 2023-11-05 09:46:17 -08:00
Devin Lin
a049f07095 homescreens/folio: Allow app grid overshoot, and fix app drawer opening state 2023-11-05 09:13:37 -08:00
Devin Lin
03adeffb8d homescreens/folio: Fix widgets from opening their expanded mode when moved 2023-11-05 08:37:04 -08:00
Devin Lin
4f48f127a4 homescreens/folio: Add widgets support 2023-11-04 22:18:52 -07:00
Yari Polla
4f45654af6 Port mobileshell plugins to ecm_add_qml_module 2023-11-02 11:08:17 +00:00
Devin Lin
930e613362 homescreens/folio: Fix settings button styling 2023-10-23 08:40:26 -07:00
Devin Lin
da142b608c homescreens/folio: Add fade, stack, rotation transitions 2023-10-22 20:41:44 -07:00
Devin Lin
fa8aa6e85f homescreens/folio: Fix cube effect 2023-10-22 19:47:16 -07:00
Devin Lin
6488784472 homescreens/folio: Add page transition option 2023-10-22 12:34:02 -07:00
Devin Lin
dd8916c611 homescreens/folio: Allow opening settings menu from favourites bar 2023-10-22 10:55:04 -07:00
Devin Lin
9fb2951384 homescreens/folio: Fix overscroll in app drawer 2023-10-22 10:54:42 -07:00
Devin Lin
b51024c272 homescreens/folio: Remove default import/export folder 2023-10-22 10:54:20 -07:00
Devin Lin
c5fe3fc1eb homescreens/folio: Fix settings window raise when already opened 2023-10-22 10:20:32 -07:00
Devin Lin
f1aff0b13e homescreens/folio: Add import/export homescreen layout setting 2023-10-22 10:17:09 -07:00
Devin Lin
580afdfc9c folio: Rewrite
fix landscape favourites bar drag and drop, and cleanup folder

fix drawer scrolling

add settings
2023-10-22 04:08:28 +00:00
l10n daemon script
6341f6619c 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"
2023-10-22 02:34:49 +00:00
Laurent Montel
293af7df36 Use std::as_const here 2023-10-18 07:18:35 +02:00
Alexander Lohnau
45072177d5 Remove unneeded entries from metadata files 2023-10-17 05:14:04 +00:00
Nicolas Fella
16a3165cd9 Port to KService::startupNotify() 2023-10-01 18:58:19 +00:00
Devin Lin
cf333bb784 homescreen: Fix opening configuration dialog 2023-09-27 22:38:54 -07:00
Devin Lin
f84715ec4c homescreens/halcyon: Fix favourite delegate sizing 2023-09-26 21:20:29 -07:00
Devin Lin
b0aa4db836 widgets/notifications: Fix notificationmanager import 2023-09-26 21:08:49 -07:00
Marco Martin
69dc189941 Make PlasmoidItem accessible from HomeScreen
it needs availableScreenRect which can be provided only from
PlasmoidITem
2023-09-20 14:41:40 +02:00
Nicolas Fella
9d16564ed6 Remove metadata from applet C++ plugin
It's not needed and causes a warning about defining an explicit Id
2023-09-14 00:18:45 +02:00
Marco Martin
d719f407dd Port away from using colorGroup property directly in svg items
SvgItem and FrameSvgItem automatically follow the colorSet of
Kirigami.Theme and to set a custom one the usual inherit api is used

https://invent.kde.org/frameworks/ksvg/-/merge_requests/22 removes those properties
2023-09-05 16:18:47 +00:00
Nate Graham
cc50aee72d Remove versioning from PlasmaCore module imports
It's unneeded in Qt6 and can cause subtle issues.
2023-09-05 09:34:49 -06:00
Nicolas Fella
7f79d7b86f Adapt to KNotificationJobUiDelegate moving to KJobWidgets 2023-08-21 22:00:23 +00:00
Marco Martin
42cccf8e7f port to Kirigami.Icon
Part of https://invent.kde.org/plasma/plasma-workspace/-/issues/82

PlasmaCore.IconItem will be removed; now only the kirigami icon
should be used.
2023-08-18 09:08:07 +00:00
l10n daemon script
f2cedc32b6 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"
2023-08-15 02:14:27 +00:00
Devin Lin
c3faca672d homescreens/halcyon: Update to latest unit sizing 2023-07-24 22:46:21 -04:00
Alexey Andreyev
127bbdf653 Port away from PlasmaCore and PlasmaExtras to Kirigami
See also:

https://pointieststick.com/2023/06/14/call-to-action-easy-porting-opportunity-in-plasma/
2023-07-25 01:13:52 +00:00
Alexey Andreyev
2275e2d7dd port QML to KSvg
Search and replace all the occurrences of Svg/FrameSvgItem/SvgItem
to their new implementation from KSvg.
Changes only namespace, API is the same

See also:
https://invent.kde.org/frameworks/ksvg/-/issues/1
2023-07-10 02:04:42 +03:00
Devin Lin
25a513d829 panels: Port to plasma-framework changes 2023-06-12 20:49:54 -04:00
Devin Lin
8a577f9a57 homescreens: Update API usage to match changes for Plasmoid & Containment 2023-06-12 19:58:17 -04:00
Devin Lin
380060b8ec homescreens/halcyon: Port from QtGraphicalEffects to MultiEffect 2023-05-12 19:43:49 -04:00
Devin Lin
75bf58bfb2 homescreens/halcyon: Fix favorite delegate height
It was changed originally to address PlasmaCore.Units.gridUnit having a different value in KF6 master, but it seems it was a bug and was fixed.
2023-05-12 18:59:36 -04:00
Devin Lin
d7bc385013 Port Kirigami.Action iconName to icon.name 2023-05-09 23:33:33 -04:00
l10n daemon script
c8bb30dc0b 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"
2023-05-09 02:28:58 +00:00
l10n daemon script
9f6345c3f3 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"
2023-05-08 02:24:47 +00:00
l10n daemon script
b37b5fc8a3 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"
2023-04-27 02:29:47 +00:00
Daniel Hofmann
54e9ced5b4 Increase interval to clock update from 1 second to 60 seconds.
This reduces energy consumption.
2023-04-24 15:30:31 +00:00
l10n daemon script
42bf272681 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"
2023-04-19 02:38:31 +00:00
Devin Lin
5db71d3af0 homescreens/halcyon: Fix folder header padding 2023-04-11 22:25:04 -07:00
Devin Lin
6fbe8e7e64 homescreens/halcyon: Fix FolderGrid loading 2023-04-11 20:50:04 -07:00
Devin Lin
2af706d197 homescreens/halcyon: Fix some layouting issues and simplify 2023-04-10 22:16:43 -07:00
l10n daemon script
4b911fa0bc 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"
2023-04-03 02:25:31 +00:00
Devin Lin
88d9c066af kwin/mobiletaskswitcher: Restore touchscreen functionality to app activation 2023-03-30 23:05:27 -07:00
Yari Polla
16c66c161d Revert "halcyon: use the new menu popup"
This reverts commit a353e87e47.

This causes the homescreen delegates to no longer be draggable, and breaks the ability to reorder them
2023-03-30 22:25:22 -07:00
Devin Lin
0e4b1da9a1 volumeosd: Extract out singleton so that it's only loaded once in plasmashell 2023-03-19 21:10:49 -07:00
Devin Lin
f25840bfc2 mobileshellstate: Move to DBus API instead of trying to use shared QML context
This also allows us to trigger behaviour from other processes that import mobileshell
2023-03-19 18:32:52 -07:00
Devin Lin
3f309067ef widgets/krunner: Restore milou 2023-03-19 17:06:16 +00:00
Devin Lin
da6e17f3f4 windowplugin: Use standardized way to know whether a window is showing and maximized 2023-03-18 18:48:49 -07:00
Devin Lin
79e99a9cfe shellsettingsplugin: Extract out from mobileshell component 2023-03-18 12:28:28 -07:00
Yari Polla
ce89c2a000 homescreens/halcyon: fix dragging glitch while in folder view 2023-03-17 17:06:01 +01:00
Yari Polla
f647e12f25 homescreens/halcyon: avoid double direction dragging 2023-03-17 16:33:10 +01:00
Devin Lin
bd8de03230 homescreens/halcyon: Fix focus child connection 2023-03-16 23:41:19 -07:00
Devin Lin
158af43fd4 audio: Refactor applet and extract singleton to MobileShellState
The eventual goal is to have as few singletons with state as possible in the mobileshell component when it is imported into components such as the lockscreen.

This doesn't fully accomplish it, but moves the audio provider singleton to MobileShellState, which will eventually need to be prevented from importing into non plasmashell processes.

This also disables the sound feedback when changing volume, since it can be a source of lag when showing the applet.
2023-03-16 07:21:01 +00:00
Devin Lin
8d311ed97b windowplugin: Fix remaining references to old plugin 2023-03-15 08:20:15 -07:00
Devin Lin
0775c56153 windowplugin: Extract out windowutil from mobileshell to separate plugin
This allows us in the future to use mobileshell without having the WindowUtil singleton loaded (which does a bunch of wayland calls that aren't necessary for most applications).
2023-03-15 15:12:23 +00:00
Devin Lin
eb03fe8c94 taskswitcher: Port to kwin effect 2023-03-13 22:07:32 -07:00
Yari Polla
f87c7c5526 homescreens/halcyon: switch page when trying to move out of the grids 2023-03-14 05:02:46 +00:00
Yari Polla
c3882691bc homescreens/Halcyon: trigger children using signals instead of focus property 2023-03-14 00:18:18 +00:00
Yari Polla
4fc8582da5 homescreen/halcyon: visual adjustments 2023-03-14 00:18:18 +00:00
Yari Polla
a414563c02 homescreens/halcyon: implement keyboard arrow navigation 2023-03-14 00:18:18 +00:00
Yari Polla
a353e87e47 halcyon: use the new menu popup 2023-03-13 12:20:25 +00:00
Yari Polla
4b5c6ca3f5 homescreens/halcyon: fix plasmoid activation 2023-03-12 21:36:40 +01:00
l10n daemon script
cc7fac30e8 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"
2023-03-11 02:59:39 +00:00
Marco Martin
acd8605a4f Port dataengine usage to plasma5support
DataEngines are deprecated and are being splitted in a (temporary lived)
compat library called plasma5support
2023-03-08 14:26:36 +01:00
Devin Lin
9ff119282b homescreens/halcyon: Fix app icon during launch from favourites page 2023-03-06 23:03:46 -08:00
Yari Polla
847529751e metadata: port to KPackageStructure 2023-03-07 00:52:30 +01:00
Yari Polla
b866f6b70e use new PointerDevice names 2023-03-06 22:32:37 +01:00
Yari Polla
c4f0ce09cb Bring back Folio 2023-03-06 19:13:48 +00:00
Yari Polla
ed87f57938 halcyon/pinnedmodel: build singleton type using static method 2023-03-06 16:21:35 +01:00
Yari Polla
8b5ec57d0b explicitly declare signal handlers params 2023-03-06 14:09:54 +01:00
Devin Lin
29229789e8 homescreens/halcyon: Remove manual sync on reorder to improve performance 2023-03-05 23:11:04 -08:00
Devin Lin
716867475c homescreens/halcyon: Fix crash on favourite reorder 2023-03-05 23:06:35 -08:00
Yari Polla
348d7821cc halcyon: use static method to register object 2023-03-06 06:05:59 +00:00
Yari Polla
1d46f88e6e fix halcyon pinned model 2023-03-06 06:00:22 +00:00
Devin Lin
2403b20304 Use PlasmaComponents menu 2023-03-05 12:54:07 -08:00
Yari Polla
03e851e7b8 adapt library name to metadata Id 2023-03-05 19:42:40 +00:00
Yari Polla
0f47dcb969 Revert "move ids to metadata root"
This reverts commit 99b343e5a6
2023-03-05 19:41:13 +00:00
Yari Polla
99b343e5a6 move ids to metadata root 2023-03-05 20:36:42 +01:00
Yari Polla
94baafee6e fix build 2023-03-05 19:14:17 +01:00
Devin Lin
97d549c34c homescreens/folio: Port to plugin architecture 2023-03-05 09:39:44 -08:00
Devin Lin
e05d368913 homescreens/halcyon: Fix license 2023-03-05 09:39:44 -08:00
Devin Lin
3ede60a091 Rename containments 2023-03-05 09:39:44 -08:00
Nicolas Fella
2b5504d268 Add missing PlasmaQuick link 2023-03-05 18:14:32 +01:00
Devin Lin
ad8f7cf99c Fix accidental commenting 2023-03-02 22:11:51 -08:00
Devin Lin
f0c756214a Port QtGraphicalEffects 2023-03-03 06:01:23 +00:00
Devin Lin
1dbb1c78f6 Port to Qt6/KF6 2023-03-03 06:01:23 +00:00
l10n daemon script
acc6431029 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"
2023-03-01 23:48:55 +00:00
l10n daemon script
ccbd4d03b7 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"
2023-02-24 02:05:19 +00:00
Devin Lin
8a3aeaf40c homescreens/halcyon: Cache dropshadow 2023-02-18 10:27:22 -08:00
Devin Lin
1823cff3f3 homescreens/halcyon: Fix configure screen showing up in task switcher 2023-02-11 10:30:27 -08:00
Devin Lin
64cdab12dd homescreen/halcyon: Fix direction of arrow and add drop shadow to placeholder message
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/235
2023-02-08 08:28:35 -08:00
l10n daemon script
4f79c96666 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"
2023-02-08 02:07:41 +00:00
l10n daemon script
9f420519b1 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"
2023-02-04 02:10:12 +00:00
l10n daemon script
46ace5ee36 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"
2023-01-28 02:04:50 +00:00
David Redondo
750d5581ef Revert "Show all headers in qtc6"
There was no consensus for this in Plasma.
This reverts commit c79ca828f3.
2023-01-24 08:51:18 +01:00
Laurent Montel
c79ca828f3 Show all headers in qtc6 2023-01-22 18:30:45 +00:00