! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Add an option to close the window by hitting esc.
Status:
RESOLVED: WONTFIX
Severity:
enhancement
Product:
Mousepad
Component:
General

Comments

Description Edwin Lopez 2010-07-21 16:24:32 CEST
Hi all.

When handling several config files in thunar, I'm miss a feature of notepad2 that allows the configuration of the editor to close/minimize on hitting "esc" key.

This isn't too biggie (I guess) to add to mousepad, however will be very useful for a bunch of us.

Thank you.
Comment 1 Joe 2011-11-24 04:15:20 CET
Maybe a checkbox within the menu bar that permits Mousepad to close when the escape key is pressed?
Comment 2 Julien [nodiscc] editbugs 2012-11-23 13:13:39 CET
I'm not sure about this. Linux DEs platform conventions usually allow closing windows by hitting Alt+F4, Ctrl+Q, or Ctrl+W.

IMHO there should not be workarounds like this for a single app, but you could try redefining the "Quit" key to Esc in your window manager properties.

Wontfix?
Comment 3 Edwin Lopez 2012-11-23 15:06:59 CET
(In reply to comment #1)
> Maybe a checkbox within the menu bar that permits Mousepad to close when the
> escape key is pressed?

That'd be cool.
Comment 4 Edwin Lopez 2012-11-23 15:11:39 CET
(In reply to comment #2)
> I'm not sure about this. Linux DEs platform conventions usually allow
> closing windows by hitting Alt+F4, Ctrl+Q, or Ctrl+W.
> 
> IMHO there should not be workarounds like this for a single app, but you
> could try redefining the "Quit" key to Esc in your window manager properties.
> 
> Wontfix?

As I mentioned it before, it would be useful for some of us (specially for me ;-) ), however that's more of a facility than a meaningful feature. I'd vote +1 for implementation, however I won't cry if it is marked as wontfix. No worries. Thank you very much.
Comment 5 Matthew Brush editbugs 2012-11-24 02:34:59 CET
I think another way is to use gtkrc accelerators stuff to trigger the Quit action. I'd probably be +1 for a patch making sure this is possible and properly exposed for the "new" Mousepad in Git master branch but I don't think having a GUI option for it is worthwhile for such a simple application.

I'll change status to resolved-wontfix but if someone has any reports/patches for code in Git master branch, to make sure the GTK+/WM accelerators stuff is exposed and works, go ahead and submit.

Bug #6569

Reported by:
Edwin Lopez
Reported on: 2010-07-21
Last modified on: 2012-11-24

People

Assignee:
Matthew Brush
CC List:
4 users

Version

Version:
Unspecified
Target Milestone:
Mousepad 0.2.x

Attachments

Additional information