Plasma Framework: deprecate Plasma::Theme
Closed, WontfixPublic

Description

The blocker for this is the "2 themes for process" which kinda blocks kirigami and plain QQC2 usage

mart created this task.Nov 23 2019, 10:03 AM
cordlandwehr renamed this task from deprecate Plasma::Theme to Plasma Framework: deprecate Plasma::Theme .Nov 23 2019, 10:16 AM
alex added a subscriber: alex.Oct 30 2021, 2:41 PM

What would be the proposed alternative?

alex added a comment.Jan 4 2022, 4:58 PM

@mart Could you please elaborate on the task?

I don't think this is actionable as-is. As long as we have the current SVG-based theming system for Plasma the Plasma::Theme class is still relevant

nicolasfella closed this task as Wontfix.Jul 8 2023, 2:56 PM
nicolasfella claimed this task.
mart added a comment.Jul 10 2023, 2:49 PM

Status:

  • Theme.cpp in general is here to stay as an helper class to make KSvg retrocompatible with old plasma themes, with svg stuff gone will be possible to delete almost half of its code
  • However will be removed from QML bindings.
  • the "2 themes per process" thing is partly solved: Kirigami.Theme uses plasma colors in plasmoids and system colors in config dialogs now
  • the other part of "2 themes per process" is not solvable right now, which is what forces us to use the PlasmaComponents3 import in plasma rather than generic controls, I think this will stay for whole Plasma6 lifecycle