[UIFe] TypeError when opening edit menu
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu Software Center | Status tracked in Trunk | |||||
Stable-5-6 |
Triaged
|
Medium
|
Unassigned | |||
Trunk |
Fix Released
|
High
|
dobey | |||
gtk+3.0 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | |||
software-center (Ubuntu) |
Fix Released
|
High
|
dobey |
Bug Description
The following trace occurs when opening the "Edit" menu in software-center, as a result of an incompatible change in one of GTK+, pygobject, or libgirepository. The code in software-center is correct, but the bindings are causing the wrong method to be called, resulting in the trace.
Traceback (most recent call last):
File "/usr/share/
bounds = self.active_
File "/usr/lib/
ret = method(*args, **kwargs)
TypeError: unbound method get_selection_
As a work around for this, I have removed the code in software-center, which makes the Cut/Copy items in the Edit menu no longer apply to the search entry. As a result, this also removes the Cut item completely, as it was only used for the search entry. However, it is still possible to use the context-menu when right clicking on the entry, or the standard C-x/C-c key bindings, to cut or copy the selected text in the entry.
Mailing list request messages:
Docs: https:/
I18n: https:/
Related branches
- Mike McCracken (community): Approve
-
Diff: 13 lines (+2/-1)1 file modifiedsoftwarecenter/ui/gtk3/panes/availablepane.py (+2/-1)
tags: | removed: need-duplicate-check |
Changed in software-center (Ubuntu): | |
importance: | Undecided → Medium |
information type: | Private → Public |
summary: |
- software-center crashed with TypeError in wrapped(): unbound method - get_selection_bounds() must be called with TextBuffer instance as first - argument (got SearchEntry instance instead) + [UIFe] TypeError when opening edit menu |
description: | updated |
description: | updated |
tags: | added: u1-by-user u1-on-production |
Changed in gtk+3.0 (Ubuntu): | |
importance: | Undecided → High |
importance: | High → Undecided |
tags: | added: patch |
Status changed to 'Confirmed' because the bug affects multiple users.