Re: AT-SPI standard's management of text objects
Ksamak <[email protected]> Wed, 16 Nov 2016 09:32:20 +0100
| Newsgroups | gmane.comp.gnome.accessibility.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Nov 15, 2016 at 07:49:00PM +0100, Samuel Thibault wrote: > Hello, > > Ksamak, on Tue 15 Nov 2016 16:52:51 +0100, wrote: > > When caret is on a newline, it is quite hard to get the > > screen position of the newline caret, The function atspi_text_get_character_extents > > is of no help, and returns 0,0 as coordinates when such offset is > > provided. > > This looks like a bug to me. > > > Another similar problem is when a text is empty, thereby no text > > offset is present. > > Ditto. > > > I know these behaviours are probably correct according to AT-SPI > > standard, > > What makes you think that? Well, i think there might be a reason for such a behaviour. I can imagine the orca screen reader wanting to ignore an empty line for example. > > > but is it voluntary? > I don't think it is. Probably just nobody ever had the need for these to > be fixed. > > > Is it possible to change any of that in the future, without impairing > > the other applications relying on at-spi? > > My guess would be yes. I don't see how useful it'd be to get 0,0 > coordinates while the caret is obviously not at 0,0. Well, I was thinking the design was not thought through for visual applications. There is indeed no thickness to report for a caret that is on a newline. Anyway, if it doesn't disturb any other applications, i'd be glad to see that part change! thank you -- Ksamak Free software hacktivist _______________________________________________ gnome-accessibility-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gnome-accessibility-list
signature.asc
(application/pgp-signature, 801 B)
-----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJYLBmUAAoJEBTZQpGAfVCW5OEQAM659fFs8dqmbo/Ynz6NvaHI JAqqLZrOmTmeLvjzMg5Z05fAV/5Pkg8/vmu+Yqoeacl9Alwf5aTybN8zRqosw396 MWPssKp8JnlgyAqg0120yF8wJOWxyijte2TdYO0iJqJYHDWlA+fOIRvxjkyw+sjh 6C7vyAoXdKtnU6f7eqHljnHfpANVdyE+T74ubq48BbdGPLkvJAEivyTHZm8u+rFv Vtw767GYx0Aui8SIdHF5WgHOX6311le8dKvR0nSl4CYp+WY9WceuwUPnSbFXyQW+ t04oBKKQ4HOyPJgrvslRA0VhX6+hqMuspxp6njOn2oApgKu/NLleGsqsfR3qvbe/ gI86Ds2atXbeA+zGgnM0g13k4+UvEdi6sESkDoNo/fxNlTL1+1Sx+k6D4Tw/yWE4 Tzk+zWgMBY1DUE7ePoor017QWkFMW9kLN9rcVtukFZ/C/XcBc2wH3AFAyGy3yPow XLM7W8vFL11xrWMTZb4MEaIqHUzpFWb+aUCr1WmZuCXo9N5z2UjMj2n52IIOm/M/ 32GWC+FpWptF22fnEj4UtDo2IaHW2WnpXeUmUdZTEVIR5jfd0XvLwgH+DK4hqVGM BMuSWsOKoLwi4/t8/ZKmF9GPQOOaexPA0rzXPT5Lhu86FXe/MZtm8hZzu+7e8fp4 Ni+VAIMlyDa5ki2ysDBz =89Bi -----END PGP SIGNATURE-----