Skip to content

feat: Set default window size on Linux to 1110x950#2406

Open
0rzech wants to merge 1 commit intokrille-chan:mainfrom
0rzech:feat/linux-larger-default-window-size
Open

feat: Set default window size on Linux to 1110x950#2406
0rzech wants to merge 1 commit intokrille-chan:mainfrom
0rzech:feat/linux-larger-default-window-size

Conversation

@0rzech
Copy link
Copy Markdown
Contributor

@0rzech 0rzech commented Dec 5, 2025

Thank you so much for your contribution to FluffyChat ❤️❤️❤️

Pull Request has been tested on:

  • Android
  • iOS
  • Browser (Chromium based)
  • Browser (Firefox based)
  • Browser (WebKit based)
  • Desktop Linux
  • Desktop Windows
  • Desktop macOS

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.

@0rzech 0rzech requested a review from krille-chan as a code owner December 5, 2025 16:50
@0rzech 0rzech force-pushed the feat/linux-larger-default-window-size branch 2 times, most recently from df5c48e to b0332ac Compare December 5, 2025 17:00
@0rzech 0rzech changed the title feat: Set default window size to 1110x1024 on Linux feat: Set default window size to 1110x950 on Linux Dec 5, 2025
@0rzech 0rzech force-pushed the feat/linux-larger-default-window-size branch from b0332ac to f3d6cb7 Compare December 5, 2025 18:23
@0rzech 0rzech changed the title feat: Set default window size to 1110x950 on Linux feat: Set default window size on Linux to 1110x950 Dec 5, 2025
Copy link
Copy Markdown
Owner

@krille-chan krille-chan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@0rzech
Copy link
Copy Markdown
Contributor Author

0rzech commented Dec 6, 2025

This is how much information fits on FluffyChat mobile:
FluffyChat mobile

And this is how much information fits on FluffyChat desktop Linux:
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. 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants