Package: firefox
Version: 52.0-1
Severity: normal
Tags: a11y
Owner: b...@hypra.fr
User: b...@hypra.fr
Usertags: hypra
Forwarded: https://bugzilla.mozilla.org/show_bug.cgi?id=1478964

>From upstream:

“
Steps to reproduce:

- Open data:text/html;charset=utf-8,<ul><li>foo</li></ul>
- Open accerciser, look for the object corresponding to the "foo" line
- In the Event Monitor, enable object:text-caret-moved
- In the python console, type acc.queryText().setCaretOffset(2)
- An object:text-caret-moved  event shows up in the Event Monitor with (2,0,0) 
as expected
- In the python console, type acc.queryText().setCaretOffset(1)   (or resp. (0))


Actual results:

On the second setCaretOffset call, an object:text-caret-moved event shows up in 
the Event Monitor with (5,0,0), i.e. as if the caret moved to the end of the 
line


Expected results:

The object:text-caret-moved event should have (1,0,0)   (or resp. (0,0,0))
Or it could have (2,0,0) since visually the caret is still right on the left of 
f. But definitely not (5,0,0).


I guess 5 comes from the fact that once acc.queryText().setCaretOffset(1) is 
done, acc.queryText().get_caretOffset() returns -1, which probably some part of 
firefox spuriously translates into "end of line".

Note: with firefox 61 setCaretOffset(1) behaves correctly, but 
setCaretOffset(0) still has the trouble.

Firefox 63 is also affected
”

-- Addons package information

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

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

Versions of packages firefox depends on:
ii  debianutils               4.8.6
ii  fontconfig                2.13.0-5
ii  libatk1.0-0               2.28.1-2+scrollsubstringto
ii  libc6                     2.27-5
ii  libcairo-gobject2         1.15.10-3
ii  libcairo2                 1.15.10-3
ii  libdbus-1-3               1.12.8-3
ii  libdbus-glib-1-2          0.110-2
ii  libevent-2.1-6            2.1.8-stable-4
ii  libffi6                   3.2.1-8
ii  libfontconfig1            2.13.0-5
ii  libfreetype6              2.8.1-2
ii  libgcc1                   1:8.1.0-10
ii  libgdk-pixbuf2.0-0        2.36.11-2
ii  libglib2.0-0              2.56.1-2
ii  libgtk-3-0                3.22.30-2
ii  libjsoncpp1               1.7.4-3
ii  libnspr4                  2:4.19-3
ii  libnss3                   2:3.38-1
ii  libpango-1.0-0            1.42.1-2
ii  libsqlite3-0              3.24.0-1
ii  libstartup-notification0  0.12-5
ii  libstdc++6                8.1.0-10
ii  libvpx5                   1.7.0-3
ii  libx11-6                  2:1.6.5-1
ii  libx11-xcb1               2:1.6.5-1
ii  libxcb-shm0               1.13-2
ii  libxcb1                   1.13-2
ii  libxcomposite1            1:0.4.4-2
ii  libxdamage1               1:1.1.4-3
ii  libxext6                  2:1.3.3-1+b2
ii  libxfixes3                1:5.0.3-1
ii  libxrender1               1:0.9.10-1
ii  libxt6                    1:1.1.5-1
ii  procps                    2:3.3.15-2
ii  zlib1g                    1:1.2.11.dfsg-1

Versions of packages firefox recommends:
ii  libavcodec57  7:3.4.3-1

Versions of packages firefox suggests:
ii  fonts-lmodern          2.004.5-3
ii  fonts-stix [otf-stix]  1.1.1-4
ii  libcanberra0           0.30-6
ii  libgssapi-krb5-2       1.16-2
ii  libgtk2.0-0            2.24.32-2

-- no debconf information

-- 
Samuel
> Allez, soyez sympa ... traduisez-lui "linux"
Linux, c'est comme le miel : c'est vachement bon mais ça attire les
mouches. En plus, ça colle aux doigts et on a du mal à s'en défaire.
-+- TP in: Guide du linuxien pervers - "Barrez vous les mouches !"

Reply via email to