Closed slagiewka closed 7 years ago
Hi, thanks for report!
What version of Chrome and KDE Plasma are you using? And could you provide more clear steps about how to reproduce that? I tried on my system but I can't reproduce it. Here's all the combinations I've tried. And to me they are correct behaviors.
My scneario is a bit different.
Sadly, this does not happen to Firefox. It seems to be interpreting KWin's full screen event to be a regular F11 hit and turns itself into a native full screen mode.
So my question for the aforementioned behaviour is whether we could somehow see the difference between Chrome going back from fullscreen video and actually closing the full screen mode for the window.
Chrome leaves KWin's fullscreen mode when full screen video exits. (You can check that Chrome now has window decoration, i.e. title bar and borders). That's why my script is triggered to remove VD, which is expected when some app leaves KWin's fullscreen. I'm not sure this is by design or a bug in Chrome, though.
I'm afraid there's nothing I can do with this. Maybe you can report an issue for Chrome about not to leave desktop full screen mode when full screen videos exit.
I'm closing this as it's caused by Chrome not the script itself. But feel free to reopen this if you have further questions.
At the moment, when a browser window (Chrome in my case) is already in full screen mode and I open up a video in full screen (YouTube, Vimeo, whatever) and then close it - I loose my virtual desktop. The browser itself goes to a normal mode.
This, however, does not happen when browser is in its own full screen (F11). I guess the browser simply does not close full screen mode then.
Is there a way that we could prevent us from loosing desktop when FS player is closed?