Skip to content

[rootcanvas] fix GL canvas flicking with enabled tooltip - #23325

Open
linev wants to merge 1 commit into
root-project:masterfrom
linev:gl_flicking
Open

[rootcanvas] fix GL canvas flicking with enabled tooltip#23325
linev wants to merge 1 commit into
root-project:masterfrom
linev:gl_flicking

Conversation

@linev

@linev linev commented Sep 9, 2026

Copy link
Copy Markdown
Member

When TRootCanvas shows tooltips it also call sync for X11 canvas with mouse click event.
It should not be done for GL-based canvas.

For the future it should be moved to TCanvas::Flush() method where sync of all pixmaps / doublebuffers is implemented including GL support.

Issue exists since ever but was never observed while both GL and tooltips are disabled by default
and most probably never tested together.

When TRootCanvas shows tooltips it also call sync for
X11 canvas. It should not be done for GL-based canvas.

For the future it should be moved to TCanvas::Flush() method where sync of all pixmaps / doublebuffers is implemented including GL support.
@linev
linev requested a review from couet September 9, 2026 15:36
@linev linev self-assigned this Sep 9, 2026
@linev
linev requested a review from bellenot as a code owner September 9, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant