PreviousNextTracker indexSee it online !

(55/231) 1942818 - 4.3pre13: `Find' overwrites the X selection

This bug may be specific to systems running X Window, such as Linux. It occurs with both 4.2final and 4.3pre13 on both Debian Testing (with Java 1.6.0_04) and on Ubuntu
Feisty (with Java 1.5.0_11). On my systems, Quick Copy is turned off.

Create a text file containing the words `foo' and `bar'. Double-click `foo', so that it's in the X selection. To confirm, middle-click a shell prompt -- `foo' should appear.

Now go back to jEdit. Using the keyboard, rather than the mouse, select `bar'. Don't press Ctrl+C or select `Edit: Copy'. Press Ctrl+F to bring up the `Find' dialogue. `bar' will appear in the `Search for' box, and will be selected. Now go back to your shell prompt and middle-click it: `bar' will appear, because jEdit has overwritten the X selection.

Submitted markuslaker - 2008-04-15 - 09:03:07z Assigned nobody
Priority 5 Category editor core
Status Open Group normal bug
Resolution None Visibility No

Comments

2008-04-15 - 09:09:03z
kpouer
Logged In: YES
user_id=285591
Originator: NO

I don't understand, what do you expect when the find dialog appears ?
2008-04-15 - 09:09:44z
kpouer
Logged In: YES
user_id=285591
Originator: NO

I don't understand, what do you expect when the find dialog appears ?
2008-04-15 - 13:43:42z
daleanson
Logged In: YES
user_id=187628
Originator: NO

1. Open Kate (gedit should work too, I didn't test it).
2. Type "foo bar" in the text area
3. Select foo with the mouse
4. Open a terminal window
5. Middle click in the terminal window. See foo appear.
6. Alt-tab back to Kate
7. Select bar with the keyboard (using Shift and arrow)
8. Alt-tab back to the terminal window.
9. Middle click in the terminal window. See foo appear.
10. Alt-tab back to Kate.
11. Press Ctrl-F. See bar appear in the find dialog.
12. Alt-tab back to the terminal window.
13. Middle click in the terminal window. See foo appear.

Now repeat with jEdit:
14. Open jEdit
15. Type "foo bar" in an empty text area
16. Select foo with the mouse
17. Open a terminal window
18. Middle click in the terminal window. See foo appear.
19. Alt-tab back to jEdit
20. Select bar with the keyboard (using Shift and arrow)
21. Alt-tab back to the terminal window.
22. Middle click in the terminal window. See foo appear. This is correct.
23. Alt-tab back to jEdit.
24. Press Ctrl-F. See bar appear in the find dialog.
25. Alt-tab back to the terminal window.
26. Middle click in the terminal window. See bar appear. This is the bug, foo should have appeared. Opening the jEdit find dialog caused the X selection to be overwritten.
2008-08-08 - 23:42:11z
ezust
Logged In: YES
user_id=935841
Originator: NO

I noticed some strange things happening with the "Klipper" applet with regards to cut and paste.
Do you have the "Klipper" applet running? Does your problem persist if you exit Klipper?

Attachments