"copy link address" does not use X11 clipboard

Bug #1040454 reported by Selene ToyKeeper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

If I view a package in USC which has a link, myDesktopCalendar for example, I can right-click the link and select "copy link address". This allows me to copy a web or email address for contacting the vendor. However, I cannot then paste it into most X11 programs. The normal mechanism is to use a X11 atom which can then be sent to any other program, usually with a middle-click. It's not exactly a clipboard as such, since it doesn't store a copy of the data... but it is the traditional mechanism used in X11 programs.

In USC, the GTK clipboard seems to be used instead, exclusively, which means only programs written in specific toolkits can be pasted into. Most GTK programs I've seen support both the X11 method and the GTK method, but USC lacks the X11 support.

I have some sample pygtk code for a working example, if it helps, but I wrote it in ~2000 or so and the API may have changed since then.

I'm using USC 5.2.5 in Precise amd64.

Tags: u1-support
Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

I should also note that this produces odd behavior even in other GTK apps. For example, in gedit, I get the value from USC if I press Ctrl-V, but if I middle-click I get whatever the X11 selection is set to. So, the two paste mechanisms produce different results after copying text from USC.

Gedit is behaving correctly by treating the two methods differently, but USC should probably handle both instead of just one.

Changed in software-center (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
tags: added: u1-support
removed: os-support
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.