[Xmonad] XMonadContrib: Tabbed layout bugs

Andrea Rossato mailing_list at istitutocolli.org
Fri Jul 6 07:37:38 EDT 2007


On Thu, Jul 05, 2007 at 02:52:56PM -0400, Geoffrey Alan Washburn wrote:
>  (2) The text in tabs does not properly handle Unicode. I am assuming my 
>  applications, for example Firefox, are using UTF8 in their title strings. In 
>  such cases the tab is simply blank.  This occurs regardless of whether 
>  TabbedLayout is configured with a font that contains the offending glyph or 
>  not.  The expected behavior when the font does not have the glyph would be 
>  to use a blank or box like many other applications do.


This problem is not really XMonad specific, but relays in the
interaction between Haskell and Xlib.

X11-extras export fetchName, a wrapper for XFetchName. Unfortunately
this function handles only iso-8859-1 text data, so it is not possible
to retrieve the window's name if it contains multi byte characters.

Have a look here for a clearer explanation:
http://www.debian.org/doc/manuals/intro-i18n/ch-examples.en.html#s13.1.8

Solving it means digging into the XTextProperty with XGetWMName(),
and so writing all the library support for it. I'm sorry but this is
out of the reach of my knowledge.

Maybe Spencer can have a look...

Ciao
Andrea


More information about the Xmonad mailing list