Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100794 - fluxbox-0.9.13-r1 window titles broken using en_US.UTF-8
Summary: fluxbox-0.9.13-r1 window titles broken using en_US.UTF-8
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Commonbox Team
URL: http://home.arcor.de/plsdontreply/arr...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-30 02:04 UTC by plsdontreply
Modified: 2005-08-04 11:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Testcase with unicode Characters in title (arrowstitle.html,454 bytes, text/html)
2005-07-30 02:17 UTC, plsdontreply
Details
Screenshot showing broken Fluxbox window title (fluxbox_utf8_bug.jpg,24.29 KB, image/jpeg)
2005-07-30 02:21 UTC, plsdontreply
Details
Screenshot comparing against Xsession window title (xsession_utf8_bug.png,23.94 KB, image/png)
2005-07-30 02:23 UTC, plsdontreply
Details

Note You need to log in before you can comment on or make changes to this bug.
Description plsdontreply 2005-07-30 02:04:54 UTC
Not sure if this isn't a dupe of bug 68810 .

In Fluxbox' window titles, I'm having a strange display of unicode characters.

Please have a look at my screenshot.
http://home.arcor.de/plsdontreply/fluxbox_utf8_bug.jpg
This is Mozilla-Firefox running in a Fluxbox-0.9.13-r1 window.

Firefox has two tabstrips, the left one properly displaying the arrows.
The window title however displays some rectangles instead of the arrows.

When I change from Fluxbox to using Xsession instead then most characters are
displaying correctly, even in the titlebar.

My settings in "/etc/env.d/02locales" is very simple:
  LANG="en_US.UTF-8"
  LC_ALL="en_US.UTF-8"

In "/usr/src/linux-2.6.12-gentoo-r6/.config" I'm having
  .....................
  # Native Language Support
  #
  CONFIG_NLS=y
  CONFIG_NLS_DEFAULT="UTF8"
  CONFIG_NLS_CODEPAGE_437=y
  .....................
  CONFIG_NLS_ISO8859_1=y
  .....................
  CONFIG_NLS_UTF8=y
  .....................


Reproducible: Always
Steps to Reproduce:
1. Emerge Fluxbox

2. In "/etc/rc.conf" set:
      UNICODE="yes"
      DISPLAYMANAGER="xdm"
      XSESSION="fluxbox"

3. In "/etc/env.d/02locales" set:
      LANG="en_US.UTF-8"
      LC_ALL="en_US.UTF-8"

4. Enable   
      CONFIG_NLS=y
   and set
      CONFIG_NLS_DEFAULT="UTF8"

5. /etc/init.d/xdm start (or restart)

6. Start Firefox or DeerPark and visit the testcase
http://home.arcor.de/plsdontreply/arrowstitle.html
Actual Results:  
Fluxbox' window title displays only rectangles instead of correct characters.

Expected Results:  
Fluxbox' window title should display exactly the same characters as the left
tabstrip shown in this screenshot:
http://home.arcor.de/plsdontreply/xsession_utf8_bug.png

Gentoo Base System version 1.6.13
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.5-r0,
2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1400MHz
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi alsa apache2 audiofile avi bash-completion berkdb
bigger-fonts bitmap-fonts browserplugin bzlib calendar caps cdparanoia cdr
chroot cjk cpdflib crypt css cups curl directfb dvd emboss encode fam fb fbcon
flac foomaticdb fortran fpx ftp gd gdbm gif gpm graphviz gtk gtk2 imagemagick
imlib ipv6 java jbig jpeg lcms libg++ libwww lm_sensors mad mbox mdb mikmod mime
mmx motif mozp3p mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam
pcre pda pdflib perl png posix ppds profile python quicktime readline recode
sapdb sdl session sftplogging simplexml slang speex spell sse ssl svg svga tcltk
tcpd tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8
vorbis wifi win32codecs wmf xine xml xml2 xmms xosd xprint xsl xslt xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 plsdontreply 2005-07-30 02:17:59 UTC
Created attachment 64715 [details]
Testcase with unicode Characters in title

This testcase html document has the same string of characters in its title
element as in the body. Hence the window title should show the same characters
as the browser window does.
Comment 2 plsdontreply 2005-07-30 02:21:14 UTC
Created attachment 64716 [details]
Screenshot showing broken Fluxbox window title
Comment 3 plsdontreply 2005-07-30 02:23:37 UTC
Created attachment 64717 [details]
Screenshot comparing against Xsession window title
Comment 4 plsdontreply 2005-07-30 02:32:57 UTC
Comment on attachment 64715 [details]
Testcase with unicode Characters in title

Testcase is broken since bugs.gentoo.org is sending "charset=ISO-8859-1"
instead of "charset=UTF-8".
Please use http://home.arcor.de/plsdontreply/arrowstitle.html
Comment 5 Guy 2005-07-30 07:10:28 UTC
I'm having the same problem. 
 
I think it's from the latest emerge of metacity. No proof of same at the 
present time. I'm trying to do different things to confirm this. 
Comment 6 Aaron Walker (RETIRED) gentoo-dev 2005-08-04 11:19:28 UTC
Please report upstream.  We wont touch the font stuff as it's too broken.