Bug 243508 - nedit can not copy/paste: Attempt to copy to unlocked clipboard!
Summary: nedit can not copy/paste: Attempt to copy to unlocked clipboard!
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lesstif
Version: 6
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Patrice Dumas
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 217163 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-06-09 09:56 UTC by Gert Vervoort
Modified: 2007-11-30 22:12 UTC (History)
5 users (show)

Fixed In Version: 0.95.0-19.fc7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-09-12 16:44:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gert Vervoort 2007-06-09 09:56:34 UTC
Description of problem:

copy/paste of text in nedit is not possible.
On the xterm from which nedit was started the message "Attempt to copy to
unlocked clipboard!" appears and incorrect data will be pasted.

Version-Release number of selected component (if applicable):

nedit.x86_64  5.5-10.fc6

How reproducible:

always

Steps to Reproduce:
1. start nedit file.txt
2. select same text and type <ctrl>-c (or via the menu: edit - copy)
3. the message "Attempt to copy to unlocked clipboard!" will now appear in the
xterm on which nedit was started from.
4. now type <ctrl>-v (or via the menu: edit - paste) and now either nothing or
wrong data (from a previous app) will be pasted.
  
Actual results:

- the message "Attempt to copy to unlocked clipboard!" appears
- wrong or no data pasted.

Expected results:

- no error/warning message
- the data copied will be pasted

Additional info:

Comment 1 Sammy 2007-06-13 18:37:22 UTC
Check the nedit site for mailings. I think this has to do with motif or
lesstif.

Comment 2 Gert Vervoort 2007-06-13 19:18:05 UTC
Before I upgraded to FC6, nedit worked without any problems in FC5.

Bug 1440331 from the nedit bug tracker suggests that it is related to lesstif:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1440331&group_id=11005



Comment 3 Jindrich Novy 2007-06-18 11:21:23 UTC
Yes, it is lesstif bug, reassigning. Just the reference to upstream:

http://www.nedit.org/pipermail/develop/2006-May/011953.html

This applies also for F7/rawhide.

Comment 4 Thomas Woerner 2007-06-18 11:23:30 UTC
Reassigning to FC6-extras.

Comment 5 Ian Mortimer 2007-07-12 03:52:27 UTC
Also applies to Fedora 7 (affecting nedit on x86_64).

Comment 6 Hans de Goede 2007-08-30 22:43:46 UTC
Nasty 64 bit only bug (sizeof long != sizeof int problem), a fixed version is
building for both rawhide and F-7, I'll push it to updates-testing when the
build is completed, a comment saying that the update is available in
updates-testing will be added here. Gert and/or Ian, please confirm that the
test update fixes this, then I will push it to the regular updates repo.


Comment 7 Hans de Goede 2007-08-30 22:59:06 UTC
*** Bug 217163 has been marked as a duplicate of this bug. ***

Comment 8 Fedora Update System 2007-09-04 22:06:25 UTC
lesstif-0.95.0-19.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2007-09-12 16:44:05 UTC
lesstif-0.95.0-19.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 David Jansen 2007-09-18 08:22:05 UTC
Perhaps unrelated, but now I experience a problem on Fedora 7, i386:
$ rpm -q lesstif
lesstif-0.95.0-19.fc7.i386
schelde:jansen [~] $ nedit
nedit: the current locale is utf8 (en_GB.UTF-8)
nedit: changed locale to non-utf8 (en_GB)
Segmentation fault

The segmentation fault occurs when I try to do what was the original problem on
the 64-bit systems: copy tekst (ctrl-c or from menu). Ctrl-v alsso causes a
segmentation fault

Could it be that the 64-bit fix messed up the 32-bit versions?

Comment 11 Hans de Goede 2007-09-18 09:00:04 UTC
Yes, my bad an update fixing this has been pushed to F-7 updates today, so a yum
update should fix it.


Comment 12 David Jansen 2007-09-19 09:43:05 UTC
thanks, the i386 problem is fixed now too.


Note You need to log in before you can comment on or make changes to this bug.