-
Notifications
You must be signed in to change notification settings - Fork 55
Header bars with separators in them show as light lines for dark variants #74
Comments
@NicoHood: I have installed Dino (it's a neat application that I didn't know!), disabled my CSS hack in (I took screenshots of both application windows and then stitched them together in GIMP; Fractal's was wider and I left the close button out of the image.) |
Alright. Could you please prepare a pullup request for the fix. Also make sure that you are using the color variables and no fixed color value ;) Just to clarify: This only happens with arc, right? Not with other themes, so its no faul of the application you are using? |
Any chance that you do a pullup request until next sunday? We can include it into the next release then. |
@jnsh could you please have a look at this? Its the last bug to fix for the next release. Or we just skip it. |
Frankly, I wouldn't like to create a matrix account just that I could test this small issue, that may be already fixed upstream. @aperezdc Could you confirm whether this issue is still present with latest fractal version? If it's still there, I can have a look. |
This glitch is still happening in Fractal 3.30.0, let me know if there is something I can check on my side to help solve this. |
@aperezdc Could you please try our new release from a few days ago? If not, check if your patch stil works and please prepare a PR :) |
@NicoHood I can confirm that the issue is still happening with the 20181022 release. To be honest, I don't know what the proper fix would be. Looking at the differences between Dino and Fractal using the GTK+ inspector, I can see that Fractal has the following widgets in the header bar:
while Dino has the following:
I have no idea how Dino's theming can be painting a separator when there is none in the widget hierarchy... but that's likely the cause of its separator being correctly dark. Any suggestions of what to touch in the theme CSS? Or do you think this might be an issue in Fractal after all? |
I investigated the issue with gtk+ inspector and I think this could probably be considered an issue with Fractal. The @aperezdc Would you mind testing my theory, by removing the To do this, select some object, and from the drop-down menu on top-left, choose "CSS nodes". From there, find the separator widget, double-click the "Style Classes" column, and from the opening popover delete the I hope I explained that clearly enough. Here's a screenshot that might help. If removing the I think it should be possible to work around the issue in the gtk theme as well, if upstream fix is out of the question for whatever reason. |
@kakolisgay Thank you for checking with upstream. I'll work on a fix for this.. |
This should have been already fixed with 2c45d9e, at least for Fractal 4.0. However, the styling between The aforementioned fix was somewhat incomplete from the beginning, so I worked out a proper fix, that should be used instead of the previous one: jnsh/arc-theme@9b7e702 Note that I didn't test this with Fractal versions earlier than 4.0 (and there's been some changes to its headerbar's styling since this issue was opened), but I'm pretty sure it should fix headerbar separators in most cases. |
I've noticed this while using Fractal (a Matrix IM client). Its main window header bar has a
GtkStack
with twoGtkHeaderBar
elements and aGtkSeparator
in between. The separator shows as a white/light line, which looks jarring in the dark theme variants.Using the following CSS snippet from the GTK+ inspector seems to do the trick to fix this issue for Fractal:
(Probably using
window.csd separator
in the CSS selector is enough and more general, dunno!)You can see the white line in the following GIF, and how the CSS snippet being applied from the inspector changes it to a dark line:
Details
3.28.1
20180114-1
3.22.30-1
0.98.2-3
gnome-themes-standard
version: noneThe text was updated successfully, but these errors were encountered: