After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 575251 - gedit jumps to cursor on midleclick paste
gedit jumps to cursor on midleclick paste
Status: RESOLVED DUPLICATE of bug 612119
Product: gedit
Classification: Applications
Component: general
2.25.x
Other All
: Normal minor
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-13 13:34 UTC by Christian Stöveken
Modified: 2010-03-08 22:57 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Christian Stöveken 2009-03-13 13:34:19 UTC
Please describe the problem:
when selecting e.g. a paragraph and then pasting it somewhere (e.g. scroll up a page) the focus shifts back to the cursor position

Steps to reproduce:
1. mark a word
2. scroll up a page
3. paste it using 3rd mouse button


Actual results:
the word gets selected, you scroll up, the word gets pasted - but you don't see it since focus goes back to the previous position

Expected results:
I expect the focus to stay where you just pasted something

Does this happen every time?
yes

Other information:
if some think going back to the previous cursor position is the right behaviour there should be an option to select either way.
Comment 1 Michael T 2009-04-28 20:42:46 UTC
This is one of the things that I find most annoying in gedit as well.
Comment 2 Oliver Joos 2009-11-11 12:22:36 UTC
This bug still exists in gedit 2.28.0.
Comment 3 Richard Neill 2010-03-05 04:34:49 UTC
Still present in 2.29.7.

What's even more irritating is that one then starts typing, typically expecting to press DEL to delete the word after what was just pasted. But the delete deletes the wrong thing.

*Please* can we get this fixed before Ubuntu Lucid is released?
Comment 4 Michael T 2010-03-05 16:05:49 UTC
Just out of interest, anyone here using a distribution other than Ubuntu?  (I am using Ubuntu, as is Richard Neill I presume).
Comment 5 Richard Neill 2010-03-06 04:15:09 UTC
Re #4, I can confirm it also happens in 2.28 on the latest version of Mandriva. 
So it really is an upstream bug, and imho, confirmed and severity major.
Comment 6 Oliver Joos 2010-03-08 22:48:50 UTC
Please raise bug status from UNCONFIRMED to NEW. Otherwise it might stay below radar for another year.

About severity: this bug has the potential to ruin documents! Thanks to svn and pylint I think I found all stray pastes so far. *knockingonwood
Comment 7 Ignacio Casal Quinteiro (nacho) 2010-03-08 22:57:12 UTC
This has been fixed in gtk+. Thanks for reporting it.

*** This bug has been marked as a duplicate of bug 612119 ***