Bug 386158 - Default buttons are almost indistinguishable from other buttons when not focused
Summary: Default buttons are almost indistinguishable from other buttons when not focused
Status: RESOLVED DUPLICATE of bug 364226
Alias: None
Product: Breeze
Classification: Plasma
Component: QStyle (show other bugs)
Version: 5.11.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-24 22:49 UTC by Nate Graham
Modified: 2019-10-07 15:47 UTC (History)
2 users (show)

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


Attachments
Default button almost indistinguishable from other buttons (20.76 KB, image/png)
2017-10-24 22:49 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2017-10-24 22:49:59 UTC
Created attachment 108550 [details]
Default button almost indistinguishable from other buttons

See attached screenshot. In this dialog, the Quit button is marked as default, and hitting return or enter will press it, but it's very difficult to tell because it is almost indistinguishable from the other buttons. I suggest making default buttons blue so the user can always tell when there is a default button in a dialog.

One workaround is to make sure that default buttons always receive focus--which makes them blue. There is an open patch that implements this: https://phabricator.kde.org/D7828

If that is the correct or preferred solution, please indicate this so we can get that patch accepted. If not, we should consider making default buttons blue even when not focused (and then perhaps changing the focus effect to something else).
Comment 1 Albert Astals Cid 2017-10-24 23:06:02 UTC
I don't think blue is the right color, blue is the color for the focused button.

Also https://phabricator.kde.org/D7828 is *not* a generic workaround, it only workarounds messageboxes, not the rest of different dialogs
Comment 2 Nate Graham 2017-10-24 23:09:39 UTC
Sure, it doesn't have to be dark blue like focused buttons. Maybe a lighter blue, or a heavier weight outline, or something else.
Comment 3 Hugo Pereira Da Costa 2017-10-29 09:56:34 UTC
I disagree that the default buttons should be made more prominent. 
I consider hitting the return key in the dialog rather than using the mouse or the tab key to change focus an advanced user feature, in which case it should not be an issue, the first time at least, to spend the extra second needed to find which button is the default. In doubt, one can always use the tab keys. 

On the other hand making it more prominent would rather clutter the UI for a somewhat limited use. It would also increase the confusion (to non advance users) between the widget that has focus and the default button (as of today I am not even clear which one, and in which case, takes precedence on the second). 

Also, when using a dialog which have buttons beside the one from the button box and switching focus using eg tab key (see for instance oxygen-demo5, buttons tab), see how the default button highlight comes on and off depending on the nature of the widget that has focus. This blinking behavior would become even more annoying/confusing if the default button was to be made more prominent. 

Last but not least: this "issue" (or absence thereoff) was already discussed some several years ago and no better design was found at that time (and as far as I know, still none today).

Wont fix. Sorry.
Comment 4 Nate Graham 2019-10-07 15:47:59 UTC

*** This bug has been marked as a duplicate of bug 364226 ***