Future of KStatusNotifierItem
Open, Needs TriagePublic

Description

With the rework of KNotifications I would like to move KStatusNotifierItem out of KNotifications. It is not really related and drags in additional dependencies.

I'm also proposing to investigate whether we need KStatusNotifierItem at all or QSystemTrayIcon can replace it. They both implement the FDO SNI protocol (albeit the situation is a bit complex since plasma-integration uses KSNI to implement QSTI) and QSTI promises better cross-platform support.

QSTI is missing some API that KSNI offers, but we should investigate what is really needed and implement that in Qt.

Missing:

  • Tooltip icon and text

At Akademy @mart indicated that he supports this plan

Related Objects

StatusAssignedTask
OpenNone
OpenNone
nicolasfella moved this task from Backlog to Needs Input on the KF6 board.
nicolasfella added a comment.EditedNov 22 2019, 8:53 AM

To do:

  • Investigate missing API
    • Mouse wheel
    • priority
    • Category
  • Add to QSTI
  • ???
  • Profit
davidedmundson moved this task from Needs Input to Backlog on the KF6 board.Nov 22 2019, 9:10 AM
nicolasfella updated the task description. (Show Details)Jan 16 2020, 5:22 PM
dfaure added a subscriber: dfaure.Jan 30 2022, 8:59 AM

Things are moving in XDG about this too.

See https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/54 (needs input from KDE people)

I don't see us getting rid of KStatusNotifierItem before 6.0 given that QSystemTrayIcon is missing features

Something worth doing could be replacing setAssociatedWidget(QWidget*) with setAssociatedWindow(QWindow*)

nicolasfella moved this task from Backlog to In Progress on the KF6 board.Feb 22 2023, 3:47 PM
nicolasfella moved this task from In Progress to Optional/Low Priority on the KF6 board.