Bug 422921

Summary: Firefox has a weird activity window
Product: [Plasma] kwin Reporter: Aleix Pol <aleixpol>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: the window I get.

Description Aleix Pol 2020-06-13 14:50:34 UTC
Created attachment 129314 [details]
the window I get.

SUMMARY
When you are on a call website (anything that feeds from the webcam or mic) firefox will show a tiny window.

At the moment it's show floating, like a normal window.

OBSERVED RESULT
See screenshot.

EXPECTED RESULT
I'd expect this window not to appear on the task manager, to be on top and maybe without a window decoration?

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: master with wayland
KDE Plasma Version: master
KDE Frameworks Version: master
Qt Version: 5.15

That's using firefox with Wayland support on.
Comment 1 Vlad Zahorodnii 2020-06-15 07:18:57 UTC
> I'd expect this window not to appear on the task manager
The client has to set a "skip taskbar" flag or something. The xdg-shell spec doesn't define such a flag. Although we first need to decide whether windows in the task manager must be shown based on the window type. Perhaps the skip taskbar flag is not needed after all.

> to be on top
Unfortunately, this is not do-able at the moment as well. :(

> maybe without a window decoration?
Firefox has to indicate that it prefers client-side decorations.
Comment 2 David Edmundson 2020-06-15 21:38:30 UTC
Do you know how it appears on mutter? I can't see how they'd do anything different, AFAIK they don't have layer shell.
Comment 3 Aleix Pol 2020-06-16 00:03:35 UTC
I just checked and in gnome (as of Ubuntu 20.04) is as bad as for us.

On X11 though it shows centered at the top of the screen.

Before closing the bug as downstream, we should have a plan as to what they should be using. (maybe it should be SNI or a notification? it feels odd to have a floating thing too).
Comment 4 David Edmundson 2020-06-18 07:05:25 UTC
If they want a weird floaty thing, layer-shell is the way forwards. 

SNIs would be good, probably hard to sell to Mozilla though, especially given they don't have support everywhere.