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 735233 - Set a minimum size for the portal helper
Set a minimum size for the portal helper
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: portal-helper
3.13.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2014-08-22 17:09 UTC by Bastien Nocera
Modified: 2017-01-24 12:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
portalHelper: Set a minimum window size (725 bytes, patch)
2017-01-23 08:04 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2014-08-22 17:09:26 UTC
I can resize it down to a 1x1 window. Some minimum is required. Maybe "iPhone 3GS" resolution should be a minimum? Most portals would fit onto that.
Comment 1 drago01 2014-08-23 08:29:32 UTC
(In reply to comment #0)
> I can resize it down to a 1x1 window. Some minimum is required. Maybe "iPhone
> 3GS" resolution should be a minimum? Most portals would fit onto that.

Only if you set a mobile user agent. A full "desktop" portal wont fit in there.
Comment 2 Bastien Nocera 2017-01-23 06:36:58 UTC
(In reply to drago01 from comment #1)
> (In reply to comment #0)
> > I can resize it down to a 1x1 window. Some minimum is required. Maybe "iPhone
> > 3GS" resolution should be a minimum? Most portals would fit onto that.
> 
> Only if you set a mobile user agent. A full "desktop" portal wont fit in
> there.

Better than it would in a 1x1 square.
Comment 3 Bastien Nocera 2017-01-23 08:04:55 UTC
Created attachment 344019 [details] [review]
portalHelper: Set a minimum window size
Comment 4 Rui Matos 2017-01-24 12:20:04 UTC
Review of attachment 344019 [details] [review]:

We already maximize the window for the initial map. Maybe we should just use gtk_window_set_geometry_hints() and set the minimum? This should work fine as well
Comment 5 Bastien Nocera 2017-01-24 12:36:56 UTC
Attachment 344019 [details] pushed as a81f185 - portalHelper: Set a minimum window size