OpenBoard-org / OpenBoard

OpenBoard is a cross-platform interactive whiteboard application intended for use in a classroom setting.
https://openboard.ch/
GNU General Public License v3.0
2.35k stars 423 forks source link

[Bug] Wide page size not working #1069

Open aanandharaja opened 1 month ago

aanandharaja commented 1 month ago

Latest Ubuntu 24.04 Build 1.7.2-rc.240815-1, wide page size 16/9 not working, it shows border, earlier versions don't have this issues.

letsfindaway commented 1 month ago

Hmm, not easy to guess what your problem actually is. There are reasons why we provide a template for bug reports with a set of questions. My remaining questions are:

aanandharaja commented 3 weeks ago
letsfindaway commented 3 weeks ago

Ok, I see. This is expected behavior. Let me explain:

The two grey lines to the left and right are part of a grey rectangle. You can see the top and bottom lines if you move the canvas or zoom out. This rectangle indicates a "nominal page size". It can be 4:3 or 16:9 and you can switch this in the preferences.

As there is a toolbar at the top of the application, the remaining canvas is no longer the same as your monitor, but smaller. A 16:9 area of the canvas is therefore smaller than the monitor width. This is indicated by these lines.

In the previous version of OpenBoard the initial zoom factor was not correctly calculated, so that not the whole nominal page was visible. This was changed from the previous experimental build to the current.

See PR #901 which changed this behavior because the previous behavior had issues with imported PDFs.