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
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
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
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
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
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
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
Devin Lin
c700e0a4b9
homescreens/folio: Add title to import file dialog
2023-12-14 23:04:25 -08: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
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