D22544: [RFC] Deprecate KPassivePopup
Nicolas Fella
noreply at phabricator.kde.org
Thu Jul 18 21:59:47 BST 2019
nicolasfella created this revision.
nicolasfella added a reviewer: Frameworks.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
nicolasfella requested review of this revision.
REVISION SUMMARY
KPassivePopup is hideous and broken in many ways. Currently it serves two purposes:
1. As a fallback for when no other notification system is available. (Non-linux or when no notification daemon is running). For Windows and macOS we're about to get proper native notifcation support. The case where no notification daemon is running is IMHO an edge case that we don't need to support. Removing the fallback would allow to clean up the implementation and public API (for KF6) of KNotifications.
2. Directly by applicatins. A guick grep over the KDE codebase found few users of it (KHTML, KDevelop, Lokalize and KTeaTime).
Given it's brokeness and relative usefulness I propose to remove it. Since it's public API of KNotifications we obviously only can to it in KF6, so I propose to mark it as deprecated now and remove it in the KF6 transition.
Marking it as deprecated currently has a nasty side effect: Since it is still used internally (until we decide to drop the notification fallback) this results in deprecation warnings when building KNotifications. I'd be fine with not merging this patch for this reason, my main intention of this patch is to trigger a discussion about the future.
REPOSITORY
R289 KNotifications
BRANCH
dep
REVISION DETAIL
https://phabricator.kde.org/D22544
AFFECTED FILES
src/kpassivepopup.h
To: nicolasfella, #frameworks
Cc: kde-frameworks-devel, LeGast00n, sbergeron, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190718/a8c85974/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list