Commit graph

213 commits

Author SHA1 Message Date
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
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
Yari Polla
4f45654af6 Port mobileshell plugins to ecm_add_qml_module 2023-11-02 11:08:17 +00: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
Alexander Lohnau
45072177d5 Remove unneeded entries from metadata files 2023-10-17 05:14:04 +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
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
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
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
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
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
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
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
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
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
Laurent Montel
ea2ccc4e4d Remove duplicate headers between cpp/h files 2022-12-19 13:29:20 +01:00
Devin Lin
bdcbe4d6f7 mobileshellstate: Heavily refactor to remove global shell margins to fix window binding loops
Having a global set margins and orientation (that were calculated from the panel containment) caused a lot of issues with the way bindings were evaluated across panels, and with high coupling.

Now use properties from within containments to determine shell margins instead, which removes the dependency on other containments for measurements. This allows us to get rid of TaskPanelControls as well!

Fixes: https://invent.kde.org/teams/plasma-mobile/issues/-/issues/198
2022-12-10 21:05:13 -05:00
l10n daemon script
1fec8612dc 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"
2022-11-20 01:50:06 +00:00
Devin Lin
0a4c669e8a homescreens/halcyon: Improve gridview scrolling performance 2022-11-13 22:17:48 -05:00
Devin Lin
7d3bf39750 mobileshell: Refactor and extract state to mobileshellstate plugin
This avoids mixing plasmashell state with our MobileShell component library (which really shouldn't have state at all).
2022-11-12 11:15:36 -05:00
Devin Lin
8dd2ac8dd6 homescreens/halcyon: Cap grid icon size relative to app name labels
Prevents them from getting overly large in comparison to their labels
2022-11-11 22:11:33 -05:00
Devin Lin
39c8008d72 homescreens/halcyon: Fix horizontal scrollbar being shown on app list 2022-11-07 17:54:00 -05:00
l10n daemon script
990e0b61b6 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"
2022-10-18 01:48:38 +00:00
l10n daemon script
871a69824f 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"
2022-10-15 01:50:20 +00:00
Devin Lin
3e47bbd584 homescreens/halcyon: Port to new app launch method 2022-10-12 17:01:03 -04:00
Laurent Montel
afe595e08f Make compile against qt6 2022-10-04 08:31:33 +02:00
Yari Polla
f03cf4aa68 homescreens: only close search widget and action drawer without opening the menu 2022-09-27 16:01:09 +00:00
Yari Polla
838826b4fd homescreens: also close the search widget with Meta key 2022-09-27 16:01:09 +00:00
Devin Lin
f4e6d6b69a homescreens/halcyon: Change placeholder icon to arrow
Helps to teach users where the application list is.
2022-09-25 22:15:05 -04:00
Yari Polla
eec2ddcbc8 homescreens/halcyon: add Meta key support 2022-09-24 20:19:28 +02:00
Yari Polla
66a0253894 homescreens/halcyon: add showing desktop support 2022-09-24 20:19:28 +02:00
l10n daemon script
9d7881f3c9 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"
2022-09-24 01:48:25 +00:00
l10n daemon script
e11f31f48d 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"
2022-09-20 01:50:04 +00:00
Devin Lin
a4d47849e7 homescreens/halcyon: Use reuseItems on app list 2022-09-18 00:00:28 -04:00
l10n daemon script
201ba6959d 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"
2022-09-11 01:44:12 +00:00
l10n daemon script
cbd1acc113 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"
2022-09-06 01:47:33 +00:00
Devin Lin
2de1a7a0e4 homescreens/halcyon: Fix app list margins resizing not working during screen rotation 2022-09-05 16:09:50 -04:00