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 759462 - osm login dialog is too tall
osm login dialog is too tall
Status: RESOLVED FIXED
Product: gnome-maps
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-maps-maint
gnome-maps-maint
Depends on:
Blocks:
 
 
Reported: 2015-12-14 17:29 UTC by Andreas Nilsson
Modified: 2018-01-22 21:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot (338.16 KB, image/png)
2015-12-14 17:29 UTC, Andreas Nilsson
  Details
Reduced overall height of osm-account-dialog box (1.22 KB, patch)
2015-12-18 05:30 UTC, Karanbir Chahal
none Details | Review
Screenshot of above mentioned change (597.70 KB, image/png)
2015-12-18 05:32 UTC, Karanbir Chahal
  Details
Updated patch with changes mentioned (1.15 KB, patch)
2015-12-18 11:41 UTC, Karanbir Chahal
needs-work Details | Review
verification screenshot (197.58 KB, image/png)
2015-12-18 20:17 UTC, Andreas Nilsson
  Details
signed in screenshot (111.21 KB, image/png)
2015-12-18 20:19 UTC, Andreas Nilsson
  Details
screenshot of signed out again (128.44 KB, image/png)
2015-12-18 20:19 UTC, Andreas Nilsson
  Details
osm login dialog box (518.24 KB, image/png)
2018-01-22 18:55 UTC, Vibhanshu Vaibhav
  Details
after logging in (515.70 KB, image/png)
2018-01-22 18:55 UTC, Vibhanshu Vaibhav
  Details
log out screenshot (521.26 KB, image/png)
2018-01-22 18:58 UTC, Vibhanshu Vaibhav
  Details
osmAccountDialog: Decrease height of log in dialog (1.05 KB, patch)
2018-01-22 19:12 UTC, Vibhanshu Vaibhav
committed Details | Review

Description Andreas Nilsson 2015-12-14 17:29:14 UTC
Created attachment 317387 [details]
screenshot

there is this gap at the bottom of the dialog.
Not sure where it comes from.
Comment 1 Karanbir Chahal 2015-12-18 05:30:28 UTC
Created attachment 317603 [details] [review]
Reduced overall height of osm-account-dialog box
Comment 2 Karanbir Chahal 2015-12-18 05:32:10 UTC
Created attachment 317604 [details]
Screenshot of above mentioned change
Comment 3 Jonas Danielsson 2015-12-18 06:11:47 UTC
Review of attachment 317603 [details] [review]:

Thanks for this!

See the guide about commit message from other review!

I think maybe: "osm-account-dialog: Decrease height"
And again no need to specify what files were altered.

Otherwise it looks fine I think. Andreas, does this meet your expectations?
Comment 4 Karanbir Chahal 2015-12-18 07:55:05 UTC
Comment on attachment 317603 [details] [review]
Reduced overall height of osm-account-dialog box

>From 0bd923f155c432fbaf0b1d901b7a705f46331a25 Mon Sep 17 00:00:00 2001
>From: Karanbir Chahal <karanbleep@gmail.com>
>Date: Fri, 18 Dec 2015 10:56:15 +0530
>Subject: [PATCH 1/1] osm-account-dialog: Decrease height
>
>The previous height of the osm dialog box was 250 px which led to a lot of wasted space.This commit reduces it to 150 px .
>
> https://bugzilla.gnome.org/show_bug.cgi?id=759462
>---
> data/ui/osm-account-dialog.ui | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/data/ui/osm-account-dialog.ui b/data/ui/osm-account-dialog.ui
>index 48a7f51..9173ad8 100644
>--- a/data/ui/osm-account-dialog.ui
>+++ b/data/ui/osm-account-dialog.ui
>@@ -190,7 +190,7 @@ OpenStreetMap account.</property>
>                     <property name="visible">True</property>
>                     <property name="halign">GTK_ALIGN_FILL</property>
>                     <property name="self-scrolling">True</property>
>-                    <property name="height-request">250</property>
>+                    <property name="height-request">150</property>
>                   </object>
>                   <packing>
>                     <property name="left_attach">0</property>
>-- 
>2.5.0
>
Comment 5 Karanbir Chahal 2015-12-18 11:41:56 UTC
Created attachment 317627 [details] [review]
Updated patch with changes mentioned
Comment 6 Jonas Danielsson 2015-12-18 11:44:27 UTC
Review of attachment 317627 [details] [review]:

The commit body seem to have to long lines.
Comment 7 Marcus Lundblad 2015-12-18 12:07:10 UTC
Review of attachment 317627 [details] [review]:

Could maybe split the commit body message with a newline after the first sentence.
Might maybe spell out the pixels, as well.
Also, did you test this to see that the verification frame loads and is visible after signing in with the user name and password?
Looks good otherwise!
Comment 8 Andreas Nilsson 2015-12-18 20:17:15 UTC
Created attachment 317647 [details]
verification screenshot
Comment 9 Andreas Nilsson 2015-12-18 20:19:24 UTC
Created attachment 317648 [details]
signed in screenshot

It's still very tall once you're signed in, and once you've signed out, it stays the taller height.
Comment 10 Andreas Nilsson 2015-12-18 20:19:52 UTC
Created attachment 317649 [details]
screenshot of signed out again
Comment 11 Andreas Nilsson 2015-12-18 20:20:41 UTC
(In reply to Marcus Lundblad from comment #7)
> Review of attachment 317627 [details] [review] [review]:

> Also, did you test this to see that the verification frame loads and is
> visible after signing in with the user name and password?

See sreenshot in comment 8
Comment 12 Karanbir Chahal 2016-01-02 11:26:26 UTC
Hmm yeah , it goes back to that 250 pixels and stays that way unless you close it and open it again. Any suggestions?
Comment 13 Vibhanshu Vaibhav 2018-01-22 18:54:02 UTC
Changing the height to 150 pixels worked fine.
Comment 14 Vibhanshu Vaibhav 2018-01-22 18:55:08 UTC
Created attachment 367237 [details]
osm login dialog box

height is 150 pixels
Comment 15 Vibhanshu Vaibhav 2018-01-22 18:55:59 UTC
Created attachment 367238 [details]
after logging in

the height looks fine after login
Comment 16 Vibhanshu Vaibhav 2018-01-22 18:58:01 UTC
Created attachment 367239 [details]
log out screenshot

this is after I logged out of my osm account
Comment 17 Vibhanshu Vaibhav 2018-01-22 19:12:42 UTC
Created attachment 367240 [details] [review]
osmAccountDialog: Decrease height of log in dialog

changed height from 250 pixels to 150 pixels
Comment 18 Marcus Lundblad 2018-01-22 21:11:14 UTC
Review of attachment 367240 [details] [review]:

LGTM
Comment 19 Marcus Lundblad 2018-01-22 21:11:28 UTC
Thanks!
Comment 20 Marcus Lundblad 2018-01-22 21:12:52 UTC
Attachment 367240 [details] pushed as e70b6df - osmAccountDialog: Decrease height of log in dialog