GNOME Bugzilla – Bug 712258
Unable to maximize or tile/snap on lower resolution displays
Last modified: 2018-01-18 18:37:28 UTC
I'm assuming the GNOME Photos application has a minimum height set. On various netbooks, all running GNOME, we are unable to maximise or tile/snap the application. The reason for tryingthis is the bottom of the window is lost off screen. For now we stick to Nautilus and EOG which is not a major problem.
1024x600 -Samsung N120 -Lenovo Ideapad S10-3T -HP mini -Sony Vaio
Yes, it has a minimum window size of 640x600.
I tried a minimum size of 512x568 so that we stay within half of 1024x600 after accounting for the height of gnome-shell's top panel. Unfortunately, the application's headerbar gets too crowded. Michael, you can try playing with WINDOW_MIN_HEIGHT and WINDOW_MIN_WIDTH in src/photos-main-window.c to see what fits you best.
I'm not sure why the ui-review keyword is being used here. The HIG provides guidance on minimum window sizes: https://developer.gnome.org/hig/stable/display-compatibility.html.en
(In reply to Allan Day from comment #4) > I'm not sure why the ui-review keyword is being used here. The HIG provides > guidance on minimum window sizes: > > https://developer.gnome.org/hig/stable/display-compatibility.html.en Thanks for the link, Allan! The minimum size chosen in commit 81a88f80e3654d / bug 691316 seems surprisingly aligned with the HIG. It doesn't say whether that was really the case, nor can I remember it, but I won't be surprised if I had read some Wiki page while coming up with those numbers. I also don't recall if the HIG existed in its current form back then in August 2013. Anyway, to summarise the HIG: (a) Application windows should fit within 1024×600 logical pixels. (b) For portrait mode, the minimum width should be less than 768 logical pixels. (c) Half-screen snap is impractical on very small displays. It should be supported on screens that are 1280 logical pixels or wider, meaning that windows should have a minimum width of no less than 640 logical pixels. (d) Applications that are used in isolation do not need to support half-screen snap (a music player is a good example of this). The current minimum of 640x600 logical pixels satisfies (a), (b) and (c), and Photos is currently a single window application so it also falls under (d).
*** This bug has been marked as a duplicate of bug 691316 ***