Skip to content

Fix unstable lines on linux#9

Merged
rallyplot merged 4 commits intomainfrom
fix_unstable_lines_on_linux_attempt_2
Dec 22, 2025
Merged

Fix unstable lines on linux#9
rallyplot merged 4 commits intomainfrom
fix_unstable_lines_on_linux_attempt_2

Conversation

@rallyplot
Copy link
Owner

@rallyplot rallyplot commented Dec 21, 2025

This PR fixes flicking lines on Linux. The issue was that when mixing native openGL calls and QPainter calls should be wrapped in begin/endNativePainting. This had no effect in most cases, but lead this to this weird flickering of the x-axis vertical gridlines. This PR also refactors QPainter so it is only initialised once.

@rallyplot rallyplot changed the title Fix unstable lines on linux attempt 2 Fix unstable lines on linux Dec 22, 2025
@rallyplot rallyplot merged commit a670e55 into main Dec 22, 2025
6 checks passed
@rallyplot rallyplot deleted the fix_unstable_lines_on_linux_attempt_2 branch December 22, 2025 01:44
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