Bug 337772 - 'esc' key should close when in standalone viewing mode
Summary: 'esc' key should close when in standalone viewing mode
Status: RESOLVED INTENTIONAL
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 4.11.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-24 15:33 UTC by richlv
Modified: 2018-07-25 19:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description richlv 2014-07-24 15:33:58 UTC
(4.11.4 from suse packages actually).

for a long time, if i opened an image from the file manager, then hit 'esc', gwenview would close.
in more recent versions, it opens image browsing mode instead.
'esc' should be context aware - if i opened an image from the browser, it should return to the browser.
if i opened image directly from an external program, 'esc' should close gwenview.
Comment 1 null 2018-07-25 19:15:26 UTC
Going to Browse mode when pressing Esc is what most people expect, so it makes sense to have this as a default. Making this context aware as is being proposed here also opens up potential for confusion, because not every user might expect this silent change in behaviour. Lastly, we don't want to add a configuration option for this either.

Note that since Bug 385242 was fixed, you could bind Esc to quit to get the old behaviour back (you would still be able to use Enter to switch to Browse mode).

Therefore I'm closing this bug.