GNU bug report logs - #35435
26.1; Gnome magnifier not following cursor when typing in emacs

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: important; Reported by: Eric Danan <eric.danan@HIDDEN>; dated Fri, 26 Apr 2019 11:06:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 35435 <at> debbugs.gnu.org:


Received: (at 35435) by debbugs.gnu.org; 2 May 2019 08:17:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 02 04:17:42 2019
Received: from localhost ([127.0.0.1]:45538 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hM6uU-0000Jd-1s
	for submit <at> debbugs.gnu.org; Thu, 02 May 2019 04:17:42 -0400
Received: from smtp-sh.infomaniak.ch ([128.65.195.4]:43019)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eric.danan@HIDDEN>) id 1hM6uR-0000JU-RX
 for 35435 <at> debbugs.gnu.org; Thu, 02 May 2019 04:17:41 -0400
Received: from smtp7.infomaniak.ch (smtp7.infomaniak.ch [83.166.132.30])
 by smtp-sh.infomaniak.ch (8.14.5/8.14.5) with ESMTP id x428HUGR023458
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 2 May 2019 10:17:30 +0200
Received: from [10.20.17.114] ([194.167.235.219]) (authenticated bits=0)
 by smtp7.infomaniak.ch (8.14.5/8.14.5) with ESMTP id x428HT9P127679
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Thu, 2 May 2019 10:17:29 +0200
Subject: Re: bug#35435: 26.1; Gnome magnifier not following cursor when typing
 in emacs
To: Eli Zaretskii <eliz@HIDDEN>
References: <77a6ac4f-aa3c-74ee-764b-e9df21692d36@HIDDEN>
 <83zhodvx08.fsf@HIDDEN>
From: Eric Danan <eric.danan@HIDDEN>
Message-ID: <98092a61-4443-8415-17a1-370e270ee060@HIDDEN>
Date: Thu, 2 May 2019 10:17:38 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101
 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <83zhodvx08.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: fr-classic
Content-Transfer-Encoding: 7bit
X-Antivirus: Dr.Web (R) for Unix mail servers drweb plugin ver.6.0.2.8
X-Antivirus-Code: 0x100000
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: 35435
Cc: Alex ARNAUD <alex@HIDDEN>, 35435 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Thanks for your reply. I don't have the knowledge (neither on the emacs 
code nor on X) to prepare such a patch, and I of course understand if no 
one else can do it, but I an otherwise happy to test things if that can 
help.

(Also cc'ing Alex Arnaud, which I forgot to do the first time.)

On 2019-04-26 13:14, Eli Zaretskii wrote:
>> From: Eric Danan <eric.danan@HIDDEN>
>> Date: Fri, 26 Apr 2019 13:05:41 +0200
>>
>> Due to a visual impairment I constantly work with a screen magnifier
>> turned on (in full screen mode), and I need it to track the cursor/caret
>> to follow what I am typing.
>>
>> So far I am using emacs 26.1 on cygwin on windows 10, and the windows 10
>> magnifier does the job of tracking the cursor.
>>
>> I am considering switching to gnome on linux and therefore installed the
>> fedora (version 29) distribution to try it out. The gnome (3.30) shell
>> magnifier supports cursor tracking and it works in other applications
>> but not emacs (26.1).
>>
>> I previously sent this message to the gnome accessibility list (that was
>> a long time ago in 2015, so with earlier versions of emacs and gnome)
>> and got a reply from Alex Arnaud stating:
>>
>>   > I've tried to test Emacs with Accercicer (a accessibility debug tool)
>> and my conclusion are Emacs doesn't connect it to AT-SPI (accessibility
>> stack).
> 
> The Windows port of Emacs has special code to move the system caret in
> sync with the cursor.  I guess the X build should have something
> similar, patches are welcome to implement that.
> 




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#35435; Package emacs. Full text available.
Severity set to 'important' from 'normal' Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 35435 <at> debbugs.gnu.org:


Received: (at 35435) by debbugs.gnu.org; 26 Apr 2019 11:15:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 26 07:15:13 2019
Received: from localhost ([127.0.0.1]:60185 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hJyoz-0005BK-K0
	for submit <at> debbugs.gnu.org; Fri, 26 Apr 2019 07:15:13 -0400
Received: from eggs.gnu.org ([209.51.188.92]:38550)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1hJyoy-0005B5-3M
 for 35435 <at> debbugs.gnu.org; Fri, 26 Apr 2019 07:15:12 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:46817)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1hJyos-0007GJ-IC; Fri, 26 Apr 2019 07:15:06 -0400
Received: from [176.228.60.248] (port=1996 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1hJyor-0005i6-PV; Fri, 26 Apr 2019 07:15:06 -0400
Date: Fri, 26 Apr 2019 14:14:47 +0300
Message-Id: <83zhodvx08.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Eric Danan <eric.danan@HIDDEN>
In-reply-to: <77a6ac4f-aa3c-74ee-764b-e9df21692d36@HIDDEN> (message from
 Eric Danan on Fri, 26 Apr 2019 13:05:41 +0200)
Subject: Re: bug#35435: 26.1;
 Gnome magnifier not following cursor when typing in emacs
References: <77a6ac4f-aa3c-74ee-764b-e9df21692d36@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 35435
Cc: 35435 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Eric Danan <eric.danan@HIDDEN>
> Date: Fri, 26 Apr 2019 13:05:41 +0200
> 
> Due to a visual impairment I constantly work with a screen magnifier 
> turned on (in full screen mode), and I need it to track the cursor/caret 
> to follow what I am typing.
> 
> So far I am using emacs 26.1 on cygwin on windows 10, and the windows 10 
> magnifier does the job of tracking the cursor.
> 
> I am considering switching to gnome on linux and therefore installed the 
> fedora (version 29) distribution to try it out. The gnome (3.30) shell 
> magnifier supports cursor tracking and it works in other applications 
> but not emacs (26.1).
> 
> I previously sent this message to the gnome accessibility list (that was 
> a long time ago in 2015, so with earlier versions of emacs and gnome) 
> and got a reply from Alex Arnaud stating:
> 
>  > I've tried to test Emacs with Accercicer (a accessibility debug tool) 
> and my conclusion are Emacs doesn't connect it to AT-SPI (accessibility 
> stack).

The Windows port of Emacs has special code to move the system caret in
sync with the cursor.  I guess the X build should have something
similar, patches are welcome to implement that.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#35435; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Apr 2019 11:05:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 26 07:05:55 2019
Received: from localhost ([127.0.0.1]:60171 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hJyfz-0004wC-69
	for submit <at> debbugs.gnu.org; Fri, 26 Apr 2019 07:05:55 -0400
Received: from eggs.gnu.org ([209.51.188.92]:34885)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eric.danan@HIDDEN>) id 1hJyfw-0004vu-DZ
 for submit <at> debbugs.gnu.org; Fri, 26 Apr 2019 07:05:53 -0400
Received: from lists.gnu.org ([209.51.188.17]:53920)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <eric.danan@HIDDEN>)
 id 1hJyfr-0003MY-B1
 for submit <at> debbugs.gnu.org; Fri, 26 Apr 2019 07:05:47 -0400
Received: from eggs.gnu.org ([209.51.188.92]:49265)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <eric.danan@HIDDEN>) id 1hJyfp-0000IJ-Sk
 for bug-gnu-emacs@HIDDEN; Fri, 26 Apr 2019 07:05:47 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_MED,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eric.danan@HIDDEN>) id 1hJyfo-0003Hb-3p
 for bug-gnu-emacs@HIDDEN; Fri, 26 Apr 2019 07:05:45 -0400
Received: from smtp-sh2.infomaniak.ch ([128.65.195.6]:54208)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <eric.danan@HIDDEN>)
 id 1hJyfn-00037t-Qk
 for bug-gnu-emacs@HIDDEN; Fri, 26 Apr 2019 07:05:44 -0400
Received: from smtp6.infomaniak.ch (smtp6.infomaniak.ch [83.166.132.19])
 by smtp-sh.infomaniak.ch (8.14.5/8.14.5) with ESMTP id x3QB5cGO032592
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Fri, 26 Apr 2019 13:05:38 +0200
Received: from [10.20.17.114] ([194.167.235.219]) (authenticated bits=0)
 by smtp6.infomaniak.ch (8.14.5/8.14.5) with ESMTP id x3QB5bcW032266
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO)
 for <bug-gnu-emacs@HIDDEN>; Fri, 26 Apr 2019 13:05:38 +0200
From: Eric Danan <eric.danan@HIDDEN>
Subject: 26.1; Gnome magnifier not following cursor when typing in emacs
To: bug-gnu-emacs@HIDDEN
Message-ID: <77a6ac4f-aa3c-74ee-764b-e9df21692d36@HIDDEN>
Date: Fri, 26 Apr 2019 13:05:41 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101
 Thunderbird/60.6.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: fr-classic
X-Antivirus: Dr.Web (R) for Unix mail servers drweb plugin ver.6.0.2.8
X-Antivirus-Code: 0x100000
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by smtp-sh.infomaniak.ch
 id x3QB5cGO032592
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 128.65.195.6
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hello,

Due to a visual impairment I constantly work with a screen magnifier=20
turned on (in full screen mode), and I need it to track the cursor/caret=20
to follow what I am typing.

So far I am using emacs 26.1 on cygwin on windows 10, and the windows 10=20
magnifier does the job of tracking the cursor.

I am considering switching to gnome on linux and therefore installed the=20
fedora (version 29) distribution to try it out. The gnome (3.30) shell=20
magnifier supports cursor tracking and it works in other applications=20
but not emacs (26.1).

I previously sent this message to the gnome accessibility list (that was=20
a long time ago in 2015, so with earlier versions of emacs and gnome)=20
and got a reply from Alex Arnaud stating:

 > I've tried to test Emacs with Accercicer (a accessibility debug tool)=20
and my conclusion are Emacs doesn't connect it to AT-SPI (accessibility=20
stack).

I then wrote to the emacs-devel mailing list 2 months ago and Stefan=20
Monnier suggested that I open a bug.

A simple recipe to reproduce the issue is:
- Turn on gnome magnifier from Settings > Universal access,
- Launch emacs
- Start typing in the scratch buffer
As you type, the magnified area would be expected to move to follow the=20
cursor, but it does not and at some point the cursor leaves the=20
magnified area so you do not see what you are typing anymore.

Please let me know if any further information is needed.

Best regards,

Eric

In GNU Emacs 26.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.23.2)
  of 2018-08-13 built on buildvm-13.phx2.fedoraproject.org
Windowing system distributor 'Fedora Project', version 11.0.12001000
Recent messages:
Loading=20
/usr/share/emacs/site-lisp/site-start.d/desktop-entry-mode-init.el=20
(source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
GNU Emacs 26.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.23.2)=20
of 2018-08-13
You can run the command =E2=80=98emacs-version=E2=80=99 with M-x em-v RET
GNU Emacs 26.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.23.2)=20
of 2018-08-13

Configured using:
  'configure --build=3Dx86_64-redhat-linux-gnu
  --host=3Dx86_64-redhat-linux-gnu --program-prefix=3D
  --disable-dependency-tracking --prefix=3D/usr --exec-prefix=3D/usr
  --bindir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc
  --datadir=3D/usr/share --includedir=3D/usr/include --libdir=3D/usr/lib6=
4
  --libexecdir=3D/usr/libexec --localstatedir=3D/var
  --sharedstatedir=3D/var/lib --mandir=3D/usr/share/man
  --infodir=3D/usr/share/info --with-dbus --with-gif --with-jpeg --with-p=
ng
  --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=3Dgtk3
  --with-gpm=3Dno --with-xwidgets --with-modules
  build_alias=3Dx86_64-redhat-linux-gnu host_alias=3Dx86_64-redhat-linux-=
gnu
  'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=3Dformat-security
  -Wp,-D_FORTIFY_SOURCE=3D2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
  -fstack-protector-strong -grecord-gcc-switches
  -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1
  -specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=3Dgeneric
  -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
  LDFLAGS=3D-Wl,-z,relro
  PKG_CONFIG_PATH=3D:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY ACL
LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS XWIDGETS LCMS2

Important settings:
   value of $LANG: en_US.UTF-8
   value of $XMODIFIERS: @im=3Dibus
   locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
   tooltip-mode: t
   global-eldoc-mode: t
   eldoc-mode: t
   electric-indent-mode: t
   mouse-wheel-mode: t
   tool-bar-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv
bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg
epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date
mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting xwidget-internal
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 96098 11551)
  (symbols 48 20401 1)
  (miscs 40 92 168)
  (strings 32 28397 1053)
  (string-bytes 1 744576)
  (vectors 16 14658)
  (vector-slots 8 497076 9596)
  (floats 8 50 153)
  (intervals 56 314 0)
  (buffers 992 12))




Acknowledgement sent to Eric Danan <eric.danan@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#35435; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.