Hi!
I have a problem with dark themes in Lubuntu 17.04. When I choose widget with dark colors (for example Elementary Dark), than in some applications I don't see borders around buttons, checkboxes and so on. Look at screenshots, where you can see problems in "LightDM GTK+ Greeter settings" window:
here I chose Lubuntu-default widget and everything is normal:
and here I chose Elementary-Dark widget and there are no borders:
The same thing happens even when I choose standard widget Lubuntu-dark-panel. Can you help me to make Lubuntu draw borders in dark themes?
No borders around buttons in dark themes
Re: No borders around buttons in dark themes
did you install Elementary-dark yourself?
looks like a minor gtk3 theme incompatibility problem.
looks like a minor gtk3 theme incompatibility problem.
Re: No borders around buttons in dark themes
Yes, but the same problem is when I choose standard widget Lubuntu-dark-panel.did you install Elementary-dark yourself?
Re: No borders around buttons in dark themes
But can you reproduce the behavior with certain themes?
meaning, some themes definitely have this problem, others definitely don't?
and could you please make sure it applies to gtk3 only, and not gtk2? (*)
a lot to ask for a newbie, I know, but you will get to know your system better...
(*) there's many ways to find that out, you can do some searches.
this script will give you a list of all applications in /usr/bin, and say which ones use gtk2 and which ones gtk3:do you know how to use a bash script?
meaning, some themes definitely have this problem, others definitely don't?
and could you please make sure it applies to gtk3 only, and not gtk2? (*)
a lot to ask for a newbie, I know, but you will get to know your system better...
(*) there's many ways to find that out, you can do some searches.
this script will give you a list of all applications in /usr/bin, and say which ones use gtk2 and which ones gtk3:
Code: Select all
#!/bin/bash
cd /usr/bin
echo -e "\ngtk2\n---"
for F in *; do
objdump -p $F 2> /dev/null | grep gtk-x11-2.0 > /dev/null
if (( $? == 0 )); then echo -e " $F"
fi
done
echo -e "\n-------\n\ngtk3\n----"
for F in *; do
objdump -p $F 2> /dev/null | grep gtk-3 > /dev/null
if (( $? == 0 )); then echo -e " $F"
fi
done
echo -e "\n--------\n"
Re: No borders around buttons in dark themes
The problem is, lubuntu-dark-panel doesn't even draw borders in light colored themes.
I don't know why, but I think it might be related to the default 'raleigh' theme.
That theme also doesn't show some borders.
So I guess if you use a theme that doesn't specify additional settings for borders, the settings from the default 'raleigh' theme are used as a fallback, which would explain why lubuntu-dark-panel and elementary-dark don't show all borders.
The best thing to try is to select a theme with borders on the widget tab (Clearlooks or Lubuntu-default for example) and select the theme you actually want on the window border tab. That way you will have borders around buttons.
Of course you can also try to modify the theme (lubuntu-dark-panel or elementary-dark in your case) to include settings for borders, but that will obviously need some knowledge about how to change a theme.
I don't know why, but I think it might be related to the default 'raleigh' theme.
That theme also doesn't show some borders.
So I guess if you use a theme that doesn't specify additional settings for borders, the settings from the default 'raleigh' theme are used as a fallback, which would explain why lubuntu-dark-panel and elementary-dark don't show all borders.
The best thing to try is to select a theme with borders on the widget tab (Clearlooks or Lubuntu-default for example) and select the theme you actually want on the window border tab. That way you will have borders around buttons.
Of course you can also try to modify the theme (lubuntu-dark-panel or elementary-dark in your case) to include settings for borders, but that will obviously need some knowledge about how to change a theme.