-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with the Darker variation in Synaptic. #51
Comments
Which distribution, and synaptic version is this? And how did you install the theme? |
Ubuntu 20.04, version of Synaptic is 0.84.6 and installed in the theme
folder in root mode.
Em qua, 3 de jun de 2020 21:43, jnsh <notifications@github.com> escreveu:
… Which distribution, and synaptic version is this? And how did you install
the theme?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#51 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOFBLX6475SCDEURUVBNVHDRU3UZ3ANCNFSM4NR6KOGQ>
.
|
Sorry, this is still a bit unclear. Did you build and install the theme manually from the source code, or via package manager, or did you install some downloaded |
.Deb package |
I came to post the same issue for Ubuntu 20.04 (I had previously left an issue at the now defunct "arc-design" repo: arc-design/arc-theme#287. Anyway, I built the theme from source and confirmed the same issues. The ubuntu repo version of arc-theme (20190917) has the same problems, thus the attempts to update to see if it fixes things, but alas no luck yet. Also I updated Synaptic to version 0.90 from a PPA (ubuntu focal version is 0.84.x) and still have the same issues. @jnsh what distro are you on? Do you see something different with synaptic there? BTW it is AWESOME you have picked up the arc-theme mantle: certainly highly appreciated by many! Note the "dark box" next to the quick search comes after you install apt-xapian-index to provide the quick-search functionality. |
@rik-shaw Thank you for the additional confirmation. I'm using Arch, which is not .deb based distributon, and therefore synaptic package manager isn't available for me. I'll need to set up ubuntu 20.04 on VM to investigate, and it could be awhile until I can get at it. |
Fair enough, it isn't possible to cover the whole world yourself :-) I'll try digging to see if I can find some elements that with some tweaking would address the shortcomings. Mint forked Arc some time back and doesn't have the issue with their theme for example, so I may be able to compare to try and understand if the code bases aren't too far apart. I may need to find an older theme version from them from near the time of forking. Other Arc derivative themes you could suggest for cross-testing? |
If you want to investigate, you should look at the CSS definitions with GTK inspector, and find out which classes/elements need fixing. Let me know if you find out anything interesting. Figuring out a proper fix might get trickier, unless you're very familiar with GTK theming. |
@jnsh thanks for the tip on GTK Inspector. I have manually hacked around on .css here and there when we have needed a few custom overrides. But I have never done it "properly", and this is a good tip to help me get started. However, I may be in over my head as the .css files are all compiled, right? In
So then finding
Am I close? :-) How is the easy way to test possible changes? In the compiled theme, maybe I could just add to So, again, manually add to |
Yes, the compiled in GTK 3 theme is generated from the SASS files in If you want to test changes locally, I think the easiest way is to either inject your CSS changes with either GTK Inspector, or via I have a hunch that the fix for this specific issue may be rather complicated, or possibly even something that would have to be fixed in synaptic itself. For that reason I'd probably like to have a good look myself before applying any fixes. Let me know if you figure out anything either way. I do certainly appreciate all contributions. |
@jnsh thanks for the tips. I had found that I can just directly insert css using GTK Inspector: wow this is pretty convenient! To the issue with the "synaptic toolbar": There are 2 approaches to "fix":
Going with the approach to follow option 1 above, here is what would change that:
I couldn't get GTK Inspector to use the color variables (makes sense) so I hard-coded the arc-dark color there. Anyway, here is the result: It looks pretty good, the only problem is the text to "Quick Filter" doesn't dim when the window is inactive like the other text does. This is because that text is directly affected by the "toobar" element, rather than the other elements being inside "buttons". See this image where only "Quick Filter" is not dimmed: I can't figure out how to specify "inactive" for the text color to dim it, but in summary this would be a complete set of changes:
I will test these changes applied to gtk-3.0/gtk.css to see what it may break. If it breaks things, then we can apply it as an application specific fix? NOTE: if you prefer to follow option 2 above (keep light colored toolbar, darken text elements), then this would make the dark box next to "Quick Filter" go away:
But then the text colors need darkening for button (most items) and for toolbar (only "Quick Filter") colors. |
Update: by setting toolbar background-color, I see that LibreOffice is now "broken" by having a dark toolbar. There are comments in the |
@rik-shaw Thank you for the thorough investigation. From a design point of view, I think either the dark or light background option could work. Looks like the Looks like the actual issue here is that the dark background from Aside from that, the styling for inactive windows is applied with the I've been hoping to extend the |
@jnsh thanks again for the patience and great explanations. This hack seems to "fix" the synaptic toolbar background not inheriting the
I have added this to my gtk-3.0.css and will run with it for a few days to see if there are any obvious issues. Additionally, thanks to your tips I am setting a .primary-toolbar:backdrop (just with a hardcoded value as the manual additions to gtk-3.0.css don't see the variable names:
Again, I'll run with this for a while to see if there are negative side-effects. Thanks again for the help so far. |
This should be fixed with the above commit. Thanks for the report, and thank you @rik-shaw for the help with debugging. |
Some applications (at least recent versions of Synaptic Package Manager) have a toolbar widget inside a .primary-toolbar box. This didn't work properly with the Arc-Darker variant, which has light toolbar and dark .primary-toolbar, but resulted in mismatching foreground and background colors, and possibly other oddities. Fixes: jnsh#51
Some applications (at least recent versions of Synaptic Package Manager) have a toolbar widget inside a .primary-toolbar box. This didn't work properly with the Arc-Darker variant, which has light toolbar and dark .primary-toolbar, but resulted in mismatching foreground and background colors, and possibly other oddities. Fixes: jnsh#51
Some applications (at least recent versions of Synaptic Package Manager) have a toolbar widget inside a .primary-toolbar box. This didn't work properly with the Arc-Darker variant, which has light toolbar and dark .primary-toolbar, but resulted in mismatching foreground and background colors, and possibly other oddities. Fixes: jnsh#51
Some applications (at least recent versions of Synaptic Package Manager) have a toolbar widget inside a .primary-toolbar box. This didn't work properly with the Arc-Darker variant, which has light toolbar and dark .primary-toolbar, but resulted in mismatching foreground and background colors, and possibly other oddities. Fixes: jnsh#51
Problems with the Darker variation in Synaptic.
The text was updated successfully, but these errors were encountered: