After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 115070 - RFE: usability: <esc> shoud close Search dialog
RFE: usability: <esc> shoud close Search dialog
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: general
2.3.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
gedit QA volunteers
: 112683 118511 124827 131927 139788 151512 151590 159472 167717 168598 168601 (view as bug list)
Depends on: 124902
Blocks:
 
 
Reported: 2003-06-13 04:15 UTC by Andrew W. Nosenko
Modified: 2005-02-26 18:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
cause Escape key to cancel Find/Replace dialogs (872 bytes, patch)
2004-01-19 15:22 UTC, Dan Williams
none Details | Review

Description Andrew W. Nosenko 2003-06-13 04:15:04 UTC
RFE: usability: <esc> shoud close Search dialog (from my point of view).
Comment 1 Dave Bordoley [Not Reading Bug Mail] 2003-06-13 14:21:13 UTC
Theres a hig bug on this issue. Imo this doesn't necessarily make
sense, as escape normally means cancel, get me out of here, and undo
any changes i might have done. Anyway I would recommend against any
change until the hig bug is resolved.
Comment 2 Andrew W. Nosenko 2003-06-13 15:12:58 UTC
IMO <esc> means "cancel" in sense "interrupt", not in sense "undo" or
"rollback".

Undo/rollback can be part of cancel if this is intuitivelly expected
by user (e.g. rolling back of transaction in the RDBMS is intuitive
expected part of transaction cancelling).

From another hand: when I do search/replace then I don't expect any
undo/rollback effects.  Scenario: begin search/replace, replace what
you want and cancel (interrupt) S&R because no wishes to replace rest
of occurences exists.  Is you expect rolling back all your changes?  I no.

Conclusion: cancel should interrupt current operation.  But undo or
not undo changes that was already made before canceling -- bechvior
should be selected in every case separatelly.  Criteria of this
selecting: user shoult intuitivelly expect this behavior.  Yes, case
#3 exists where no obvious selection exists and this is subject for
another game...

But in this concrete case abour Search dialog, IMO, selection is obvios.

Moreover, rule of thumb of interface desighn is: "always try to work
with this, designed by you, interface".  But...  Too many cases exists
where this rule is violated :-(
Comment 3 Andrew W. Nosenko 2003-08-04 18:48:36 UTC
Consequence from
http://mail.gnome.org/archives/usability/2003-July/msg00020.html

HIG developers (as I understand) was think about bounding <Esc> to the
"stop" button in the search and/or replace dialogs, but merely forgot
to say this explicitly.
Comment 4 Paolo Maggi 2003-08-23 14:41:57 UTC
*** Bug 118511 has been marked as a duplicate of this bug. ***
Comment 5 Paolo Maggi 2003-08-23 14:46:05 UTC
Usability guys: what should I do?
Comment 6 Calum Benson 2003-08-25 18:09:40 UTC
I vote for leaving it until the HIG bug is resolved too.  Until then,
Esc is purposely not bound to Close in any GNOME windows or dialogs,
and I don't see what's any different about this window that would
merit going against that guideline.
Comment 7 Vincent Untz 2003-09-23 13:37:16 UTC
*** Bug 112683 has been marked as a duplicate of this bug. ***
Comment 8 Paolo Maggi 2003-10-17 14:41:14 UTC
*** Bug 124827 has been marked as a duplicate of this bug. ***
Comment 9 Paolo Maggi 2004-01-19 15:17:11 UTC
*** Bug 131927 has been marked as a duplicate of this bug. ***
Comment 10 Dan Williams 2004-01-19 15:22:16 UTC
Created attachment 23526 [details] [review]
cause Escape key to cancel Find/Replace dialogs
Comment 11 Dan Williams 2004-01-19 15:23:25 UTC
Attached patch fixes this issue, when/if people decide to allow Escape
to close Find/Replace dialogs (patch is from #131927)
Comment 12 Paolo Borelli 2004-04-12 11:38:13 UTC
*** Bug 139788 has been marked as a duplicate of this bug. ***
Comment 13 Patanjali 2004-04-29 14:29:56 UTC
Bug made "WONTFIX" based on Calum's comment.
Comment 14 Paolo Borelli 2004-04-29 15:42:45 UTC
Everybody and their dogs would love this dialog close with esc (as a matter of
fact RedHat ships the above patch). That said it's clear that gedit, as a part
of the desktop, will not accept a behavior that goes against the HIG.

So IMHO this bug should stay open until the HIG bug is resolved and also as a
remainder that a different UI for search may have to be investigated.
Comment 15 Jeroen van der Vegt 2004-05-14 17:42:13 UTC
The thread awn@bcs.zp.ua points to indicates a human error in the HGI. I suppose
that wil be fixed some time. I suggest gedit 'takes the lead' on this one and
enables ESC to close the search window. It's extremely annoying I can't easily
close that dialog using just the keyboard (well, atleast ESC is much faster than
ATL-F4, and it won't accidently close gedit).
Comment 16 Paolo Borelli 2004-08-31 13:00:42 UTC
*** Bug 151512 has been marked as a duplicate of this bug. ***
Comment 17 Paolo Borelli 2004-09-12 10:49:50 UTC
*** Bug 151590 has been marked as a duplicate of this bug. ***
Comment 18 Will Jessop 2004-09-13 09:18:15 UTC
This issue (<esc> not closing the dialog) also affects the 'go to line' dialog,
raised originally in bug 151590 (marked as duplicate).
Comment 19 Paolo Borelli 2004-11-26 00:23:27 UTC
*** Bug 159472 has been marked as a duplicate of this bug. ***
Comment 20 Paolo Maggi 2005-01-25 10:22:02 UTC
Since nothing seems to change on the HIG side, as suggested by Jeroen, I have
decided that gedit will 'take the lead' on this problem and so, I have enabled
ESC to close the search/replace dialog and the "go to line" one.

Closing this bug as FIXED.
Comment 21 Paolo Borelli 2005-02-17 17:12:55 UTC
*** Bug 167717 has been marked as a duplicate of this bug. ***
Comment 22 Paolo Borelli 2005-02-26 17:57:30 UTC
*** Bug 168598 has been marked as a duplicate of this bug. ***
Comment 23 Paolo Borelli 2005-02-26 18:54:49 UTC
*** Bug 168601 has been marked as a duplicate of this bug. ***