https://bugzilla.wikimedia.org/show_bug.cgi?id=50868

Roan Kattouw <roan.katt...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roan.katt...@gmail.com

--- Comment #12 from Roan Kattouw <roan.katt...@gmail.com> ---
(In reply to WhatamIdoing from comment #11)
> I'm a bit worried about this.  What if I'm in a template dialog and
> accidentally press Esc twice/too long?  If this triggered the "Do you really
> wnt to exit?" confirmation, it might be okay.  However, I suspect that this
> might not have the ultimate effect that was intended.

Comment 10 asks for the unsaved changes warning to be shown. If we do that, I
think it'll be fine. Pressing escape while a dialog is open will dismiss that
dialog with a safe action (the cancel/never mind action). So if you press
escape again when the unsaved changes warning is visible, that'll dismiss the
warning with the safe action, which is "never mind, I want to continue
editing". So if you press Esc a bunch of times or hold it too long, you'll end
up in a loop of the unsaved changes warning appearing and being dismissed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to