Bug 446431 - Automatic do not disturb reason can be confusing
Summary: Automatic do not disturb reason can be confusing
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.23.4
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-12-03 16:30 UTC by Szymon Łągiewka
Modified: 2024-06-30 18:07 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
dnd-from-portal (29.34 KB, image/png)
2021-12-03 16:30 UTC, Szymon Łągiewka
Details
DND reason as of 30.06.2024 (53.47 KB, image/png)
2024-06-30 17:26 UTC, Szymon Łągiewka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Szymon Łągiewka 2021-12-03 16:30:05 UTC
Created attachment 144175 [details]
dnd-from-portal

SUMMARY



STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Szymon Łągiewka 2021-12-03 16:34:44 UTC
Sorry, trying to send attachment with Enter sends the report prematurely.

I just noticed that when screen sharing a window or entire screen in Google Meet in Firefox causes DND to show reason as `xdg-desktop-portal-kde`. This will be confusing to any non-technical user. "What is this portal thing?"

I'm not familiar with CreateSession details, but is Firefox registering itself as a portal? Or it's not, but the inhibition is using wrong description?

On another note: could "Screen sharing in progress" be mentioned first? As a user I would prefer to have this first and then learn any details - which app, which process etc. (that's form thinking about the target user ;) )
Comment 2 Nate Graham 2021-12-03 20:51:45 UTC
Not a bad idea, yeah.
Comment 3 Kai Uwe Broulik 2021-12-21 22:57:36 UTC
xdg-desktop-portal doesn't know the app (or rather, it doesn't trust it to claim who it is) when it is not sandboxed. This is a limitation (design choice) on their end.
Comment 4 Nate Graham 2021-12-26 23:10:53 UTC
In this case could we suppress the reason, maybe? No reason is better than a nonsense reason.
Comment 5 Szymon Łągiewka 2024-06-30 17:26:54 UTC
Created attachment 171208 [details]
DND reason as of 30.06.2024

The DND message now shows Firefox Web Browser as the reason. It looks like a FIXED issue to me.