Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

White lines visible in some zoom settings #118

Open
SimonBuxx opened this issue Nov 13, 2022 · 2 comments
Open

White lines visible in some zoom settings #118

SimonBuxx opened this issue Nov 13, 2022 · 2 comments
Assignees
Labels
bug Something isn't working canvas

Comments

@SimonBuxx
Copy link
Owner

This only happens on my notebook's display.

@SimonBuxx SimonBuxx added bug Something isn't working canvas labels Nov 13, 2022
@SimonBuxx SimonBuxx self-assigned this Dec 27, 2022
@SimonBuxx
Copy link
Owner Author

A potential fix is to enable background caching:

mGraphicsView.setCacheMode(QGraphicsView::CacheBackground);

Impact on performance and potential side effects have to be assessed before implementing this.

SimonBuxx added a commit that referenced this issue Dec 27, 2022
@SimonBuxx SimonBuxx reopened this Dec 31, 2022
@SimonBuxx
Copy link
Owner Author

Background caching has the side effect that the background is not correctly panned and zoomed. If we clear the cache on pan/zoom, performance is negatively affected.

The root cause of the white lines beneath the bounding rect of components is still unknown, changing the bounding rect and/or item shape does not fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working canvas
Projects
None yet
Development

No branches or pull requests

1 participant