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 624378 - styling of the border for the panel is flaky
styling of the border for the panel is flaky
Status: RESOLVED DUPLICATE of bug 607500
Product: gnome-shell
Classification: Core
Component: general
2.29.x
Other Linux
: Normal minor
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2010-07-14 19:45 UTC by Jakub Steiner
Modified: 2010-12-04 01:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
flat fill for panel works as expected (140.52 KB, image/png)
2010-07-14 19:45 UTC, Jakub Steiner
Details
gradient fill makes border break (280.79 KB, image/jpeg)
2010-07-14 19:46 UTC, Jakub Steiner
Details
actual attachment #1 - using flat fill makes the border behave as expected (254.30 KB, image/jpeg)
2010-07-14 19:49 UTC, Jakub Steiner
Details

Description Jakub Steiner 2010-07-14 19:45:20 UTC
Created attachment 165910 [details]
flat fill for panel works as expected

When using border-bottom: 1px solid rgba(255,255,255,.5); rule on the panel (#panel {}) when the panel has a gradient fill with rgba() colors, the top left and right borders magically appear. Overriding them with their border-top, border-left and border-right properties doesn't seem to have any effect. Using a flat rgba() fill for the panel works fine.

This works fine:

#panel {
    color: #ffffff;
    font-size: 12px;
    background-color: black;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    background-color: rgba(0,0,0,0.5)
    /*
    background-gradient-direction: vertical;
    background-gradient-start: rgba(0,0,0,0.9);
    background-gradient-end: rgba(0,0,0,0.5);
    */
}

Results in attachment #1 [details]

However, setting the background as a gradient makes top left and right borders appear:

#panel {
    color: #ffffff;
    font-size: 12px;
    background-color: black;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    background-gradient-direction: vertical;
    background-gradient-start: rgba(0,0,0,0.9);
    background-gradient-end: rgba(0,0,0,0.5);
}

Results in attachment #2 [details]
Comment 1 Jakub Steiner 2010-07-14 19:46:49 UTC
Created attachment 165911 [details]
gradient fill makes border break
Comment 2 Jakub Steiner 2010-07-14 19:49:39 UTC
Created attachment 165912 [details]
actual attachment #1 [details] - using flat fill makes the border behave as expected

Bah, picked the wrong screenshot for the first attachment, hope I don't confuse that much.
Comment 3 Florian Müllner 2010-12-04 01:32:31 UTC

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