Menu

#226 Copy is incomplete

closed-fixed
None
5
2004-09-19
2004-07-18
No

I cannot copy text to the clipboard with NEdit or DDD.
When the copy function on either program is activated,
the content of xclipboard is not changed. After about
five seconds, xclipboard shows a dialog stating
"CLIPBOARD selection conversion failed".

The problem is also visible without xclipboard, though
more elusive. See
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=217121
for a description.

The error is not visible with NEdit statically bound to
Open Motif.

NEdit 5.5RC1
Jul 7, 2004

Built on: Linux, 486, GNU C
Built at: Jul 18 2004, 20:06:21
With Motif: 1.2.0 [@(#)GNU/LessTif Version 1.2
Release 0.93.94] (UNTESTED)
Running Motif: 1.2 [@(#)GNU/LessTif Version 1.2 Release
0.93.94]
Server: The XFree86 Project, Inc 40300001
Visual: 16-bit TrueColor (ID 0x23, Default)
Locale: de_DE@euro

Discussion

  • Thorsten Haude

    Thorsten Haude - 2004-07-18

    Logged In: YES
    user_id=119143

    Try the following:
    1. Put text A in the clipboard (verify with xclipboard)
    2. Open DDD and NEdit
    3. Copy text B in DDD
    4. Paste the clipboard to NEdit both *before* and *after*
    the five second timeout is up (xclipboard dialog).

    What I see here: The first paste inserts text B, the second
    paste inserts text A. My blind guess is that B is stored
    internally in Lesstif (it's not accessible to other apps)
    and overwritten with the clipboard once the timeout is up.

     
  • Thorsten Haude

    Thorsten Haude - 2004-07-18

    Logged In: YES
    user_id=119143

    Note: This may be triggered by something KDE does to the
    clipboard.

     
  • Danny Backx

    Danny Backx - 2004-07-25
    • assigned_to: nobody --> dannybackx
    • status: open --> open-accepted
     
  • Danny Backx

    Danny Backx - 2004-07-28

    Logged In: YES
    user_id=39146

    I think I've got it mostly figured out. Not KDE related as far as I can
    see.

    It can be reproduced also by running the copy_by_name example
    from the OReilly Motif book (chapter 21) against xclipboard.

    The issue is that LessTif is only looking for Motif's clipboard protocol,
    not the ICCCM (original X) protocol which xclipboard uses.

    That's the theory. Now for the implementation :-)

     
  • Danny Backx

    Danny Backx - 2004-08-06
    • status: open-accepted --> open-fixed
     
  • Danny Backx

    Danny Backx - 2004-08-06

    Logged In: YES
    user_id=39146

    I think I fixed it. LessTif 0.93.95 - just released - contains the code.
    Can you check ?

     
  • Danny Backx

    Danny Backx - 2004-09-19
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.