Version: (using Devel) OS: Linux Installed from: Compiled sources When using the WM to exit full-screen mode, Gwenview does not leave "presentation" mode (its internal full-screen mode), resulting in an all-black-except-the-image window with WM decorations. (Gwenview also doesn't switch /to/ presentation mode when made full-screen by the WM, although this arguably a feature, as it is conceivable to want to use thumbnail mode with Gwenview occupying the entire screen. A "presentation: thumbnails" mode might be a solution?) See also http://permalink.gmane.org/gmane.comp.kde.devel.kwin/22284. To reproduce: - start Gwenview's full-screen/presentation mode - press alt-f3 to get kwin's context menu, go to "Advanced" and deactivate "Fullscreen" - Gwenview is still in "presentation" mode
Is this still valid on the latest KDE 4.10.x?
Yes; can still reproduce in 4.10.1. (@Myriam, can you really *not* reproduce? It should be trivial to see this on any system...)
This also applies, when you restart KDE and there was a gwenview instance running in presentation-mode. KDE will ressurect gwenview, but it won't look as you left.
How about with KF5 versions?
Just checked with 16.12.3; still present. Also, switching to fullscreen changes which screen gwenview is on... (gwenview bug? or kwin bug?)
Thanks for the info! Not sure if that other issue is the fault of Gwenview or Kwin. Might try filing one on KWin and the maintainer will send it here if it's not KWin's fault.
Thanks. Addendum: I think I've seen the second behavior with krdc also, which would tend to implicate kwin...
Unintentional changing which screen Gwenview is on is tracked in Bug 372417, let's not confuse this one even more. Next, there are two only slightly related issues here: 1. KWin's and Gwenview's fullscreen mode not linked properly (see link to the kwin-devel thread) This should be fixed for both going into and out of fullscreen mode with either Alt+F3 or F11. Let's track this bug here. Note there's a small caveat: Gwenview does not support fullscreen mode for the "Start Page". BTW, we do have a fullscreen thumbnail mode (now?). 2. Session restore not working correctly for a fullscreen Gwenview. Let's track this in Bug Unintentional changing which screen Gwenview is on is tracked in Bug 372417, let's not confuse this one even more. Next, there are two only slightly related issues here: 1. KWin's and Gwenview's fullscreen mode not linked properly (see link to the kwin-devel thread) This should be fixed for both going into and out of fullscreen mode with either Alt+F3 or F11. Let's track this bug here. Note there's a small caveat: Gwenview does not support fullscreen mode for the "Start Page". BTW, we do have a fullscreen thumbnail mode (now?). 2. Session restore not working correctly for a fullscreen Gwenview. Let's track this in Bug 387782.
Copy and paste error, sorry for that. Here is how I intended it: --- Unintentional changing which screen Gwenview is on is tracked in Bug 372417, let's not confuse this one even more. Next, there are two only slightly related issues here: 1. KWin's and Gwenview's fullscreen mode not linked properly (see link to the kwin-devel thread) This should be fixed for both going into and out of fullscreen mode with either Alt+F3 or F11. Let's track this bug here. Note there's a small caveat: Gwenview does not support fullscreen mode for the "Start Page". BTW, we do have a fullscreen thumbnail mode (now?). 2. Session restore not working correctly for a fullscreen Gwenview. Let's track this in Bug 387782.
Git commit 0d917337122fcc02270586effa99997df881a32d by Peter Mühlenpfordt. Committed on 09/02/2018 at 12:40. Pushed by muhlenpfordt into branch 'master'. Keep Gwenview fullscreen mode in sync with window manager Summary: Toggling fullscreen mode in Gwenview does not reflect in window manager and vice versa. This patch changes toggling fullscreen mode from `setWindowState()` to `KToggleFullScreenAction::setFullScreen()` as the api doc recommends. Test Plan: Start Gwenview in windowed or fullscreen mode and toggle by window manager, e.g. {nav Alt+F3 > More Actions > Fullscreen}. Use other tools to toggle Gwenview's fullscreen mode: ``` kstart --fullscreen gwenview image.jpg wmctrl -i -r <WINID> -b add,fullscreen wmctrl -i -r <WINID> -b remove,fullscreen ``` Reviewers: rkflx, ngraham Reviewed By: rkflx Subscribers: broulik Differential Revision: https://phabricator.kde.org/D10360 M +9 -10 app/mainwindow.cpp https://commits.kde.org/gwenview/0d917337122fcc02270586effa99997df881a32d