Blender Git Commit Log

Git Commits -> Revision e3c8363

Revision e3c8363 by Julian Eisel (master)
February 2, 2021, 12:54 (GMT)
Fix T83064: Missing tooltips, caused by string property search button

When a searchbox-button for string properties (e.g. to reference a vertex
group) was created, and a value was set, the tooltip timer would constantly get
cancelled.
That was because the code to validate the current value
(`ui_but_search_refresh()` - early exists for non-string properties) would call
a helper function to update the search results (`ui_searchbox_update_fn()`),
which always reset tooltips. Resetting them in the helper makes sense, for as
long as the searchbox is open. But while it's not, and we just validate the
current value, it shouldn't do this.

This was also noticable in the output settings of dynamic paint, and probably a
number of other cases (especially with script UIs which tend to use string
properties more often).

Likely caused by de53c039adb4.

Commit Details:

Full Hash: e3c8363ce03818fde1ef0d9d7c9f13016b34ca54
Parent Commit: f3a2434
Lines Changed: +5, -2

1 Modified Path:

/source/blender/editors/interface/interface_region_search.c (+5, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021