feat: Set default window size on Linux to 1110x950#2406
feat: Set default window size on Linux to 1110x950#24060rzech wants to merge 1 commit intokrille-chan:mainfrom
Conversation
df5c48e to
b0332ac
Compare
b0332ac to
f3d6cb7
Compare
krille-chan
left a comment
There was a problem hiding this comment.
I'm not sure. Personally I prefer the smaller size. As this is user specific we should more aim to remember the window size before closing the app while the best approach might be to build this into the Flutter framework
|
This is how much information fits on FluffyChat mobile: And this is how much information fits on FluffyChat desktop Linux: IMHO, the difference is pretty significant and the desktop Linux variant is much less usable by default with how narrow the chat widget is and how little vertical space it has. Also, the Windows variant defaults to 1280x720, judging by main.cpp at least, so it's even wider than what I propose here. To be fair, though, MacOS version seems to be 800x600 (MainMenu.xib) only. Perhaps it would make sense to do a poll on the FluffyChat Matrix channel asking others about the default size preference (assuming you're open to changing it 😉)? I agree that window resizing support in Flutter framework would be the best solution, but I wouldn't bet on them adding it any time soon. I also found window_manager plugin which allows changing desktop window size. There are others too, but this one seems to be the most actively managed. Using it, the app could dump its current window size and position to some config file and restore that on start. There may be a small risk of creating some interesting edge cases on different desktop environments and multi-monitor setups etc. I fully respect it's your project and you can close this PR anyway. 😉 |


Thank you so much for your contribution to FluffyChat ❤️❤️❤️
Pull Request has been tested on:
This is to give the app some breathing air on desktop Linux. Currently FluffyChat starts very small by default and at least on Gnome requires resizing each time to get a better usability.