I'm using this fork to contribute features and fixes to the upstream project. In order to create good pull requests, I'm rebasing my feature branches, squashing and reordering commits, etc. If you fork this repository be aware that my development branches may rewrite history without prior notice.
Currently the center of the scene is used to remember a screen position. This leads to two problems:
As the foreground is not correctly redrawn when calling centerOn() with Qt5, the grey borders indicating the display view size are not redrawn correctly.
With Qt >= 6.6.2, the scene moves slightly when positioned using centerOn().
Both problems could be solved by using the scroll bar positions already present in the SceneViewState. But before I want to clarify whether commit 773dab5 had a specific reason not to use the scroll bar positions.
Currently the center of the scene is used to remember a screen position. This leads to two problems:
centerOn()
with Qt5, the grey borders indicating the display view size are not redrawn correctly.centerOn()
.Both problems could be solved by using the scroll bar positions already present in the
SceneViewState
. But before I want to clarify whether commit 773dab5 had a specific reason not to use the scroll bar positions.