Bug 383093 - [proposal] Gwenview should remember full-screen mode state
Summary: [proposal] Gwenview should remember full-screen mode state
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 16.12.3
Platform: Kubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Gwenview Bugs
Depends on:
Reported: 2017-08-03 19:46 UTC by Alex
Modified: 2018-03-01 14:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 18.04.0


Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2017-08-03 19:46:25 UTC
Currently after switching Gwenview to full-screen and turning it off and on again causes Gwenview to start maximized. It would be great to be able to save full-screen state and start Gwenview in full-screen mode.
Comment 1 Nate Graham 2017-09-08 17:28:10 UTC
Comment 2 null 2018-02-01 23:24:30 UTC
A recent patch sparked a discussion on the topic, see https://phabricator.kde.org/D10207#199393.
Comment 3 null 2018-02-01 23:34:16 UTC
Possibly related in one way or another:

Bug 195046
Bug 387782
Comment 4 Peter Mühlenpfordt 2018-03-01 08:56:05 UTC
Git commit 59dd364b4bfce818764dbd4b7f47c2df4caec58f by Peter Mühlenpfordt.
Committed on 01/03/2018 at 08:53.
Pushed by muhlenpfordt into branch 'master'.

Remember fullscreen mode and restore on next start

Currently Gwenview always starts in normal (non-fullscreen) mode
independent of its state on previous quit.
This patch saves the fullscreen mode and restores it on next start.

Test Plan:
Quit Gwenview in normal/fullscreen mode and check if it restarts in
previous mode.
Commandline option --fullscreen overrides the saved state.

Reviewers: #gwenview, rkflx

Reviewed By: #gwenview, rkflx

Subscribers: rkflx, ngraham

Differential Revision: https://phabricator.kde.org/D10853

M  +4    -1    app/main.cpp
M  +1    -0    app/mainwindow.cpp
M  +3    -0    lib/gwenviewconfig.kcfg