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 738865 - Buttons in save password bar have different vertical size
Buttons in save password bar have different vertical size
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Interface
3.14.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-10-20 13:04 UTC by Debarshi Ray
Modified: 2015-02-03 15:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot (44.13 KB, image/png)
2014-10-20 13:04 UTC, Debarshi Ray
  Details
screenshot of fix (91.57 KB, image/png)
2015-01-06 22:12 UTC, Michael Catanzaro
  Details
GtkInfoBar: Put the action area and close button in a vertical size group (796 bytes, patch)
2015-01-06 22:16 UTC, Michael Catanzaro
reviewed Details | Review
GtkInfoBar: Put action area and close button in vertical size group (790 bytes, patch)
2015-01-07 15:37 UTC, Michael Catanzaro
none Details | Review
Add missing mnemonic to save password infobar (981 bytes, patch)
2015-01-09 05:34 UTC, Michael Catanzaro
committed Details | Review
Use a text button for Close on the save password info bar (1.17 KB, patch)
2015-01-09 05:34 UTC, Michael Catanzaro
none Details | Review
Use a Don't Save button on the save password info bar (1.17 KB, patch)
2015-01-10 19:13 UTC, Michael Catanzaro
committed Details | Review

Description Debarshi Ray 2014-10-20 13:04:39 UTC
Created attachment 288937 [details]
Screenshot

See the attached screenshot.

The "save" and "x" buttons have different vertical sizes. Using a vertical size group might be helpful.
Comment 1 Michael Catanzaro 2015-01-06 22:12:50 UTC
Created attachment 293984 [details]
screenshot of fix

I post a screenshot of the fix because the close button is a bit big.
Comment 2 Michael Catanzaro 2015-01-06 22:16:18 UTC
Created attachment 293985 [details] [review]
GtkInfoBar: Put the action area and close button in a vertical size group
Comment 3 Pranav Kant 2015-01-07 06:55:33 UTC
Review of attachment 293985 [details] [review]:

That looks perfect except I noticed the commit message exceeding 72 character limit as according to here : https://wiki.gnome.org/Git/CommitMessages
Comment 4 Michael Catanzaro 2015-01-07 15:37:57 UTC
Created attachment 294040 [details] [review]
GtkInfoBar: Put action area and close button in vertical size group
Comment 5 Matthias Clasen 2015-01-09 03:18:34 UTC
I don't really agree that it looks perfect - the button is too big now for the small icon. I would suggest that you are better off hiding the image  button and showing a [ Save ][ Close ] if the extra close button is really necessary.
Comment 6 Michael Catanzaro 2015-01-09 05:27:27 UTC
OK. That might be good to mention in the API docs, since I thought this was how it was intended to be used.
Comment 7 Michael Catanzaro 2015-01-09 05:34:54 UTC
Created attachment 294135 [details] [review]
Add missing mnemonic to save password infobar
Comment 8 Michael Catanzaro 2015-01-09 05:34:56 UTC
Created attachment 294136 [details] [review]
Use a text button for Close on the save password info bar

The standard close image button looks bad next to a text button.
Comment 9 Michael Catanzaro 2015-01-09 05:37:10 UTC
I thought to put the Close button to the left of the Save button, like we do for message dialogs, but it felt out of place.
Comment 10 Michael Catanzaro 2015-01-10 19:13:14 UTC
Created attachment 294238 [details] [review]
Use a Don't Save button on the save password info bar

The standard close image button looks bad next to a text button.
Comment 11 Carlos Garcia Campos 2015-02-03 13:40:16 UTC
Review of attachment 294238 [details] [review]:

Ok
Comment 12 Michael Catanzaro 2015-02-03 15:20:38 UTC
Attachment 294135 [details] pushed as 4b2a1f0 - Add missing mnemonic to save password infobar
Attachment 294238 [details] pushed as a0d0cf8 - Use a Don't Save button on the save password info bar