nomic-ai / gpt4all

GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
https://nomic.ai/gpt4all
MIT License
69.01k stars 7.57k forks source link

Minimum window width partially breaks portrait monitor and multitasking support #2714

Open nuenuewei opened 1 month ago

nuenuewei commented 1 month ago

I tend to use text tools e.g. discord, obsidian, gpt4all on my secondary screen, in portrait orientation. A number of programs set a forced minimum width, creating errors and inconveniences for this use case.

Many people use the Snap multitasking feature in Windows to quickly assign a program exactly half of the screen. Minimum widths also break this.

Steps to Reproduce

  1. Have a monitor in portrait orientation at 1920p.

  2. Maximize the program on the portrait monitor. The program will correctly size itself to the screen.

  3. Test and observe that the program functions normally at this size.

  4. Restart the program.

  5. The program will start with the window in the same position, but the width will be reset to 1280, forcing part of the window off the screen.

  6. Attempt to re-adjust the window manually; it will refuse to resize.

  7. On a Windows system, have a monitor in landscape orientation at 1080p

  8. Drag the program to the edge of the screen, activating windows' snap feature, instructing the program to use half the screen.

  9. Notice, the program takes up more than half the screen.

  10. Drag the edge resize anchor, it refuses to shrink smaller than 1280.

Expected Behavior

The program should accept and keep any window size assigned to it, including ones that might affect functionality- but especially ones that don't. The program should conform to OS functions like Snap and maximize. Desktop composition decisions should simply be left to the user.

Your Environment