https://bugs.kde.org/show_bug.cgi?id=469851

--- Comment #5 from Kacper Paczos <[email protected]> ---
Still the case on current master (xdg-desktop-portal-kde git20260831, Plasma
6.7.80).

The reason is that the item belongs to the session rather than to the desktop:
ScreenCastSession::showStatusNotifier() in src/screencast.cpp creates one
KStatusNotifierItem per session, and an app like OBS opens a separate portal
session for every source it captures. Three sources, three identical red dots,
all saying "Screen casting" with only the tooltip to tell them apart.

Something did improve recently: updateSniVisiblity() now hides the item while
the underlying PipeWire node is not Running, so sources that are configured but
idle no longer contribute a dot. That helps with idle sources, but several
sources capturing at once still give several dots.

If merging them is wanted, the shape that seems to fit is the one the Camera
Indicator already uses: a single item, and the list of what is being captured
inside it, with the per-session "End" actions moved into that list. The awkward
part is that the item would have to outlive the individual sessions, so it
would need an owner - either a single item shared by all ScreenCastSessions in
the portal process, or moving the whole thing to a Plasma widget that watches
the sessions.

Before anyone writes that, it would be good to know which of the two the
maintainers prefer, since it decides where the code lives.

Related: bug 525038 about how easy these indicators are to miss in general.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to