KNewStuff Deprecations
Open, NormalPublic

Description

KNewStuff contains a collection of workarounds and nowadays almost unused properties.

  • Most of the unused/defunct properties have been deprecated with https://invent.kde.org/frameworks/knewstuff/-/merge_requests/86
  • KPackage workaround have been deprecated and also emit runtime warnings. All occurrences inside of the KDE codebase have been ported.
  • There are still workaround from the KNS2 -> KNS3 transition to fix the wallpaper location. This needs to wait until the KF6 branching.
  • The QWidgets components are except for the KNS3::Button are all on life-support. As porting aid a C++ wrapper for the QtQuick dialog has been written: https://invent.kde.org/frameworks/knewstuff/-/merge_requests/80 and a bunch of occurences have already been ported. @leinir Could we now formally deprecate these components?
  • The Upload has been for years defunct and this functionality has QWidgets components. @leinir You said that you were looking into the upload topic itself, so formally deprecating this would not make much sense until we know for sure if that IMHO.

Related Objects

StatusAssignedTask
OpenNone
Openalex
alex created this task.Jan 5 2021, 10:23 AM
alex triaged this task as Normal priority.
alex claimed this task.Jan 5 2021, 5:24 PM
alex added a comment.EditedFeb 9 2021, 6:00 PM

A lot of unused/dead parts are formally deprecated:
https://invent.kde.org/frameworks/knewstuff/-/merge_requests/75
https://invent.kde.org/frameworks/knewstuff/-/merge_requests/74
https://invent.kde.org/frameworks/knewstuff/-/merge_requests/86
https://invent.kde.org/frameworks/knewstuff/-/merge_requests/88
https://invent.kde.org/frameworks/knewstuff/-/merge_requests/97

https://invent.kde.org/frameworks/knewstuff/-/merge_requests/70 Actually made use of the compiling without deprecations feature.

One method that has still internal usages is EntryInternal::setEntryXML(const QDomElement &xmldata), after that there needs to be done a bit of porting, figuring out what we do with the upload and then this only waits for KF6 branching :)

nicolasfella renamed this task from Deprecations to KNewStuff Deprecations.Mar 28 2021, 8:14 PM
alex moved this task from Backlog to Waiting on KF6 Branching on the KF6 board.Apr 21 2021, 6:20 PM
alex moved this task from Waiting on KF6 Branching to Done on the KF6 board.Feb 5 2023, 1:33 PM