SimonBuxx / Linkuit-Studio

A platform for learning and experimenting with logic circuits
https://linkuit.com
MIT License
20 stars 2 forks source link

White lines visible in some zoom settings #118

Open SimonBuxx opened 2 years ago

SimonBuxx commented 2 years ago

This only happens on my notebook's display.

SimonBuxx commented 1 year ago

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 commented 1 year ago

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.