Problem with gtk3 filechooser
Hello. I have a problem with the gtk3 filechooser: For files which have been modified on the same day it shows just the access time in the format HH:MM. The problem is that the ":" is not properly displayed. It's displayed as a square box with some numbers (2236) in it, like a missing character. gtk3 port has been built by root with following settings: # locale LANG=de_DE.UTF-8 LC_CTYPE="de_DE.UTF-8" LC_NUMERIC="de_DE.UTF-8" LC_TIME="de_DE.UTF-8" LC_COLLATE="de_DE.UTF-8" LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_PAPER="de_DE.UTF-8" LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" LC_TELEPHONE="de_DE.UTF-8" LC_MEASUREMENT="de_DE.UTF-8" LC_IDENTIFICATION="de_DE.UTF-8" LC_ALL= The user I'm running the GUI with has the same settings. The problem occurs in all applications which make use of the gtk3 filechooser, e.g.: firefox, eclipse, gtk3-demo-application. If I change to LANG=de_DE in the running GUI the ":" is properly displayed. But I'd like to keep the UTF-8 locale setting. Does anyone know how to fix this? For applications with the gtk2 filechooser like "deadbeef" the problem does not occur. Regards Markus Heinz
Markus Heinz wrote in <a07a1d1f7f57363889fe76b3fe85272b.squirrel@webmail.tu-dortmund.de>: |Hello. | |I have a problem with the gtk3 filechooser: For files which have been |modified on the same day it shows just the access time in the format |HH:MM. The problem is that the ":" is not properly displayed. It's |displayed as a square box with some numbers (2236) in it, like a missing |character. Caveats: i do not use all that. But it sounds like a missing font entry for me. There are quite a lot of colons in Unicode, for example U+FE13, U+FE55, U+FF1A. Some of them are newer entries, so it can well be that a particular font has no entry for the very character. |gtk3 port has been built by root with following settings: | |# locale |LANG=de_DE.UTF-8 |LC_CTYPE="de_DE.UTF-8" |LC_NUMERIC="de_DE.UTF-8" |LC_TIME="de_DE.UTF-8" |LC_COLLATE="de_DE.UTF-8" |LC_MONETARY="de_DE.UTF-8" |LC_MESSAGES="de_DE.UTF-8" |LC_PAPER="de_DE.UTF-8" |LC_NAME="de_DE.UTF-8" |LC_ADDRESS="de_DE.UTF-8" |LC_TELEPHONE="de_DE.UTF-8" |LC_MEASUREMENT="de_DE.UTF-8" |LC_IDENTIFICATION="de_DE.UTF-8" |LC_ALL= | |The user I'm running the GUI with has the same settings. | |The problem occurs in all applications which make use of the gtk3 |filechooser, e.g.: firefox, eclipse, gtk3-demo-application. | |If I change to LANG=de_DE in the running GUI the ":" is properly |displayed. But I'd like to keep the UTF-8 locale setting. So then this means LATIN1 / ISO-8859-1, i presume, meaning that the normal ASCII colon is chosen (U+003A). |Does anyone know how to fix this? I have no idea of current GTK, but if there is a possibility to specify the font used for the GUI, try to enter the colon characters as above, for example, in vim(1) (^V, u, four hex digits, e.g., ff1a), and if it is displayed (the example is not for me, for example, but as a square box), then it should be displayed in the GUI. If not, i do not know. |For applications with the gtk2 filechooser like "deadbeef" the problem |does not occur. | |Regards | |Markus Heinz Ciao, --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)
Hello. Steffen Nurpmeso wrote:
Markus Heinz wrote in <a07a1d1f7f57363889fe76b3fe85272b.squirrel@webmail.tu-dortmund.de>:
I have a problem with the gtk3 filechooser: For files which have been modified on the same day it shows just the access time in the format HH:MM. The problem is that the ":" is not properly displayed. It's displayed as a square box with some numbers (2236) in it, like a missing > > character.
Caveats: i do not use all that. But it sounds like a missing font entry for me. There are quite a lot of > colons in Unicode, for example U+FE13, U+FE55, U+FF1A. Some of them are newer entries, so it can well be that a particular font has no entry for the very character.
I solved the problem by installing the port xorg/xorg-font-dejavu-ttf and adding this line to the file $HOME/.config/gtk-3.0/settings.ini: gtk-font-name = DejaVuSans Thanks and best regards Markus Heinz
Markus Heinz wrote in <b2a3703c6a3c82e0fc53cbe63497793a.squirrel@webmail.tu-dortmund.de>: |Steffen Nurpmeso wrote: |> Markus Heinz wrote in |> <a07a1d1f7f57363889fe76b3fe85272b.squirrel@webmail.tu-dortmund.de>: | |>> I have a problem with the gtk3 filechooser: For files which have been |>> modified on the same day it shows just the access time in the format |>> HH:MM. The problem is that the ":" is not properly displayed. It's |>> displayed as a square box with some numbers (2236) in it, like a |missing > > character. | |> Caveats: i do not use all that. |> But it sounds like a missing font entry for me. There are quite a lot |of > colons in Unicode, for example U+FE13, U+FE55, U+FF1A. |> Some of them are newer entries, so it can well be that |> a particular font has no entry for the very character. | |I solved the problem by installing the port xorg/xorg-font-dejavu-ttf and |adding this line to the file $HOME/.config/gtk-3.0/settings.ini: | |gtk-font-name = DejaVuSans Great you figured that out. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)
participants (2)
-
Markus Heinz
-
Steffen Nurpmeso