[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#802220: lightdm-gtk-greeter: accessibility does not work in version 2



Package: lightdm-gtk-greeter
Version: 2.0.1-2
Severity: important
Tags: patch upstream

Hello,

Version 2 of lightdm-gtk-greeter actually breaks accessibility of
lightdm. I have added a comment on

https://bugs.launchpad.net/lightdm/+bug/1366534

and a proposed patch, attached here.

Samuel

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lightdm-gtk-greeter depends on:
ii  libc6                   2.19-22
ii  libcairo2               1.14.2-2
ii  libgdk-pixbuf2.0-0      2.32.0-1
ii  libglib2.0-0            2.46.0-2
ii  libgtk-3-0              3.16.6-1
ii  liblightdm-gobject-1-0  1.16.2-1
ii  libx11-6                2:1.6.3-1

Versions of packages lightdm-gtk-greeter recommends:
ii  desktop-base               8.0.2
ii  gnome-icon-theme-symbolic  3.12.0-1
ii  gnome-themes-standard      3.16.2-2
ii  policykit-1                0.105-12

lightdm-gtk-greeter suggests no packages.

-- no debconf information

-- 
Samuel
    if (argc > 1 && strcmp(argv[1], "-advice") == 0) {
	printf("Don't Panic!\n");
	exit(42);
    }
	-- Arnold Robbins in the LJ of February '95, describing RCS
--- src/lightdm-gtk-greeter.c.original	2015-10-18 16:01:54.683417989 +0200
+++ src/lightdm-gtk-greeter.c	2015-10-18 16:05:27.434345748 +0200
@@ -2614,7 +2614,13 @@
     g_setenv ("GDK_CORE_DEVICE_EVENTS", "1", TRUE);
 
     /* LP: #1366534 */
+    #ifdef AT_SPI_COMMAND
+    spawn_line_pid (AT_SPI_COMMAND, G_SPAWN_SEARCH_PATH, NULL);
+    #else
     g_setenv ("NO_AT_BRIDGE", "1", TRUE);
+    #endif
+
+    #endif
 
     /* Initialize i18n */
     setlocale (LC_ALL, "");
@@ -2743,10 +2749,6 @@
         g_free (value);
     }
 
-    #ifdef AT_SPI_COMMAND
-    spawn_line_pid (AT_SPI_COMMAND, G_SPAWN_SEARCH_PATH, NULL);
-    #endif
-
     #ifdef INDICATOR_SERVICES_COMMAND
     spawn_line_pid (INDICATOR_SERVICES_COMMAND, G_SPAWN_SEARCH_PATH, NULL);
     #endif

Reply to: