[gtk3] right-click context menu for links no longer works

Bug #824957 reported by Jeremy Bícha
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Software Updater
Fix Released
Undecided
Unassigned
update-manager (Ubuntu)
Fix Released
Low
Robert Roth

Bug Description

In the Natty update-manager, right clicking on a link in the changelog would give the option to open in browser or copy link to clipboard. With the port to gtk3, this content menu no longer shows up.

See the code at http://bazaar.launchpad.net/~ubuntu-core-dev/update-manager/main/view/head:/UpdateManager/ChangelogViewer.py#L63

I came across this same issue in an app I ported from gtk2 to gtk3 so this might actually be a gtk issue, or at least the behavior has changed from gtk2.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: update-manager 1:0.152.12
ProcVersionSignature: Ubuntu 3.0.0-8.10-generic 3.0.1
Uname: Linux 3.0.0-8-generic x86_64
Architecture: amd64
Date: Fri Aug 12 00:16:02 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitecture: all
SourcePackage: update-manager
UpgradeStatus: Upgraded to oneiric on 2011-06-17 (55 days ago)

Related branches

Revision history for this message
Jeremy Bícha (jbicha) wrote :
Revision history for this message
Robert Roth (evfool) wrote :

When right-clicking on a link, I get the following traceback in Terminal:
Traceback (most recent call last):
  File "/home/Projects/umtrunk/UpdateManager/ChangelogViewer.py", line 207, in button_press_event
    self.create_context_menu(url)
  File "/home/Projects/umtrunk/UpdateManager/ChangelogViewer.py", line 68, in create_context_menu
    item_grey_link = Gtk.MenuItem(url)
TypeError: GObject.__init__() takes exactly 0 arguments (1 given)

---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Changed in update-manager (Ubuntu):
status: New → Confirmed
Robert Roth (evfool)
Changed in update-manager (Ubuntu):
importance: Undecided → Low
assignee: nobody → Robert Roth (evfool)
status: Confirmed → In Progress
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:0.152.13

---------------
update-manager (1:0.152.13) oneiric; urgency=low

  [ Robert Roth ]
  * Fix link context menu in changelog viewer (LP: #824957)

  [ Michael Vogt ]
  * debian/control:
    - bump unity dependency to gir1.2-unity-4.0
 -- Michael Vogt <email address hidden> Fri, 12 Aug 2011 17:45:51 +0200

Changed in update-manager (Ubuntu):
status: Fix Committed → Fix Released
Changed in update-manager:
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

Remote bug watches

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