[Kubuntu] [amd64] text in Openoffice.org can't be pasted correctly with the middle mouse button

Bug #151093 reported by jeroenl
12
Affects Status Importance Assigned to Milestone
openoffice.org (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: openoffice.org

Since I can remember it is always almost impossible to copy text out of Openoffice with just selecting the text and paste it somewhere else with the middle mouse button (is there a name for this great unix/linux-feature?).

When you select a text in Openoffice and want to paste it with the middle mouse button in e.g. a Firefox text form or Kate, the pasted text is cut off. The exact position where it's cut off is not always the same and if you select e.g. only a few words it works. Most of the times the start of the selection is shown, but also sometimes the middle part or the end part.

There seems to be some kind of structure in this bug:
1. How further down into the document you select the text, how bigger the problem.
2. How more selections you make, how bigger the problem.

Above rules are not always the same, so maybe it's coincidence.

The bug is also present in reverse (dropping into Openoffice, although not as worse as into Openoffice), except for formatted content from out of Firefox (that is pasted 100% correct, i.

This bug is very important if you are someone who wants to quickly select and drop text from out of or into Openoffice. All the other applications in Linux don't have this problem. Please fix?!

Revision history for this message
jeroenl (jeroenl) wrote :

Corrections:
*"(dropping into Openoffice, although not as worse as into Openoffice)" should be >> "(dropping into Openoffice, although not as worse as out of Openoffice)"
*"(that is pasted 100% correct, i." should be >> "(that is pasted 100% correct, incl. weblinks, etc...)"

Revision history for this message
Nicolas Joyard (joyard-nicolas) wrote :

I cannot reproduce it in Gnome, maybe it is KDE-specific ?
Could you please try on Gnome on your system ?

Revision history for this message
jeroenl (jeroenl) wrote :

I installed ubuntu-desktop and loaded Gnome. It's indeed working in there for 90%. Back in KDE it is still a problem, but why I noticed is when you select the whole document text, it works both in Gnome and KDE.

Revision history for this message
Chris Cheney (ccheney) wrote :

I believe that this bug has been corrected in Ubuntu hardy openoffice.org 1:2.4.0~rc2-1ubuntu3 so I am marking it as Fix Released. If after upgrading you continue to have problems with this issue then feel free to reopen this bug.

Thanks,

Chris Cheney

Changed in openoffice.org:
status: New → Fix Released
Revision history for this message
jeroenl (jeroenl) wrote :

I still have the same problems with Hardy. Using KDE 3.5.9 and OOo 2.4.

So I reopen this bug.

Revision history for this message
jeroenl (jeroenl) wrote :

I still have the same problems with Hardy. Using KDE 3.5.9 and OOo 2.4.

So I reopen this bug.

Changed in openoffice.org:
status: Fix Released → Confirmed
Chris Cheney (ccheney)
Changed in openoffice.org:
status: Confirmed → New
Revision history for this message
PatrikHermansson (patrik-paheco) wrote : Re: [Kubuntu] text in Openoffice.org can't be pasted correctly with the middle mouse button

Same here with Hardy, Gnome 2.22.2 and OOo 2.4. Copying to OOo works well, but from OOo is not. Sometimes one char gets copied, if you're lucky you get three or four chars copied. Very annoying indeed.

Revision history for this message
N7DR (doc-evans) wrote :

Cut/Paste seems to be completely broken in OOo 2.4 in hardy.

Running Kubuntu hardy 64-bit, OOo 2.4.

In OOo Writer:

1. In a new document, write some text.
2. Select any part of the text with left mouse button.
3. Try to paste with middle button.

Nothing is pasted.

Happens 100% of the time here. It's maddening.

Revision history for this message
Chris Cheney (ccheney) wrote :

This works fine for me with Gnome on Intrepid, can anyone having trouble with this on Gnome check out Intrepid. I will try to test it on Kubuntu later.

Changed in openoffice.org:
status: New → Incomplete
Revision history for this message
N7DR (doc-evans) wrote :

I don't know whether this is specific to 64-bit, but I wanted to emphasise that that's what I'm using.

Chris Cheney (ccheney)
Changed in openoffice.org:
status: Incomplete → New
Revision history for this message
N7DR (doc-evans) wrote :

I have seen occasional reports of Klipper interfering with clipboard operations in applications. Since Klipper seems to be installed and used by default in hardy Kubuntu, I just checked to see if this bug still occurs even if Klipper is not running. It *does*. So this does seem to be an OOo problem.

Revision history for this message
Chris Cheney (ccheney) wrote :

N7DR,

When you recently tested was it on Intrepid (KDE 4.1) or still on Hardy? Intrepid will officially be released in next 24 hours (not sure exactly when) and I can't reproduce this on i386 Intrepid KDE 4.1 and don't have any easy way to test the 64bit version.

Thanks,

Chris Cheney

Changed in openoffice.org:
status: New → Incomplete
Revision history for this message
N7DR (doc-evans) wrote :

It was on hardy.

I'm hoping to install intrepid on at least one 64-bit machine in the next few days; I'll let you know if this bug still seems to be present in intrepid as soon as I have a working system.

Revision history for this message
N7DR (doc-evans) wrote :

I can confirm that this bug persists on 64-bit intrepid.

Chris Cheney (ccheney)
Changed in openoffice.org:
status: Incomplete → Confirmed
Revision history for this message
Chris Cheney (ccheney) wrote :

Do you still have this problem with the new version of OOo in the ppa at https://launchpad.net/~openoffice-pkgs/+archive ?

Changed in openoffice.org:
status: Confirmed → Incomplete
Revision history for this message
N7DR (doc-evans) wrote :

Someone who can put non-official packages on their machine will have to try that. I can't try it until it's an official package. I will be happy to test it then, if no one has done so beforehand.

Revision history for this message
Chris Cheney (ccheney) wrote :

Well good luck with this bug getting fixed. I am the Ubuntu OOo maintainer but don't use Kubuntu and can't run it on amd64 on vmware, due to cpu limitations, so have no way of testing it myself. These packages are as official as they get unless you want to run Jaunty which has the same packages in it.

Revision history for this message
N7DR (doc-evans) wrote :

I don't know what "as official as you get" means :-( It seems to me that I would be offered to update the packages if they were official. Maybe I've done something wrong, but the machines here are all configured with repositories exactly the way Kubuntu configures them out-of-the-box, [we are very careful not to mess with that, having ended up in deep trouble in the past by trying to use non-official packages] and the version of OO.o that I'm running is the latest one offered, which is :1:2.4.1-11ubuntu2.1 (intrepid-updates).

So if I have to wait, I'll wait. Having a hosed production machine (as has happened all too often in the past when following advice to move away from official packages) is too high a price. It seems like there are OO.o updates fairly frequently anyway, so presumably we'll get another one before long.

Revision history for this message
Chris Cheney (ccheney) wrote :

I mean since I am the OpenOffice.org maintainer for Ubuntu these are as official as you are going to get for an older release, 3.0.1 isn't going to be uploaded for older releases outside of possibly the backports repository eventually. And since I can't test this issue, due to reasons given before, if no else who has this issue can verify if it is fixed or not then this bug will never be solved.

Chris

Revision history for this message
Chris Cheney (ccheney) wrote :

And it is very easy to revert packages you just need to do something like the following in a terminal:

Remove the line for the repository of the newer debs from /etc/apt/sources.lists

apt-get update - (this updates the Packages file which contains what packages you can install)
apt-get clean - (this clears out the cache of downloaded packages so it won't try to install the newer debs again)

Then remove the newer debs:

dpkg -l | grep (exact openoffice.org revision number) | cut -f 3 -d " " | xargs dpkg --purge --force-depends

Then install the old debs:

apt-get install openoffice.org

Of course if this is in a business environment then it may not be possible to do this due to company regulations, but it is very simple to update to a newer set of debs and then go back to the old ones in general. Perhaps in the past someone gave you bad advice on how to accomplish the above task.

Chris

Revision history for this message
N7DR (doc-evans) wrote :

> Do you still have this problem with the new version of OOo in the ppa at https://launchpad.net/~openoffice-pkgs/+archive?

I just looked there and those files are for 3.0.1. The files in that repository are known to crash on Kubuntu (per the kubuntu-users reflector). I think everyone there is waiting for the real (non-ppa) release of OO.o 3.x.y for Kubuntu.

I'll just have to wait.

Revision history for this message
Chris Cheney (ccheney) wrote :

I will try to get the OOo 1:3.0.1-1ubuntu1 debs which are now in Jaunty into the ppa ASAP. However you can test the issue with the current ppa debs if you don't install the openoffice.org-kde packages.

Thanks,

Chris Cheney

Revision history for this message
Chris Cheney (ccheney) wrote :

Can you test the current ppa debs? They should no longer cause problems for Kubuntu.

Thanks,

Chris Cheney

Revision history for this message
Chris Cheney (ccheney) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in openoffice.org:
status: Incomplete → Invalid
Revision history for this message
N7DR (doc-evans) wrote :

Set back to New (per comment on 090228).

This problem still exists in the official jaunty release.

Changed in openoffice.org (Ubuntu):
status: Invalid → New
Revision history for this message
Chris Cheney (ccheney) wrote :

Marking as confirmed since some people see this issue. I can not reproduce this however and so have no way to determine what is the actual cause or fix this bug.

Changed in openoffice.org (Ubuntu):
status: New → Confirmed
Revision history for this message
Jørgen Best (jorgen-voor-werk) wrote :

As on my machine this bug (see duplicate bug for my exact problem) is very well reproducable may be I can help you Chris. Is there something not to complicated I can do for you (I understand some of the inner of Linux, can understand some coding but normaly gets completly lost in the coding of others because I never know where what starts). Is it possible to do some debuging for you? Without completle reïnstalling my computer? If so mail me some clear instructions.

Revision history for this message
Jørgen Best (jorgen-voor-werk) wrote :

In my case disabling Klipper in KDE4 solved my trouble.

See: Bug #311251 in kdebase-workspace (Ubuntu): “Copy & Paste work intermittently with Klipper”
https://bugs.launchpad.net/ubuntu/+source/kdebase-workspace/+bug/311251

Note: OpenOffice was the only program I 've used wich caused trouble in combination with Klipper. I don't no where the problem is located (Klipper, OO or different point of views of the use of clipboard in both programs.

Revision history for this message
N7DR (doc-evans) wrote :

FYI, my comment #11 is still true in jaunty.

(Actually, I don't use klipper at all any more.)

Revision history for this message
N7DR (doc-evans) wrote :

How can this possibly be a duplicate of 311251???

311251 explicitly is talking about klipper. We have known for nearly a year that this bug is present regardless of klipper's presence.

I'm sorry, but I don't understand how, if klipper isn't running, this bug can be related to klipper. Please explain.

Chris Cheney (ccheney)
tags: added: kubuntu
Revision history for this message
Chris Cheney (ccheney) wrote :

Roman,

Can you test this bug for me?

Thanks,

Chris

Changed in openoffice.org (Ubuntu):
assignee: nobody → Roman Shtylman (shtylman)
status: Confirmed → Incomplete
Revision history for this message
Roman Shtylman (shtylman) wrote :

I can select the text and then paste the same text I have selected only when I have that text selected. Can someone please elaborate on the correct expected behavior?

Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported should be reproducible with the live environment of the Desktop CD development release - Maverick Meerkat. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/. Thanks again and we appreciate your help.

Revision history for this message
Robert Roth (evfool) wrote :

I have tried this, and I'm experiencing the same behavior as Roma Shtylman reported.
I have tried it using Maverick and OO.o 3.2.1 on Ubuntu i386.

Can anyone please tell what is the exact expected behavior here?

Revision history for this message
N7DR (doc-evans) wrote :

1. Open Writer with a new document.
2. Type the word "This".
3. Select the text by dragging with the left mouse button depressed.
4. Left-click after the word to place the cursor there.
5. Hit middle button.

Nothing happens.

That's the simplest possible copy-and-paste operation I can think of, and it fails.

I don't know how Roman and Robert are getting any other behaviour, because this is consistent on every machine and every version of Kubuntu I've tried (which is everything from dapper onwards, except maverick to which I can't upgrade because of bug 639933).

Changed in openoffice.org (Ubuntu):
assignee: Roman Shtylman (shtylman) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openoffice.org (Ubuntu) because there has been no activity for 60 days.]

Changed in openoffice.org (Ubuntu):
status: Incomplete → Expired
penalvch (penalvch)
Changed in openoffice.org (Ubuntu):
status: Expired → New
Changed in openoffice.org (Ubuntu):
status: New → Won't Fix
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote : migrating packaging from OpenOffice.org to Libreoffice

[This is an automated message.]
There are no new official OpenOffice.org releases in Ubuntu packaging anymore => Won't Fix

If the problem persists, please mark this bug as "also affects project Libreoffice" or "also affects distribution Libreoffice (Ubuntu)" if that has not happened already.

Please leave references to upstream OpenOffice.org bugs in place to allow cross pollination.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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