Comment 23 for bug 34629

Revision history for this message
MestreLion (mestrelion) wrote :

I have this bug too (on Maverick)

My 2 cents:
- gedit clears the primary *only* if the selection was made on gedit itself! (yes, this seems absurd, i know)

Steps to reproduce:

- Select something in Firefox (double or triple click this very line). Alt+Tab to gedit. Middle-click. Pastes fine
- Left click another part of the text in gedit. Middle-click. Pastes fine

- Select something in gedit (double or triple click) Alt+Tab to firefox. Middle-click. Pastes fine
- Alt+Tab back to gedit. Middle-click anywhere (without left-clicking!). Pastes fine

- Left click another part of the text in gedit. Middle-click. PASTE FAILS
- Alt+tab to firefox. Middle-click. PASTE FAILS

- Select something in Firefox (double or triple click this very line). Alt+Tab to gedit.
- Use keyboard arrow keys to move cursor somewhere else. Middle-click. Pastes fine

- Select something in gedit. Use keyboard arrow keys to move cursor somewhere else. Middle-click. PASTE FAILS
(fails also if you use CTRL+Z or any key that moves the text cursor to another place)

So it looks like the primary is cleared if text cursor in gedit moves (by left-click or arrow keys or any other way) and the selection was made in gedit itself.

Is this behavior the same bug or another, new one?