Paste function places buffer text in random places in document

Bug #337801 reported by Greg Supina
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gedit
Fix Released
Medium
gedit (Ubuntu)
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Currently I am running the 8.04 (Hardy) release, version 2.22.3 (Ubuntu 2008-07-09), kernal 2.6.24-23-386 (#1 Sun Jan 25 23:32:00 UTC 2009), GCC version 4.2.4 (i486-linux-gnu).

I have run a few versions of Ubuntu over the last 3 or 4 years on a Compaq Presario with 900 MHz AMD Duron(tm) Processor. And I have always had this problem while using the Ubuntu Text Editor, any other text editor, or any word processor. It has been on all versions, so I suspect it is hardware specific, but have not been able to test it on other computers.

After I copy or cut some text into the buffer (using Ctrl-C or Ctrl-X), and after I move the cursor to the place in the document where I want to paste, then try to paste using Ctrl-V, nothing appears to happen. However, the paste function has indeed pasted the text as soon as I pressed Ctrl-V. The problem is that it has pasted all the buffer text into a randomly chosen location within the document.

The randomly selected paste location is often fairly close to the place where I want to paste the text, and often a few paragraphs above. But it can also be absolutely anywhere else, above or below the place where the cursor is located. To find that randomly placed text, I can use the search function, or (better yet) press the undo function keys (Ctrl-Z).

If I do not immediately remove the randomly placed text, it will remain in the document. Thus, many of my documents on the internet have been partially ruined, and contain some nonsense words, sentences and paragraphs. For example, if I was cutting and pasting the word "existentialism," and somewhere else in the document there was the clause "the dog bit the postman," then the paste function might randomly place the buffer right in the middle of another word like this: "the dog bit the postmexistentialisman."

Whenever I see nothing happen after pressing Ctrl-V, I know the paste Function has placed the buffer text into a randomly selected location somewhere else in the document. Of course, I cannot see where it has done this, since It will paste the text absolutely anywhere in the document, but leave the cursor exactly where I put it in the first place.

But if nothing happens when I press Ctrl-V, I do not press Ctrl-V again. Instead, I press Ctrl-Z (undo). That will remove the buffer text which was randomly pasted somewhere in the document, then move my cursor to that particular spot. Of course, after this I need to return to where I was originally working. Since many of my documents are more than 50,000 words, trying to find the place where I was originally working in the document can be very time consuming and frustrating.

One thing that sometimes helps is if I click and double-click about ten times on the spot where I want to paste something. When I do that, chances of successfully pasting the buffer text at the cursor's location are better, although still not certain.

This bug is very frequent, occurring about half the time I use the cut and paste function.

But now another similar problem has arisen. Before I updated to 8.04 (Hardy), the search function (Ctrl-F) would never randomly paste what was in the copy buffer into a randomly selected place in the document. However, I have seen the search function do this twice while I was using the Ubuntu Text Editor. I have not seen it do this more than twice, although it may have done so without my catching it. And I have not yet seen the search function do this in the Open Office word processor. But I have confirmed that it has done this in the Text Editor at least twice.

I don't know if this problem can be fixed, except by getting a new computer, since I suspect that it might be a hardware problem. But if there is something I can do about it, I sure would appreciate some help. This bug has really caused some serious problems at times.

Thanks. Greg.

Revision history for this message
Andy Whitcroft (apw) wrote :

This sounds like a bug in the windowing system rather than a bug in the kernel as you are only seeing issues with cut-n-paste. From your description I cannot tell which applications or even which variant of ubuntu you are running so am unable to push this to a sensible package. Could you let us know which application you are using here?

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

[This is an automated message. Apologies if it has reached you inappropriately.]

This bug was reported against the linux-meta package when it likely should have been reported against the linux package instead. We are automatically transitioning this to the linux kernel package so that the appropriate teams are notified and made aware of this issue. Thanks.

affects: linux-meta (Ubuntu) → linux (Ubuntu)
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Greg,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/lucid.

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 337801

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Greg Supina (salttalk) wrote :

Hi Jeremy.

The problem I was having with "gedit" and "Open Office" has basically disappeared in recent versions of Ubuntu and with the computer I am now using. Since I started using this computer (even with Ubuntu 9.04) I do not think I have had any instances of the cut and paste function copying the buffer to random places in the text body, when I press the Ctrl-V key combination.

Now I am running:

Ubuntu 9.10 (karmic), Gnome 2.28.1, Kernel 2.6.31-20-generic, GCC version 4.4.1 (i486-linux-gnu) on a
GenuineIntel, Intel(R) Pentium(R) 4 CPU 3.06GHz

By the way, I work mostly in "gedit" because I write positional papers as HTML documents. And that was where I was getting most of random action from the cut and paste functions, although it also was occurring in the "Open Office" word processor.

Thanks for the input.

Greg.

Revision history for this message
Greg Supina (salttalk) wrote : apport-collect data

AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC880 Analog [ALC880 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: greg 1425 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xffa00000 irq 16'
   Mixer name : 'Realtek ALC880'
   Components : 'HDA:10ec0880,08600000,00090000'
   Controls : 30
   Simple ctrls : 18
CheckboxSubmission: c2d7769eb21b313170a0ded3463878b2
CheckboxSystem: fc73f07fcd9845bb95fa3ca6b8be7ef2
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=5e4f2178-8e48-4c66-9cd4-d5a0cebbffb0
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
NonfreeKernelModules: hsfengine
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-20-generic root=UUID=eaaf5345-438b-49fd-88f4-74ede653e032 ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-20.57-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-20-generic N/A
 linux-firmware 1.26
RfKill:

Uname: Linux 2.6.31-20-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 01/28/2005
dmi.bios.vendor: Intel Corp.
dmi.bios.version: EV91510A.86A.0401.2005.0128.0809
dmi.board.name: D915GAV
dmi.board.vendor: Intel Corporation
dmi.board.version: AAC64134-402
dmi.chassis.asset.tag: T1/T2/T3
dmi.chassis.type: 2
dmi.modalias: dmi:bvnIntelCorp.:bvrEV91510A.86A.0401.2005.0128.0809:bd01/28/2005:svnMDGComputers:pn:pvrTV:rvnIntelCorporation:rnD915GAV:rvrAAC64134-402:cvn:ct2:cvr:
dmi.product.version: TV
dmi.sys.vendor: MDGComputers

Revision history for this message
Greg Supina (salttalk) wrote : AlsaDevices.txt
Revision history for this message
Greg Supina (salttalk) wrote : ArecordDevices.txt
Revision history for this message
Greg Supina (salttalk) wrote : BootDmesg.txt
Revision history for this message
Greg Supina (salttalk) wrote : Card0.Amixer.values.txt
Revision history for this message
Greg Supina (salttalk) wrote : Card0.Codecs.codec.2.txt
Revision history for this message
Greg Supina (salttalk) wrote : CurrentDmesg.txt
Revision history for this message
Greg Supina (salttalk) wrote : Lspci.txt
Revision history for this message
Greg Supina (salttalk) wrote : Lsusb.txt
Revision history for this message
Greg Supina (salttalk) wrote : PciMultimedia.txt
Revision history for this message
Greg Supina (salttalk) wrote : ProcCpuinfo.txt
Revision history for this message
Greg Supina (salttalk) wrote : ProcInterrupts.txt
Revision history for this message
Greg Supina (salttalk) wrote : ProcModules.txt
Revision history for this message
Greg Supina (salttalk) wrote : UdevDb.txt
Revision history for this message
Greg Supina (salttalk) wrote : UdevLog.txt
Revision history for this message
Greg Supina (salttalk) wrote : WifiSyslog.txt
Revision history for this message
Greg Supina (salttalk) wrote : XsessionErrors.txt
Changed in linux (Ubuntu):
status: Incomplete → New
tags: added: apport-collected
Changed in gedit:
importance: Unknown → Medium
status: Unknown → New
Brad Figg (brad-figg)
tags: added: acpi-parameter
Changed in gedit:
status: New → Fix Released
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
tags: added: b73a1py79
Revision history for this message
Brad Figg (brad-figg) wrote : Unsupported series, setting status to "Won't Fix".

This bug was filed against a series that is no longer supported and so is being marked as Won't Fix. If this issue still exists in a supported series, please file a new bug.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: Confirmed → Won't Fix
Revision history for this message
Robert Roth (evfool) wrote :

Marking this as Fix Released, as the fix is already available in the Oneiric release, in gedit 3.2.0, as Upstream GNOME has fixed the issue for 3.0.1. Feel free to reopen if you still can reproduce this, and please include the steps you are using to reproduce the issue.

Changed in gedit (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.