Bug 1373804

Summary: incorrect border color from GtkStyleContext [regression]
Product: [Fedora] Fedora Reporter: Pierre Ossman <ossman>
Component: gtk3Assignee: Matthias Clasen <mclasen>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: cosimo.cecchi, extras-qa, gecko-bugs-nobody, jhorak, mclasen, pjasicek, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1373560 Environment:
Last Closed: 2018-05-29 11:45:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
test program none

Description Pierre Ossman 2016-09-07 07:42:39 UTC
+++ This bug was initially created as a clone of Bug #1373560 +++

I just upgraded from Fedora 23 to Fedora 24 and I noticed that some applications now look a bit broken. On prominent such example is Firefox.

There is a much harsher line around some widgets. It seems like the colors have been change to a much darker tone. This is most prominent in Firefox where the address bar and menus now have black lines around a lot of elements.

Seen on at least two machines with different users so it doesn't seem to be specific to my setup.

Comment 1 Pierre Ossman 2016-09-07 07:44:36 UTC
I dug around a bit and it seems the color that is broken is ThreeDShadow. I compared the F23 color with the F24 color, and they seem to match the color from the Adwaita theme. However! in F24 it seems to be getting the "dark" version, rather than the proper light one.

Comment 2 Pierre Ossman 2016-09-09 14:43:14 UTC
Created attachment 1199498 [details]
test program

Seems to be a GTK+ bug rather than Firefox one. I did a simple test program that grabs the color the same way Firefox does. On Fedora 23 I get "rgb(161,161,161) / #a1a1a1" which I can easily find in gtk-contained.css:

> .frame {
>   border: 1px solid #a1a1a1;

For Fedora 24 I get "rgb(46,52,54) / #2e3436" which does not match gtk-contained.css:

> frame > border,
> .frame {
> ...
>   border: 1px solid #9d9d99; }

I can however find it used as "color" in lots of places. So something must be returning the wrong attribute. :/

Comment 3 Pierre Ossman 2016-11-24 12:34:30 UTC
Firefox seems to have a workaround in place, but GTK+ is still reporting the wrong value.

Could someone reset the assigned to field?

Comment 4 Pierre Ossman 2017-01-09 11:02:52 UTC
Still a problem on Fedora 25.

Comment 5 Fedora End Of Life 2017-11-16 19:12:19 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 6 Fedora End Of Life 2018-05-03 08:31:18 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 7 Fedora End Of Life 2018-05-29 11:45:32 UTC
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
is no longer maintained, which means that it will not receive any
further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.