Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

KF6 / Plasma 6.0 removes PlasmaComponent 2.0 and PlasmaExtras #142

Open
17 of 19 tasks
Zren opened this issue Feb 21, 2023 · 0 comments
Open
17 of 19 tasks

KF6 / Plasma 6.0 removes PlasmaComponent 2.0 and PlasmaExtras #142

Zren opened this issue Feb 21, 2023 · 0 comments

Comments

@Zren
Copy link
Owner

Zren commented Feb 21, 2023

So I need to fix:

  • AppContextMenu.qml for PC2.ContextMenu, PC2.MenuItem and PC2.DialogStatus.Closed. This will be annoying to replace as the PC 3.0 using QtQuick 2.0 does not create a native Menu popup. Edit: This seems to have been moved to PlasmaExtras?
  • TileGrid.qml and TileGridPresets.qml also uses PC2.ContextMenu and PC2.MenuItem
  • FlatButton.qml uses PC2.ToolButton and PC2.Label
  • JumpToLetterView.qml uses PC2.ToolButton
  • KickerListView.qml uses PC2.Highlight
  • SearchFiltersViewItem.qml uses PC2.ToolButton, PC2.Label and PC2.CheckBox
  • There's a few useless import org.kde.plasma.components 2.0 as PlasmaComponents which I can remove. I don't think there are any context properties.
  • TileEditorView.qml and TileGridSplash.qml are using PlasmaExtras.Heading

Grep results for "PlasmaComponents":
https://gist.github.com/Zren/43fd47a12cf85c6cb648cc87ff6533e2

Also:

  • import org.kde.kcoreaddons 1.0 as KCoreAddons => import org.kde.coreaddons 1.0 as KCoreAddons
  • PlasmaCore.DataSource is not installed by default (it's part of plasma5support), which we used to call xdg-open on xdg DOCUMENT/MUSIC/VIDEO/etc folders. For now I commented out the DataSource code.
  • KQuickControlsAddons.QIconItem was deprecated in KF5 v5.101, and removed. We used it in the Kicker.DragHelper when the app/search/recent MenuListItem referenced a model list item entry with a string icon name instead of a QIconItem. For now I disabled the drag.
  • KQuickControlsAddons.KCMShell => KCM.KCMShell via import org.kde.kcmutils as KCM
  • KQuickControlsAddons.IconDialog => KIconThemes.IconDialog via import org.kde.iconthemes as KIconThemes
  • PlasmaCore.IconItem => Kirigami.Icon
  • PlasmaComponents2.Highlight => PlasmaExtras.Highlight
  • import QtGraphicalEffects => import Qt5Compat.GraphicalEffects was deprecated
  • PlasmaCore.FrameSvgItem => KSvg.FrameSvgItem via import org.kde.ksvg as KSvg
  • QQC1.StackView => QQC2.StackView removes QQC1.StackViewDelegate and QQC1.StackViewTransition
  • PlasmaCore.Units.iconSizeHints.panel => 48 was removed and replace with a hardcoded number in kickoff https://phabricator.kde.org/T14340 https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1390/diffs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant