Skip to content

Fix that Qt update() and wx Refresh did not cause a new draw#203

Merged
almarklein merged 1 commit into
mainfrom
native-update
Apr 8, 2026
Merged

Fix that Qt update() and wx Refresh did not cause a new draw#203
almarklein merged 1 commit into
mainfrom
native-update

Conversation

@almarklein
Copy link
Copy Markdown
Member

@almarklein almarklein commented Mar 27, 2026

Ref pygfx/pygfx#1284

  • Calling widget.update() on the Qt backend does not cause a redraw, when present_method is 'bitmap' (the current default).
  • Same for `widget.Refresh() for the wx backend.

For qt did worked earlier, but somehow some code got commented during #138 (i.e. a regression). For wx this was always broken.

This PR fixes both.

@almarklein almarklein requested a review from Korijn March 27, 2026 09:49
@almarklein almarklein merged commit b73cafc into main Apr 8, 2026
21 checks passed
@almarklein almarklein deleted the native-update branch April 8, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant