[Pkg-xfce-devel] Bug#794427: lightdm-gtk-greeter: Greeter panel clock fails with long date formats in russian locale
vtvitus
vitus at gorodok.net
Sun Aug 2 22:05:02 UTC 2015
Package: lightdm-gtk-greeter
Version: 1.8.5-2
Severity: normal
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: vitus <vitus at gorodok.net>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: lightdm-gtk-greeter: Greeter panel clock fails with long date formats in
russian locale
Message-ID: <20150802215532.372.48522.reportbug at s1.Dlink>
X-Mailer: reportbug 6.6.3
Date: Mon, 03 Aug 2015 00:55:32 +0300
X-Debbugs-Cc: vitus at gorodok.net
Package: lightdm-gtk-greeter
Version: 1.8.5-2
Severity: normal
Dear Maintainer,
Some days ago I had set clock-format=%A, %d %b, %Y%n%t %H:%M:%S
in /etc/lightdm/lightdm-gtk-greeter.conf to get a nicely formatted
date included in the greeter panel's clock display.
On Sunday, I got some problems with login to the system.
empty screen, no login panel, after ctrl-alt-f7 some seconds black screen with message "Session is blocked".
some seconds after login panel show.
result "%A, %d %b, %Y%n%t %H:%M:%S" for 02/07/2015 in russian locale has size 51.
lightdm-gtk-greeter-1.8.5$ vi ./src/lightdm-gtk-greeter.c
static gboolean
clock_timeout_thread (void)
{
time_t rawtime;
struct tm * timeinfo;
gchar time_str[50];
gchar *markup;
time ( &rawtime );
timeinfo = localtime ( &rawtime );
strftime(time_str, 50, clock_format, timeinfo);
markup = g_markup_printf_escaped("<b>%s</b>", time_str);
if (g_strcmp0(markup, gtk_label_get_label(GTK_LABEL(clock_label))) != 0)
gtk_label_set_markup( GTK_LABEL(clock_label), markup );
g_free(markup);
return TRUE;
}
mb similar ploblem https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721510
I change format, but problem "It worked yesterday, but today no login" not good.
vv
-- System Information:
Distributor ID: Devuan
Description: Devuan GNU/Linux jessie
Release: jessie
Codename: n/a
Architecture: x86_64
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.utf8, LC_CTYPE=ru_RU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages lightdm-gtk-greeter depends on:
ii libc6 2.19-18
ii libcairo2 1.14.0-2.1
ii libgdk-pixbuf2.0-0 2.31.1-2+b1
ii libglib2.0-0 2.42.1-1
ii libgtk-3-0 3.14.5-1
ii liblightdm-gobject-1-0 1.10.3-3
ii libx11-6 2:1.6.2-3
Versions of packages lightdm-gtk-greeter recommends:
ii desktop-base 8.0.2
ii gnome-icon-theme-symbolic 3.12.0-1
pn gnome-themes-standard <none>
ii policykit-1 0.105-9+devuan1
lightdm-gtk-greeter suggests no packages.
-- Configuration Files:
/etc/lightdm/lightdm-gtk-greeter.conf changed:
[greeter]
background=/usr/share/images/desktop-base/login-background.svg
theme-name=Adwaita
xft-antialias=true
xft-dpi=96
xft-hintstyle=hintfull
xft-rgba=rgb
show-indicators=~session;~power;
show-language-selector=false
show-clock=true
#clock-format=%a, %d %b, %Y%n %H:%M:%S
clock-format=%A, %d %b, %Y%n%t %H:%M:%S
-- no debconf information
-- System Information:
Distributor ID: Devuan
Description: Devuan GNU/Linux jessie
Release: jessie
Codename: n/a
Architecture: x86_64
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.utf8, LC_CTYPE=ru_RU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages lightdm-gtk-greeter depends on:
ii libc6 2.19-18
ii libcairo2 1.14.0-2.1
ii libgdk-pixbuf2.0-0 2.31.1-2+b1
ii libglib2.0-0 2.42.1-1
ii libgtk-3-0 3.14.5-1
ii liblightdm-gobject-1-0 1.10.3-3
ii libx11-6 2:1.6.2-3
Versions of packages lightdm-gtk-greeter recommends:
ii desktop-base 8.0.2
ii gnome-icon-theme-symbolic 3.12.0-1
pn gnome-themes-standard <none>
ii policykit-1 0.105-9+devuan1
lightdm-gtk-greeter suggests no packages.
-- Configuration Files:
/etc/lightdm/lightdm-gtk-greeter.conf changed:
[greeter]
background=/usr/share/images/desktop-base/login-background.svg
theme-name=Adwaita
xft-antialias=true
xft-dpi=96
xft-hintstyle=hintfull
xft-rgba=rgb
show-indicators=~session;~power;
show-language-selector=false
show-clock=true
clock-format=%a, %d %b, %Y%n %H:%M:%S
-- no debconf information
More information about the Pkg-xfce-devel
mailing list