wxWidgets / Phoenix

wxPython's Project Phoenix. A new implementation of wxPython, better, stronger, faster than he was before.
http://wxpython.org/
2.34k stars 516 forks source link

PropertyGrid scrolling shows duplicate entries on Windows #1773

Open LumaRay opened 4 years ago

LumaRay commented 4 years ago

Hello.

I use PropertyGrid on Windows 10 x64.

When I scroll through the properties, the new drown entries are duplicated.

Here is a screen recording video: https://www.screencast.com/t/ikXFmF6ByDQ9

The same behavior when I scroll down.

LumaRay commented 4 years ago

Besides, when I use a scrollbar to "jump", a 1/3 of the top of the PropertyGrid and 1/3 of the bottom of the PropertyGrid are not updated: https://www.screencast.com/t/odB0ogpGYWiO

Should I open a ticket on https://trac.wxwidgets.org/ ?

LumaRay commented 4 years ago

I have added self.property_grid_1.Update() to OnPaint event and this seemed to fix the problem. Besides, this + replacing self.window_1_pane_1.Refresh() with wx.CallAfter(self.window_1_pane_1.Refresh) which also executed in the OnPaint handler fixed PropertyGrid dropdowns not expanding on click. However now I can see PropertyGrid help text flickering... Don't understand why it won't update on its own...