Fullscreen and skip taskbar window

Martin Flöser mgraesslin at kde.org
Sat Feb 10 16:38:25 UTC 2018


Am 2018-02-10 14:53, schrieb Bhushan Shah:
> Hello,
> 
> so in plasma-phone shell, we have this code,
> 
> https://cgit.kde.org/plasma-phone-components.git/tree/components/fullscreenpanel.cpp
> 
> Which essentially sets window to fullscreen and the skiptaskbar,
> 
> but this results in weird plasmashell "hang" when used on phone with 
> top
> panel. So I tried to port it to use PlasmaShellInterface and
> ShellInterface to set it fullscreen and skip taskbar.
> 
> see,
> 
> https://commits.kde.org/plasma-phone-components/02fd43edb80f560e7
> 
> But turns out this is not easy as I thought, it results in protocol
> error as both shellinterface and plasmashellinterface can't be used in
> single surface.
> 
> Thoughts on how to resolve this? i.e have skiptaskbar and fullscreen
> window at same time? Maybe we need to add fullscreen in
> plasmashellsurface?
> 

Just remove everything related to the shellsurface. You don't need that 
as Qt takes care of creating the shell surface.

Btw. I suggest to also set a "proper" window type for the window, e.g. 
make it a Dock to ensure the panel can go above other fullscreen 
windows.

Cheers
Martin


More information about the Plasma-devel mailing list