Skip to content

[PresentationWidget] Fix changing the screen while in presentation mode

Ahmad Samir requested to merge (removed):l-setScreen-presentation into master

Apparently calling setGeometry() on a fullscreen QWidget doesn't work; one workaround is to unset fullscreen on the widget, then set it again after the setGeometry() call.

To make the move to another screen look smoother, first hide() the widget, the show() it after all the resizing/moving is finished.

To test, a set up with more than one monitor is needed:

  • Open e.g. a pdf, and activate the presentation mode

  • Try changing the screen from the bar that appears on mouse hover at the top of the widget

  • The widget should move to the "other" screen

  • Also try moving the widget to a screen using the window manager, with kwin Alt+F3 to invoked the titlebar context menu, then "Move to screen", that should work too. This is to test that the fix for bug 173545 hasn't regressed.

Merge request reports