When initially creating a QWidget and calling show, then checking the value of contentsRect() on that widget, it is not sized to fill the screen even though the window is fullscreen.
On linux with a tiling window manager that automatically launches a new window as fullscreen (which I think is the closest equivalent to playbook), contentsRect will return the full screen dimensions in this case.
On mac, or on linux with a non-tiling window manager, the window starts smaller, but the value of contentsRect() still matches the actual dimensions of the window.
Calling "resize(1024,600)" on the widget fixes the problem, but this should have been done automatically when the application was launched, as it is on linux.
When initially creating a QWidget and calling show, then checking the value of contentsRect() on that widget, it is not sized to fill the screen even though the window is fullscreen.
On linux with a tiling window manager that automatically launches a new window as fullscreen (which I think is the closest equivalent to playbook), contentsRect will return the full screen dimensions in this case.
On mac, or on linux with a non-tiling window manager, the window starts smaller, but the value of contentsRect() still matches the actual dimensions of the window.
Calling "resize(1024,600)" on the widget fixes the problem, but this should have been done automatically when the application was launched, as it is on linux.