After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 712258 - Unable to maximize or tile/snap on lower resolution displays
Unable to maximize or tile/snap on lower resolution displays
Status: RESOLVED DUPLICATE of bug 691316
Product: gnome-photos
Classification: Applications
Component: general
3.10.x
Other All
: Normal minor
: ---
Assigned To: GNOME photos maintainer(s)
GNOME photos maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-11-14 00:46 UTC by Michael Heyns
Modified: 2018-01-18 18:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Heyns 2013-11-14 00:46:03 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.
Comment 1 Michael Heyns 2013-11-18 00:02:43 UTC
1024x600
-Samsung N120
-Lenovo Ideapad S10-3T
-HP mini
-Sony Vaio
Comment 2 Debarshi Ray 2013-12-27 15:18:58 UTC
Yes, it has a minimum window size of 640x600.
Comment 3 Debarshi Ray 2014-03-07 10:39:40 UTC
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.
Comment 4 Allan Day 2018-01-18 17:50:08 UTC
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
Comment 5 Debarshi Ray 2018-01-18 18:37:10 UTC
(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).
Comment 6 Debarshi Ray 2018-01-18 18:37:28 UTC

*** This bug has been marked as a duplicate of bug 691316 ***