Skip to content

Tooltips and input boxes #426

@klytje

Description

@klytje

When using a tooltip with an input_box, the popup will steal the focus from the input box, making it difficult to enter new values.

Example from my interface:
image
Here, when the user hovers the input box, an explanatory popup appears to explain exactly what changing this value will do. Usually, however, the user would click the box beforehand to type a new value (with the mouse still hovering it), in which case the popup steals the focus when it appears. The user will then modify the text inside the popup instead of changing the value in the input box.

Another issue I noticed with these popups is that, for longer texts such as the one shown here, the popup itself is placed incorrectly the first time it appears. Compare the following first-time popup with the previous one:
image
Note that this only happens the first time. Every time it appears afterwards, it is correctly placed on top as in the first picture. This also happens with check_box, so perhaps it is a general issue with tooltips.

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