letsfindaway / OpenBoard

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.
http://openboard.ch/
GNU General Public License v3.0
9 stars 0 forks source link

Position of drop down menu not updated when panning screen. #120

Closed letsfindaway closed 1 year ago

letsfindaway commented 1 year ago

If you move a widget without selecting it, the dropdown list position is not updated.

letsfindaway commented 1 year ago

I could fix the problem when the scene was scrolled. But a similar problem also occurs when zooming. Here the same fix did not help solving this problem. After zooming, even moving and resizing the widget manually does not help.

Position changes due to zooming are correctly reflected. Also the menu is zoomed. But the position is still calculated relative to the top-left corner of the widget as if it would not be zoomed.

So it seems that not only the item position is not correctly forwarded to the QWebEngineView, but also the scaling.

letsfindaway commented 1 year ago

Cannot find a solution for the zoom problem. Will probably try to create a minimal proof-of-failure and a QTBUG, but this does not help us here.

Is it ok if I provide the workaround for panning only?

letsfindaway commented 1 year ago

I created QTBUG https://bugreports.qt.io/browse/QTBUG-109068.

letsfindaway commented 1 year ago

Closed as PR was merged.