Page MenuHome

Clicking the X in a filter bar in a pop up dialog doesn't clear.
Closed, ResolvedPublic

Description

System Information
Operating system: Linux-5.6.5-arch3-1-x86_64-with-arch 64 Bits
Graphics card: GeForce GTX 660M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.82

Blender Version
Broken: version: 2.83 (sub 15), branch: master, commit date: 2020-05-11 05:23, hash: rB046172755313
Worked: 2.80 (partially)

Short description of error
The X on the filter bar/text field does not clear the field when the field is in a pop up dialog.

Exact steps for others to reproduce the error

  • Enable the Icon Viewer addon
  • Open the icon viewer.
  • Type something into the filter bar.
  • Press the X.
  • The X disappears, but the field is not cleared.

This partially works in blender 2.80; it clears properly if you finish editing and then click the X, but if you try to clear the field with the X while still editing it the X doesn't do anything.
Note: blender 2.83 doesn't display the X while still editing like 2.80 did.

This isn't specific to the Icon Viewer addon, it seems to affect all popups because it's also present in the filter bar for the Collection Manager addon.
This bug is present whether the popup dialog is from invoke_props_dialog or invoke_popup.