You are not logged in.
Hi guys. I think I am experiencing a very wierd bug on Chrome which may be caused by GTK application misconfigurations.
As you can see in this screenshot: https://www.dropbox.com/s/s3ia7wd41zsys … 8.png?dl=0
In the arch forum personal details page, all text boxes are just compressed together. However, this is not caused by a very thin window. Instead, I am using full screen mode on a 16:9 screen. Also, the reason why it is wierd is that I have not yet experienced this bug on other websites.
The reason why I classify this problem to Chrome is that I have also noticed that the "find" text box is also collapsed (https://www.dropbox.com/s/oyn8iz5pdoog1 … 2.png?dl=0), as shown in this screenshot, which is very annoying.
Is this some kind of GTK configuration bug? Thanks in advance for providing any suggestions.
Last edited by AugustineC (2021-03-09 07:44:13)
Offline
The width of those boxes is constrained by the "size" and "maxlength" parameters rather than css.
Since you suspect gtk: which style do you use and does it happen w/ adwaita?
Online
Hi seth,
Do you mean the GTK theme by word "style"? If so, I am using Mojave-Dark-Alt.
BTW, just as a clarification, the reason why I suspect GTK is that this problem appears after I changed some settings in GTK. More specifically, I changed the theme and some settings in /org/gnome/desktop/interface using dconf-editor, though I did not find any relevant field as you mentioned there.
Last edited by AugustineC (2021-03-05 16:23:31)
Offline
Do you mean the GTK theme by word "style"?
Yes.
I am using Mojave-Dark-Alt.
And does it happen w/ adwaita (gnome default theme)?
Online
Sorry, I am not quite sure what is meant by "happen w/ adwaita (gnome default theme)".
Based on my understanding, it should not be. The two themes should be separated.
As I am now seeing in the dconf, the only theme field seeming to be related to default theme is teh "gtk-key-theme" which stands for "Gtk+ Keybinding Theme". The value of this field is set to default.
Last edited by AugustineC (2021-03-05 16:32:45)
Offline
https://wiki.archlinux.org/index.php/GTK#Themes
# quit chrome/chromium?
export GTK_THEME=Adwaita
chrome # or chromium?It's important to launch chrome/chromium from the shell where you exported the theme variable.
Online
Hi, I have used the following command, though it seems that the problem still persists.
Here is the screenshot: https://www.dropbox.com/s/64futiin9hd6n … t.png?dl=0
I am wondering if it is due to my wrong operation.
Offline
No, looks reasonable.
I changed the theme and some settings in /org/gnome/desktop/interface using dconf-editor
So, what if you undo those changes? Does chrome return to proper behavior?
Which settings in particular did you change and to what values?
Online
Hi, my appologies for replying late.
I think that I have already undone all the actions, but the problem persists. Here is a screenshot of current interface settings.
https://www.dropbox.com/s/hgj7r78t706xh … t.png?dl=0
Would you please check to see if there is any mistake? Thanks very much.
Last edited by AugustineC (2021-03-06 17:57:42)
Offline
There's a leading dot before the default font?
Also the font name/size format is all over the place.
There's no size for the monospace font, a comma separated one for the default font and a blank separated for the document font key.
I have none of those keys and no idea which format is correct, but I'm pretty sure the leading "." is a typo and would simply try to remove all size values.
A quick google suggests the format is like "Font Name 10" and no quotes attached to the value.
Online
Hi, thanks very much for helping!
The problem is finally solved after I changing the default font to "Lucida Grande, 10".
The problem is associated with the dot before the font type, though I am still confused by this: there indeed is quite a few fonts which start with a dot in font management in system settings. Also, I have used those fonts starting with dot in other applications, and it works fine.
Offline
Just becase some™ fonts (really?) start their name with a dot doesn't mean you can randomly throw that in somewhere.
For font names, try
fc-list | grep some_patternPlease always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online
Hi thanks for your reply! I will do that immediately.
Offline