Bug#276447: xterm sometimes leaves some of the highlighted selection out of the X selection
Package: xterm
Version: 4.3.0.dfsg.1-8
Severity: minor
I have found a circumstance in which I paste a selection owned by xterm,
but only part of the highlighted selection gets pasted. It seems to
have to do with tabs and some other factors I haven't figured out. It
seems to occur more readily in newly created xterms. I haven't narrowed
it down any further, but I can give you steps that reproduce it for me.
1. open an xterm (80x24)
2. cat a file that fills a few screens and has tabs (attached)
3. triple-click select the last line of the file
4. scroll up until the first line in the file is visible
5. right-click on the first line
6. paste the selection somewhere
You should see only lines 1-23. Note that line 23 was just off the
bottom of the screen, and the next line had a tab. If I replace the
tabs in the file with spaces, I don't see the problem.
This is a fairly obscure bug that I'm sure won't bother most people, but
it drove me batty as I chased after other presumed culprits.
Andrew
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
Versions of packages xterm depends on:
ii libc6 2.3.2.ds1-17 GNU C Library: Shared libraries an
ii libexpat1 1.95.6-8 XML parsing C library - runtime li
ii libfontconfig1 2.2.3-1 generic font configuration library
ii libfreetype6 2.1.7-2.2 FreeType 2 font engine, shared lib
ii libice6 4.3.0.dfsg.1-8 Inter-Client Exchange library
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libsm6 4.3.0.dfsg.1-8 X Window System Session Management
ii libxaw7 4.3.0.dfsg.1-8 X Athena widget set library
ii libxext6 4.3.0.dfsg.1-8 X Window System miscellaneous exte
ii libxft2 2.1.2-6 FreeType-based font drawing librar
ii libxmu6 4.3.0.dfsg.1-8 X Window System miscellaneous util
ii libxpm4 4.3.0.dfsg.1-8 X pixmap library
ii libxrender1 0.8.3-7 X Rendering Extension client libra
ii libxt6 4.3.0.dfsg.1-8 X Toolkit Intrinsics
ii xlibs 4.3.0.dfsg.1-8 X Window System client libraries m
ii xlibs-data 4.3.0.dfsg.1-8 X Window System client data
-- no debconf information
Reply to: