Skip to content

Permit "temporal switch" to select (when drawing items) #194

Open
@vaunchag

Description

@vaunchag

I completely agree with the problem addressed with #155 (and also the convenience of #161). But...

Problem

Now that it is implemented and I have tested it, I think that it doesn't address profoundly the issue:

  • It is true that many times after putting an element, you want to (or need to) adjust it.
  • But very often, you don't need to (specially when you become a more "proficient annotator"). And most of these other times, you want to repeat the last tool used.

I overcame this by learning and using the keyboard shortcuts (starting with "s")... Currently implemented "global decision" with #155 and #161 avoids the need to know the "s" shortcut. But that one is the "easy one" (always the same). It then "leaves you alone" for the usual case of "coming back" to the last tool: you need to learn the other shortcuts, and then each time recall them.

Proposed solution (for keyboard)

I think there is a better way. The ideal would be to be able to retain the last non-select tool, but with something permitting a temporal use of the select tool.

I can think of these different ways of implementing it with keyboard:

  1. A new "toggle select" shortcut key: press to temporally select, press again to come back to the last used tool.
  2. Like 1., but abusing current "s" shortcut as toggle: if pressed when already in select mode, it comes back to the last non-select tool used.
  3. A new "non-toggle" shortcut key to "last non-select tool". In this case, the use of this shortcut would have to be alternated with the "s" shortcut (for going and coming back from select).
  4. A modifier key (ctrl, shift, alt, ...) that while pressed activates the "select mode".

Comparing the proposed options

I see problems with 4: it could overlap with other (current of future) modifiers that may be used for the drawing tools (force square/circle, force straight lines in 45º steps, ...). Also, constantly pressing something while using the mouse is not ideal.

I also see 3 less handy than 1 or 2: I prefer having one single key (finger can remain nearby) than having to alternate between 2 shortcuts. If 3 is decided, I would at least prefer a key close to the "s" ("q" and "z" seem currently available, although this is assuming qwerty/azerty keyboard layouts).

I also see 2 (enhancing current "s") possibly confusing for users. If choosing this way, it probably should be made globally configurable (and probably deactivated by default).

All of the solutions avoid the current need to know the shortcuts of the different tools in order to work quick in the usual case (that is repeating last tool). And even when knowing the shortcuts (or the most used ones), these solutions reduce considerably the cognitive load (and slowness) for the usual case: recalling each time which is the tool I'm using, then recalling its shortcut or hunting its button with the mouse.

Mouse use

In fact, this feature could also benefit the "mouse only" use. Options I see here:

  1. New button for this. But not sure of an intuitive icon, and also this adds clutter to the UI.
  2. Reusing current select UI button: if already pressed, unselects it and switches to select the last selected tool. This looks quite intuitive.

With these, one presses (even with the mouse) sistematically at the same place (vs. each time thinking of the last tool used, then hunting it). With touch interfaces (whoever uses 2-in-1 laptops), one can even keep a finger ready there, always at the same place. The additional cognitive load is only needed when needing a real tool change (since selecting is not really a tool change).

Summary (global proposed solution)

  • For mouse actions, enhancing current select button to toggle to the last tool seems quite harmless and intuitive (provides an unavoidable visual feedback).
  • Then, for keyboard, implementing one of these (in my prefered order):
    • 1 : Use a new toggle key: even if slightly different from the mouse action, it is potentially less confusing (one knows that he is pressing a special "toggle" key).
    • 2 : Use "s" as toggle. It then will work exactly as the mouse button (good), but when pressing the key there is not an unavoidable visual feedback of what happens. Accidental double press will be confusing (specially if one does not know the feature). This possibly obliges to bury this feature in a non-default config option, a shame.
    • 3 : Use a new non-toggle key for "last non-select tool": no surprises, but obliges to alternate between two keys, this one and the "s" (please: in that case put them close). If 2 is implemented as a non default global config to be activated, maybe I prefer this option 3 than 2.

PS

For the keyboard use, I have discarded a different possibility:

An "alt+tab"-style shortcut to cycle through last selected tools, including select.

This would permit also other use cases like alternating between 2 drawing tools that are usually alternated (not limiting the other one to the select tool), and even potentially more than 2 (as alt+tab does).

But:

  • The recently implemented "double tools" (arrow + other) cover soundly most of the common use cases.
  • If one additionally wants to rectify with select, this becomes a third tool to cycle. "Alt-tabbing" between more than 2 things is, I think, only for die-hards or shaolin monks.

Anyway, a functionality "toggle between the two last used tools (not including select tool)" may be still interesting, but implemented separatedly of the one requested here. It would be different shortcut (no need to be alt+tab-like, could be a normal toggle one). This could be indeed a different FR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions