Skip to content

Tooltips: General Usability Issues #47

@hexabits

Description

@hexabits

Large tooltips like enum type descriptions can take a long time to load, and they are computed continuously as you hover. Take for example the Havok collision layers or materials. In the Type column, hover over the enum type and it will take a long time to load, and it never loads the same way twice. It's pretty much impossible to read and if it loads well, it might still disappear before you can even read it. I've already refactored the method some to deal with it, but it's not helping, as the sluggishness seems to stem from the UI having to parse such a large HTML table. The method is QString NifValue::typeDescription( const QString & typId ) in nifvalue.cpp

I propose a few options:

  1. A dedicated widget (like Inspector view) which displays the descriptions for highlighted cells.
  2. A button on the cell which opens a modal window with the description.

We could then keep the problematic descriptions from popping up in a tooltip and to view the descriptions you need to use another method.


Secondary Issues

Enum type descriptions are unordered too, because they are stored in a QHash.

Task List

  • Attempt to make tooltips more "stable" by improving their display/hide time or changing how they are toggled.
  • Consider moving certain tooltips to a widget or modal to improve usability.
  • Fix formatting issues with various descriptions.
  • Fix sorting issues with enum type descriptions and any others.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions