glipper discards binary data

Bug #217919 reported by daniele rosa
4
Affects Status Importance Assigned to Milestone
glipper (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

glipper "eats and discards" selection added to the clipboard if it contains binary data, breaking ordinary cut and paste for many applications.

to reproduce:
start open office, hit "show draw functions" in the toolbar on top, insert a rectangle, select it, hit CTRL+C then CTRL-V and see how the text you added to glipper most recently (instead of the rectangle) is inserted.

Revision history for this message
Vincenzo Ciancia (vincenzo-ml) wrote :

Daniele:

for me, it works. What exactly are you trying to copy? The background layer, for example, cannot be cut at all, only strokes can be cut and pasted.

Revision history for this message
daniele rosa (daniele-rosa-blogs) wrote :

Yes, I know about the background.
I am trying to copy/cut and paste strokes.

Revision history for this message
Vincenzo Ciancia (vincenzo-ml) wrote :

Can you descrkbe exactly what you see? Does the selection rectangle appear and then nothing is copied? Does the rectangle stay there or does it disappear immediately?

Revision history for this message
daniele rosa (daniele-rosa-blogs) wrote :

Sure. I draw a little line. Then, I select it using a rectangle that is big enough to include it all. Then, I proceed with copy (or cut) and paste. The rectangle is present since I drew it. To make sure there are not two overlapping objects, I move the rectangle from its original position.

Revision history for this message
Vincenzo Ciancia (vincenzo-ml) wrote :

I have to leave until monday. In the meantime, if you wish, you can try latest release from upstream site (xournal.sf.net), and see if bug is fixed, or contact upstream directly and ask Denis to look at this bug. Usually, when I paste things in xournal, the pasted rectangle is "shifted" a bit to the right so that the two can not overlap. In your case, it seems like the "paste" command is not pasting at all (or like if the buffer is empty). Do you use some cut and paste applet in the systray or something similar?

To compile new release do "sudo apt-get build-dep xournal" before compiling (just in case you don't know).

Revision history for this message
daniele rosa (daniele-rosa-blogs) wrote :

You got it. It was the applet. It's called Glipper.
If I quit it, the copy and paste work just fine.
Thanks for your help.
Daniele

Revision history for this message
Vincenzo Ciancia (vincenzo-ml) wrote :

Glipper probably does not recognize the type of data and silently discards it.

description: updated
Revision history for this message
Michael Nagel (nailor) wrote : Re: Glipper discards data from unknown applications breaking ordinary cut and paste for those

confirming, to reproduce:
start open office, hit "show draw functions" in the toolbar on top, insert a rectangle, select it, hit CTRL+C then CTRL-V and see how the text you added to glipper most recently (instead of the rectangle) is inserted.

i suppose this is because glipper is unable to handle binary data.

PS: glipper is unmaintained: Bug #255060 , we/ubuntu should look for an alternative

Changed in glipper:
status: New → Confirmed
description: updated
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.