One tricky bit relates to pointer resolution, timing, and human hand-eye coordination issues. Also, with some text fonts, it can be hard to see where one letter ends and the next begins. And then there can be pixel roundoff error.
At Sun, 3 Nov 2024 14:24:10 -0600 Vasily <vasil_...@yahoo.com> wrote: > > Carsten, > > Thank you very much for this great answer > I did not know that an application is responsible for providing highlighted > content to copy. > > Regards. > > On 03.11.2024 04:54, Carsten Haitzler wrote: > > On Sat, 2 Nov 2024 17:15:28 -0500 Vasily <vasil_...@yahoo.com> said: > > > >> Hello > >> > >> Recently I noticed that if highlight a text backward, first couple of > >> characters don't get into the buffer. It can be observed for example in any > >> web browser or text editors. My OS is Ubuntu 22.04 XFCE without Wayland. > >> Any thoughts will be appreciated. > > > > It is each client that is responsible for this, not X itself - highlighting > > is > > a local client issue. all the client does it take ownership of the > > appropriate > > selection. when later you paste - the paste target asks the selection owner > > for > > the data. the owner you highlighted in is responsible for delivering it. > > How it > > was highlighted to begin with is entirely on that end, so I assume you've > > found > > a bug in a toolkit used by the apps above to handle all of this (probably > > GTK). > > > > > > > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services hel...@deepsoft.com -- Webhosting Services