Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Plasma fixes #23

Merged
merged 28 commits into from
Feb 26, 2024
Merged

Plasma fixes #23

merged 28 commits into from
Feb 26, 2024

Conversation

romangg
Copy link
Member

@romangg romangg commented Feb 26, 2024

Required fixes to run in a full Plasma 6 session.

romangg and others added 28 commits February 26, 2024 12:10
This is a legacy import now.
This makes it look more integrated with other KDE apps.
The message bus for Plasma 6 has a different name.
Now plasmoid actions are defined in a declarative fashion in a QQmlListProperty
over Plasmoid, and the old imperative JS api is deprecated.

Similar to [1].

[1] https://invent.kde.org/plasma/kscreen/-/commit/8fd5e0c4
Better integrates with KDE look.
Instead of theme context property.
Adapt to API change.
There are already too many icons in the system tray, and most users are less
likely to change the mode frequently once they select a mode, which makes the
widget redundant to be always active.
Not needed anymore with Qt6.
After upstream change required.
The other version is not needed and produces a warning.
The MainScript defaults to ui/main.qml and the version is unneeded because the
plasmoid is part of the Plasma release cycle.
Improves integration.
Needed by API changes.
After some changes last year it's not used anymore.
The IconThemes dependency is not used.
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
Version Qt 6.6 and KF 6 respectively.
This needs to be the same as the one declared in the CMake file, otherwise
Plasma crashes.
@romangg romangg merged commit 8b27155 into winft:master Feb 26, 2024
10 checks passed
@romangg romangg deleted the applet-fix branch February 26, 2024 14:49
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants