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 688393 - Scrollbar on notification bubbles looks bad
Scrollbar on notification bubbles looks bad
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: message-tray
3.7.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-11-15 13:09 UTC by Lapo Calamandrei
Modified: 2012-11-26 14:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Zoomed screenshot bit hilighting bad positioning (15.08 KB, image/png)
2012-11-15 13:09 UTC, Lapo Calamandrei
  Details
Zoomed screenshot bit hilighting arches clashing (20.66 KB, image/png)
2012-11-15 13:10 UTC, Lapo Calamandrei
  Details
messageTray: modify bubble scrollview notification padding to have the same padding at right, bottom, top and left since having different padding make scrollbar looks ugly. (991 bytes, patch)
2012-11-15 16:51 UTC, Carlos Soriano
none Details | Review
before and after screenshot (12.35 KB, image/png)
2012-11-16 14:14 UTC, Allan Day
  Details
MessageTray: modify bubble scrollview notification padding to have the same padding at right, bottom, top and left since having different padding make scrollbar looks missaligned. Also adjust border radius of bubble to not clash the scrollbar. (1.26 KB, patch)
2012-11-19 12:24 UTC, Carlos Soriano
committed Details | Review
screenshot (70.59 KB, image/png)
2012-11-20 11:25 UTC, Allan Day
  Details

Description Lapo Calamandrei 2012-11-15 13:09:33 UTC
Created attachment 229042 [details]
Zoomed screenshot bit hilighting bad positioning

The scrollbar distance from the side edge of the bubble is 2px more then the one from top/bottom edges and the bubble border radius clashes with the scrollbar rounded part.
To keep that side distance the top/bottom distance should be increased by 2px and the bubble radius should be 15px to not clash.
Reducing side/top/bottom distance value should allow a lesser radius.
Here's a pair of screenshots hilighting the issue.
Comment 1 Lapo Calamandrei 2012-11-15 13:10:32 UTC
Created attachment 229043 [details]
Zoomed screenshot bit hilighting arches clashing
Comment 2 Carlos Soriano 2012-11-15 16:51:05 UTC
Created attachment 229069 [details] [review]
messageTray: modify bubble scrollview notification padding to have the same padding at right, bottom, top and left since having different padding make scrollbar looks ugly.
Comment 3 Carlos Soriano 2012-11-15 16:52:34 UTC
Lapo, do you have a good jhbuild to test it? If so, test it in your case please.
Comment 4 Allan Day 2012-11-16 13:09:13 UTC
(In reply to comment #2)
> Created an attachment (id=229069) [details] [review]
> messageTray: modify bubble scrollview notification padding to have the same
> padding at right, bottom, top and left since having different padding make
> scrollbar looks ugly.

Won't apply here.
Comment 5 Allan Day 2012-11-16 14:14:57 UTC
Created attachment 229134 [details]
before and after screenshot

Ignore me - I was being stupid.

See the attached screenshot - before is on the left, after is on the right.
Comment 6 Carlos Soriano 2012-11-16 14:40:10 UTC
Good =) I was getting crazy searching why it didn't apply to you.

So, the result of the patch is good for you?
Comment 7 Lapo Calamandrei 2012-11-16 14:43:46 UTC
Judging by the screenshot the bubble rounder corner radius still clashes with the scrollbar rounded part, anyway it's already better then before.
Comment 8 Allan Day 2012-11-16 15:58:50 UTC
Seems that the padding has been changed but the corner radius hasn't. I'd be happy to push as is, or to wait and add the extra modification.
Comment 9 Carlos Soriano 2012-11-16 16:06:35 UTC
Oh, I didn't understand good the clash problem.
Wait Allan, I will fix it.
Comment 10 Carlos Soriano 2012-11-17 01:40:46 UTC
Choose the best for you.

No clashing:

10 radius, 3 padding (10 radius is the same as notification radius, so more consistence):
http://postimage.org/image/3vvx9agjt/

13 radius, 6padding:
http://postimage.org/image/4t6hctqa3/

15 radius, 8 padding
http://postimage.org/image/upxrjrlf9/

Clashing:

8 radius, 8 padding (previous radius, previous padding adjusted):
http://postimage.org/image/4are5gywt/

8 radius, 12 padding (previous radius, more padding):
http://postimage.org/image/51k4b91a5/

10 radius, 8 padding(10 radius is the same as notification radius, so more consistence):
http://postimage.org/image/o9ostocvp/
Comment 11 Lapo Calamandrei 2012-11-17 12:39:49 UTC
All of them are better then the current state (good work!), I'd personally go 15/8.
Comment 12 Carlos Soriano 2012-11-19 12:24:45 UTC
Created attachment 229364 [details] [review]
MessageTray: modify bubble scrollview notification padding to have the same padding at right, bottom, top and left since having different padding make scrollbar looks missaligned. Also adjust border radius of bubble to not clash the scrollbar.
Comment 13 Allan Day 2012-11-20 11:25:36 UTC
Created attachment 229464 [details]
screenshot

Here's a couple of screenshots of the patch in action. Unfortunately, it seems to be throwing off the padding at the top of the popup. This may be a result of bug 688718.
Comment 14 Carlos Soriano 2012-11-20 13:36:13 UTC
Allan,
I noticed this bug before my fixes. But I didn't fixed it because its outside the scope of this bug.

If you do the same but without apply the patch you will notice it.

Is it ok? Or do you want that I fix it in this bug report?
Comment 15 Allan Day 2012-11-26 13:48:52 UTC
(In reply to comment #14)
> If you do the same but without apply the patch you will notice it.

Ah, indeed.

> Is it ok? Or do you want that I fix it in this bug report?

Seems like that's a separate bug. Let's get this landed as is.
Comment 16 Allan Day 2012-11-26 14:02:12 UTC
Comment on attachment 229364 [details] [review]
MessageTray: modify bubble scrollview notification padding to have the same padding at right, bottom, top and left since having different padding make scrollbar looks missaligned. Also adjust border radius of bubble to not clash the scrollbar.

Pushed. (I tidied up the commit message and added a title.)
Comment 17 Allan Day 2012-11-26 14:02:34 UTC
Nice fix. Thanks Carlos!