Re: Issue 302 in xmonad: XMonad.Layout.IM doesn't match UTF8 chars
Comment #1 on issue 302 by hgabreu: XMonad.Layout.IM doesn't match UTF8 chars http://code.google.com/p/xmonad/issues/detail?id=302 Layout.ComboP suffers the same problem (as L.IM, not matching utf8 properties); I think the problem is Util.WindowProperties. But it should not be very hard to fix since ManageHook does it, that is, can match a window with utf8 property. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
Updates: Labels: Type-Patch Comment #2 on issue 302 by nomeata: XMonad.Layout.IM doesn't match UTF8 chars http://code.google.com/p/xmonad/issues/detail?id=302 XMonad/Util/WindowProperties.hs uses fetchName from the X11 bindings to read the window title. This function is implemented in a way that does not support unicode. Patches against X11 were submitted a few weeks ago, see http://darcswatch.nomeata.de/repo_http:__darcs.haskell.org_X11.html (“Make fetchName grok window names with unicodes”). If applied, I expect that this bug would be fixed as well. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
Updates: Status: Fixed Owner: vogt.adam Labels: Component-Contrib Comment #3 on issue 302 by vogt.adam: XMonad.Layout.IM doesn't match UTF8 chars http://code.google.com/p/xmonad/issues/detail?id=302 In XMonad.ManageHook there is already a workaround for some encoding with title. I've pushed a patch with which your IM layout works correctly: Sat Oct 31 11:49:45 EDT 2009 Adam Vogt <vogt.adam@gmail.com> * Implement hasProperty in terms of runQuery in U.WindowProperties This addresses issue 302 for unicode titles by actually using the complicated XMonad.ManageHook.title code, instead of reimplementing it with stringProperty (which doesn't appear to handle unicode). Please verify. Note: Other properties probably will not be unicode compatible, since they all seem to be implemented in terms of getStringProperty which only produces 8 bit characters from getWindowProperty8 with:
map (toEnum . fromIntegral)
I'm unsure of whether the other properties should be read with a different encoding however. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
Comment #4 on issue 302 by hgabreu: XMonad.Layout.IM doesn't match UTF8 chars http://code.google.com/p/xmonad/issues/detail?id=302 Verified. Matching unicode window title in IM and ComboP layouts works fine now. Thanks. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
Updates: Status: Verified Comment #5 on issue 302 by vogt.adam: XMonad.Layout.IM doesn't match UTF8 chars http://code.google.com/p/xmonad/issues/detail?id=302 (No comment was entered for this change.) -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
participants (1)
-
codesite-noreply@google.com