Skip to content

Improvements for the keyboard shortcuts in tooltips #6669

@afercia

Description

@afercia

The new keyboard shortcuts shown in the tooltips of the top toolbar buttons (see #6605) are a good idea to expose the available shortcuts. Tooltips usually open at the top of the related controls:

screen shot 2018-05-09 at 23 51 39

Now, when quickly hovering on these buttons (e.g. from Add block to Undo / Redo) or when navigating with the keyboard, the "jump effect" of the tooltip that sometimes opens at the top, sometimes at the bottom, is a bit confusing and distracting.

screen shot 2018-05-09 at 23 51 41

When the shortcut text is longer than the tooltip text, the latter is misaligned (should be centered?):

screen shot 2018-05-10 at 00 25 43

When a tooltip shows just the shortcut (because the button already has visible text and doesn't need a tooltip to expose its name) then it's a bit difficult to see. To me, a tooltip that shows just ⌘S doesn't look so right, but maybe it's just me.

screen shot 2018-05-10 at 00 26 13

I'd recommend to consider some improvements and try to always open the tooltips in the same direction. That would probably require to make their height a bit smaller, or put the suggested keyboard shortcut on the same line, or some other adjustment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions