After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 758172 - AT-SPI interface sometimes does not expose trailing whitespace
AT-SPI interface sometimes does not expose trailing whitespace
Status: RESOLVED OBSOLETE
Product: vte
Classification: Core
Component: general
0.42.x
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-11-16 11:58 UTC by kaura.dev
Modified: 2021-06-10 15:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description kaura.dev 2015-11-16 11:58:13 UTC
Using a text-editor in gnome-terminal does not send proper AT-SPI2 events when moving the cursor within trailing whitespace on a line. The cursor is always positioned after the last non-blank character on the line (or to the beginning of line, if there are only spaces on the cursor line). This happens in both GNU  NANO and emacs. One strange thing is that cursor movement is reported correctly to AT-SPI, if text attributes on the cursor line are something else than the terminal defaults.

To reproduce:
1) Run emacs in terminal mode (possibly using -nw)
2) Open a new empty buffer in a major-mode which uses a normal face.
3) Type some non-blank characters, vte sends correct AT-SPI events.
4) Type spaces. Now AT-SPI events are not being sent or are sent incorrectly. Neither orca nor brltty notice the cursor movement.
5) Open a file in lisp-interaction mode.
6) Type ; to introduce a comment. Emacs now uses different colours/attributes for printing the following text.
7) Type some spaces. AT-SPI events are now sent as they ought to be. Both orca and brltty notice the cursor movement.

Trailing whitespace should always be reported to AT-SPI. Otherwise it is impossible to edit tabulated data or indent text correctly using some accessibility technology.
Comment 1 GNOME Infrastructure Team 2021-06-10 15:07:11 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vte/-/issues/2243.