Opened 11 years ago

Closed 10 years ago

#6038 closed defect (fixed)

Insert with middle mouse button does not work any longer on Linux

Reported by: Fabi2 Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: Cc:


Selecting text with the left mouse button and then inserting it with the middle button is common with X11 on Linux/Unix. This bug is annoying, as you can not insert a part of the key with mouse only copy & and paste operation.

I used a fresh install of josm 3936 with default settings and no plugins.


  1. Start JOSM.
  2. Create a new layer.
  3. Add a node and selct it.
  4. Click on "add tag.
  5. Type something into the key field (e.g. "contact:"), place the cursor behind the last char and make sure, the text in the key input field is deselected.
  6. Switch to a different application and select some text (with the mouse or with the e.g. cotext menu) and make sure it was copied to the clipboard. (E.g. with KDE and klipper, that I used, this old style text selection must first turned on in the klipper settings, on most other window manager this behaviour is the default).
  7. Switch back to JOSM to insert it.
  8. As JOSM has the focus again, it auto selects all text that was typed in the key field before. This unwanted auto-selection overrrides the input of the clipboard, so you can't paste what you wanted.

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by xeen

Has likely been fixed by r4948. Please reopen if the problem still exists for you.

comment:2 Changed 10 years ago by xeen

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.