DisableUpdates()/EnableUpdates doesn't seem to work with Layout API
|Reported by:||jessicah||Owned by:||nobody|
|Has a Patch:||no||Platform:||All|
While making changes to Tracker's Find to use the Layout API, discovered a drawing bug when layout changes were triggered by a function in the overridden
The window calls
DisableUpdates(), makes layout changes, and then calls
EnableUpdates(), but the window is not redrawn correctly. Even adding
EnableUpdates() did not cause the window to redraw.
Removing the calls to disable/enable updates allowed the window to redraw correctly.
My current changes are available at https://github.com/jessicah/haiku/tree/find-panel-layout-api, SwitchToTemplate.