Summary: | "presentation" mode does not exit when WM causes gwenview to leave full-screen mode | ||
---|---|---|---|
Product: | [Applications] gwenview | Reporter: | Matthew Woehlke <mwoehlke.floss> |
Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate, null, private_lock |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=383093 | ||
Latest Commit: | https://commits.kde.org/gwenview/0d917337122fcc02270586effa99997df881a32d | Version Fixed In: | |
Sentry Crash Report: |
Description
Matthew Woehlke
2009-06-03 01:38:04 UTC
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 |