2013-04-22 12:02:10 |
Viktor Suprun |
bug |
|
|
added bug |
2013-04-22 12:02:10 |
Viktor Suprun |
attachment added |
|
Code example https://bugs.launchpad.net/bugs/1171433/+attachment/3650560/+files/test_menu.py |
|
2013-04-22 13:21:20 |
Viktor Suprun |
tags |
|
raring |
|
2013-04-22 14:57:24 |
Launchpad Janitor |
gobject-introspection (Ubuntu): status |
New |
Confirmed |
|
2013-04-22 15:05:20 |
Viktor Suprun |
description |
Hi guys!
I'm using a Python and gir bindings to libgtk3, and I've trouble with Gtk.Menu
(and gi.overrides.Menu) and guess that is bug. After calling
menu.popup(None, None, lambda menu, data: (event.get_root_coords()[0],
event.get_root_coords()[1], True), None, event.button, event.time)
the popup-menu doesn't appear, if menu has added within ListView/TreeView or
some other widgets. Popup menu works only if it was been added on Tab of the
Notetab widget.
I've roughly the list of package versions:
$ dpkg -l | grep -E "ii\s\s(python|python-gi|gir1.2-gtk-3.0|libgtk-3-0)(\s|\:)"
ii gir1.2-gtk-3.0 3.6.4-0ubuntu7 amd64 GTK+ graphical
user interface library -- gir bindings
ii libgtk-3-0:amd64 3.6.4-0ubuntu7 amd64 GTK+ graphical
user interface library
ii python 2.7.4-0ubuntu1 amd64 interactive
high-level object-oriented language (default version)
ii python-gi 3.8.0-2 amd64 Python 2.x
bindings for gobject-introspection libraries
(latest version of the Ubuntu, 13.04).
But, under Ubuntu 12.10 with following list of packages all be ok, and menu
appearing:
ii gir1.2-gtk-3.0 3.6.0-0ubuntu3.2 amd64 GTK+ graphical
user interface library -- gir bindings
ii libgtk-3-0:amd64 3.6.0-0ubuntu3.2 amd64 GTK+ graphical
user interface library
ii python 2.7.3-0ubuntu7 amd64 interactive
high-level object-oriented language (default version)
ii python-gi 3.4.0-1ubuntu0.1 amd64 Python 2.x
bindings for gobject-introspection libraries |
Hi guys!
I'm using a Python and gir bindings to libgtk3, and I've trouble with Gtk.Menu
(and gi.overrides.Menu) in Ubuntu Raring and guess that is bug. After calling
menu.popup(None, None, lambda menu, data: (event.get_root_coords()[0],
event.get_root_coords()[1], True), None, event.button, event.time)
the popup-menu doesn't appear, if menu has added within ListView/TreeView or
some other widgets. Popup menu works only if it was been added on Tab of the
Notetab widget.
I've roughly the list of package versions (latest version of the Ubuntu, 13.04):
$ dpkg -l | grep -E "ii\s\s(python|python-gi|gir1.2-gtk-3.0|libgtk-3-0)(\s|\:)"
ii gir1.2-gtk-3.0 3.6.4-0ubuntu7 amd64 GTK+ graphical
user interface library -- gir bindings
ii libgtk-3-0:amd64 3.6.4-0ubuntu7 amd64 GTK+ graphical
user interface library
ii python 2.7.4-0ubuntu1 amd64 interactive
high-level object-oriented language (default version)
ii python-gi 3.8.0-2 amd64 Python 2.x
bindings for gobject-introspection libraries
But, under Ubuntu 12.10 with following list of packages all be ok, and menu
appearing:
ii gir1.2-gtk-3.0 3.6.0-0ubuntu3.2 amd64 GTK+ graphical
user interface library -- gir bindings
ii libgtk-3-0:amd64 3.6.0-0ubuntu3.2 amd64 GTK+ graphical
user interface library
ii python 2.7.3-0ubuntu7 amd64 interactive
high-level object-oriented language (default version)
ii python-gi 3.4.0-1ubuntu0.1 amd64 Python 2.x
bindings for gobject-introspection libraries |
|
2013-04-29 09:40:58 |
Viktor Suprun |
description |
Hi guys!
I'm using a Python and gir bindings to libgtk3, and I've trouble with Gtk.Menu
(and gi.overrides.Menu) in Ubuntu Raring and guess that is bug. After calling
menu.popup(None, None, lambda menu, data: (event.get_root_coords()[0],
event.get_root_coords()[1], True), None, event.button, event.time)
the popup-menu doesn't appear, if menu has added within ListView/TreeView or
some other widgets. Popup menu works only if it was been added on Tab of the
Notetab widget.
I've roughly the list of package versions (latest version of the Ubuntu, 13.04):
$ dpkg -l | grep -E "ii\s\s(python|python-gi|gir1.2-gtk-3.0|libgtk-3-0)(\s|\:)"
ii gir1.2-gtk-3.0 3.6.4-0ubuntu7 amd64 GTK+ graphical
user interface library -- gir bindings
ii libgtk-3-0:amd64 3.6.4-0ubuntu7 amd64 GTK+ graphical
user interface library
ii python 2.7.4-0ubuntu1 amd64 interactive
high-level object-oriented language (default version)
ii python-gi 3.8.0-2 amd64 Python 2.x
bindings for gobject-introspection libraries
But, under Ubuntu 12.10 with following list of packages all be ok, and menu
appearing:
ii gir1.2-gtk-3.0 3.6.0-0ubuntu3.2 amd64 GTK+ graphical
user interface library -- gir bindings
ii libgtk-3-0:amd64 3.6.0-0ubuntu3.2 amd64 GTK+ graphical
user interface library
ii python 2.7.3-0ubuntu7 amd64 interactive
high-level object-oriented language (default version)
ii python-gi 3.4.0-1ubuntu0.1 amd64 Python 2.x
bindings for gobject-introspection libraries |
Hi guys!
I'm using a Python and gir bindings to libgtk3, and I've trouble with Gtk.Menu
(and gi.overrides.Menu) in Ubuntu Raring and I think that is bug. After calling
menu.popup(None, None, lambda menu, data: (event.get_root_coords()[0],
event.get_root_coords()[1], True), None, event.button, event.time)
the popup-menu doesn't appear, if menu has added within ListView/TreeView or
some other widgets. Popup menu works only when it has been added to the Tab of the
Notetab widget.
I've roughly the list of package versions (latest version of the Ubuntu, 13.04):
$ dpkg -l | grep -E "ii\s\s(python|python-gi|gir1.2-gtk-3.0|libgtk-3-0)(\s|\:)"
ii gir1.2-gtk-3.0 3.6.4-0ubuntu7 amd64 GTK+ graphical
user interface library -- gir bindings
ii libgtk-3-0:amd64 3.6.4-0ubuntu7 amd64 GTK+ graphical
user interface library
ii python 2.7.4-0ubuntu1 amd64 interactive
high-level object-oriented language (default version)
ii python-gi 3.8.0-2 amd64 Python 2.x
bindings for gobject-introspection libraries
But, in Ubuntu 12.10 which had a following list of packages all be ok, and menu
would be appear:
ii gir1.2-gtk-3.0 3.6.0-0ubuntu3.2 amd64 GTK+ graphical
user interface library -- gir bindings
ii libgtk-3-0:amd64 3.6.0-0ubuntu3.2 amd64 GTK+ graphical
user interface library
ii python 2.7.3-0ubuntu7 amd64 interactive
high-level object-oriented language (default version)
ii python-gi 3.4.0-1ubuntu0.1 amd64 Python 2.x
bindings for gobject-introspection libraries |
|