https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13363

--- Comment #9 from Guy Harris <g...@alum.mit.edu> ---
(In reply to Alexander Petrossian (PAF) from comment #1)
> Created attachment 15210 [details]
> example of "traditional" dialog, when non-default button is blue-framed and
> can be pressed with Spacebar shortcut
> 
> In Windows in similar dialog windows keyboard shortcuts are traditionally
> different:
> * Escape = cancel
> * Enter+Space = accept default button

That appears to be the KDE 5 and GNOME 3 behavior as well.

So what we want is to somehow arrange that:

    we have notions of "the default button", "the button that initially gets
the input focus", and "the button that has the input focus", with the default
button being the button with the input focus on non-macOS systems and being
assigned at dialog creation time on macOS and unaffected by input focus
changes;

    Enter activates the default button, with the above definitions;

    Space activates the button with the input focus.

I'm not sure whether Qt actually supports that, at least in QMessageBox....

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to