gskinnerTeam/flokk

Default window size too large in Linux build

Opened this issue · 1 comments

The file https://github.com/gskinnerTeam/flokk/blob/master/flokk_src/linux/window_configuration.cc sets the window size to 1366x768. About half of Ubuntu users, according to https://ubuntu.com/desktop/statistics , have a desktop resolution of 1366x768 or less. As the app opens in windowed mode (and taking window decorators and desktop docks into account), all of those users are going to find the window overflows the screen. There is no "maximise" button enabled to resize to the actual screen size.

In my case, the "Privacy Policy" link opens off-screen when the app starts up. That leaves a bad impression. The app should open in a smaller (resizable) window or should auto-detect resolution and adjust accordingly.

This should go to full-size if the screen resolution is smaller than the default window geometry. This was fixed in flutter, but the project needs to be upgraded to use the latest flutter. This is a duplicate of issue #6