wxWindow::Refresh()
doesn't repaint items under Wayland when called from wxEVT_IDLE
handler
#24443
Labels
Wayland
wxGTK Wayland-specific issues
I'll try to come up with a SSCCE later, but for now I'm opening this just to check if anybody has already run into this by chance and/or has any ideas:
Calling
wxListCtrl::RefreshLines()
doesn't have the expected effect when it's called fromOnIdle()
, i.e. it doesn't repaint the affected items. This only happens when using Wayland, not X11, and can be worked around by usingCallAfter()
which is weird because it's still called during the idle time -- but somehow doing it during the next idle callback call works. This doesn't seem to bewxListCtrl
-specific, I just don't see any calls toGTKSendPaintEvents()
after callinggdk_window_invalidate_rect()
in this case.The text was updated successfully, but these errors were encountered: