Bug#495945: gnome-power-manager: brightness applet crashes on login

Hristo Hristov xpertbg at mail.bg
Thu Aug 21 14:09:06 UTC 2008


Package: gnome-power-manager
Version: 2.22.1-2
Severity: important
Tags: l10n

On login the brightness applet crashes and is not loaded. This
occurs when using locale bg_BG.UTF-8 and is coused by a too small
buffer used to store the tooltip (only 100 chars), while the 
translated string for the error which occurs on login is longer
(applets/brightness/brightness-applet.c:355).
I tried to increase the buffer size but then no tooltip is displayed
at all. I finally decreased the size of the translation to fit in 100 
chars and the applet works fine. I suspect that other translations have
the same problem. I also updated some other Bulgarian translations in
the provided patch.
The same problem should occur in inhibit applet, but I didn't test it.
If someone can help to fix the size limit I'd like to restore the
original translation of the error string and provide updated patch.

I'm setting the severity to important because this bug renders the
applet unusable to me and everyone using Bulgarian locale (and possibly
others). 

Cheers,
Hristo

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (1002, 'unstable'), (1001, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome-power-manager depends on:
ii  dbus-x11               1.2.1-3           simple interprocess messaging syst
ii  gconf2                 2.22.0-1          GNOME configuration database syste
ii  hal                    0.5.11-3          Hardware Abstraction Layer
ii  libart-2.0-2           2.3.20-2          Library of functions for 2D graphi
ii  libatk1.0-0            1.22.0-1          The ATK accessibility toolkit
ii  libbonobo2-0           2.22.0-1          Bonobo CORBA interfaces library
ii  libbonoboui2-0         2.22.0-1          The Bonobo UI library
ii  libc6                  2.7-13            GNU C Library: Shared libraries
ii  libcairo2              1.6.4-6           The Cairo 2D vector graphics libra
ii  libdbus-1-3            1.2.1-3           simple interprocess messaging syst
ii  libdbus-glib-1-2       0.76-1            simple interprocess messaging syst
ii  libfontconfig1         2.6.0-1           generic font configuration library
ii  libfreetype6           2.3.7-1           FreeType 2 font engine, shared lib
ii  libgconf2-4            2.22.0-1          GNOME configuration database syste
ii  libglade2-0            1:2.6.2-1         library to load .glade files at ru
ii  libglib2.0-0           2.16.5-1          The GLib library of C routines
ii  libgnome-keyring0      2.22.3-1          GNOME keyring services library
ii  libgnome2-0            2.20.1.1-1        The GNOME 2 library - runtime file
ii  libgnomecanvas2-0      2.20.1.1-1        A powerful object-oriented display
ii  libgnomeui-0           2.20.1.1-1        The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0         1:2.22.0-4        GNOME Virtual File System (runtime
ii  libgstreamer0.10-0     0.10.20-1         Core GStreamer libraries and eleme
ii  libgtk2.0-0            2.12.11-3         The GTK+ graphical user interface 
ii  libhal1                0.5.11-3          Hardware Abstraction Layer - share
ii  libice6                2:1.0.4-1         X11 Inter-Client Exchange library
ii  libnotify1 [libnotify1 0.4.4-3           sends desktop notifications to a n
ii  liborbit2              1:2.14.13-0.1     libraries for ORBit2 - a CORBA ORB
ii  libpanel-applet2-0     2.20.3-5          library for GNOME Panel applets
ii  libpango1.0-0          1.20.5-1          Layout and rendering of internatio
ii  libpixman-1-0          0.10.0-2          pixel-manipulation library for X a
ii  libpng12-0             1.2.27-1          PNG library - runtime
ii  libpopt0               1.14-4            lib for parsing cmdline parameters
ii  libsm6                 2:1.0.3-2         X11 Session Management library
ii  libwnck22              2.22.3-1          Window Navigator Construction Kit 
ii  libx11-6               2:1.1.4-2         X11 client-side library
ii  libxcb-render-util0    0.2.1+git1-1      utility libraries for X C Binding 
ii  libxcb-render0         1.1-1.1           X C Binding, render extension
ii  libxcb1                1.1-1.1           X C Binding
ii  libxcursor1            1:1.1.9-1         X cursor management library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxfixes3             1:4.0.3-2         X11 miscellaneous 'fixes' extensio
ii  libxi6                 2:1.1.3-1         X11 Input extension library
ii  libxinerama1           2:1.0.3-2         X11 Xinerama extension library
ii  libxml2                2.6.32.dfsg-2     GNOME XML library
ii  libxrandr2             2:1.2.3-1         X11 RandR extension library
ii  libxrender1            1:0.9.4-2         X Rendering Extension client libra
ii  notification-daemon    0.3.7-1+b1        a daemon that displays passive pop
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

gnome-power-manager recommends no packages.

gnome-power-manager suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnome-power-manager_translate_bg.patch
Type: text/x-diff
Size: 145890 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20080821/1a784dbd/attachment-0001.patch 


More information about the pkg-gnome-maintainers mailing list