Menu

#67 [Linux] Window is resized incorrectly if video dimensions are larger than screen size

Unstable_(example)
open
nobody
None
5
2021-02-19
2017-10-04
No

If "autoresize" option is turned on and you load a video which dimensions are larger than the size of my screen, the window goes outsize the screen boundaries, making it very hard to use. I face this issue on Linux only (ubuntu 17.03), Windows is just fine.

After looking at sources, i've found that basegui.cpp file already contains code that adjust the size of the window, but it is compiled only on windows. When I uncommented a block of code located at src/basegui.cpp:5466, the issue has gone away. I do not understand why this code is surrounded with preprocessor condition to be included only in windows builds.

Discussion

  • Victor Tyazhelnikov

    Sorry, it looks like i've posted the bugreport in a wrong place :(

     

Log in to post a comment.