"copy link address" does not use X11 clipboard
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.
Changed in software-center (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Low |
tags: |
added: u1-support removed: os-support |
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.