[Bugs] #4709 Sugar UNSP: MenuItem at times do not trigger activate signal

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Jan 10 14:37:08 EST 2014


#4709: MenuItem at times do not trigger activate signal
---------------------------------------------+-----------------------------
       Reporter:  godiard                    |       Owner:
           Type:  defect                     |      Status:  new
       Priority:  Unspecified by Maintainer  |   Milestone:  Unspecified
      Component:  Sugar                      |     Version:  Git as of
       Severity:  Unspecified                |  bugdate
Distribution/OS:  Unspecified                |    Keywords:  AU1B
                                             |  Bug Status:  Unconfirmed
---------------------------------------------+-----------------------------
\
\
 This was reported in AU, but I could reproduce it:

 Once in a while (~1 in 10) when the user try to copy a item in the
 Journal, to Documents or to a external device, nothing is copied.

 After add log, I found the code connected to "activate" signal is not
 called [1].

 I added a call back to "button-press-event" and that is always called.

 There are other bugs reported similar to this, but not exactly equal [2]
 and a complex proposed workaround [3].

 [1]
 https://github.com/sugarlabs/sugar/blob/master/src/jarabe/journal/palettes.py#L345

 [2] https://bugzilla.gnome.org/buglist.cgi?quicksearch=menuitem+activate

 [3] http://stackoverflow.com/questions/5221326/submenu-item-does-not-call-
 function-with-working-solution
\
\
\

--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4709>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list