[Bugs] #2570 UNSP: gdk window obscured events no longer happen

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun Jan 30 08:14:41 EST 2011


#2570: gdk window obscured events no longer happen
------------------------------------------+---------------------------------
    Reporter:  dsd                        |          Owner:                             
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  0.90.x                     
    Severity:  Unspecified                |       Keywords:                             
Status_field:  Unconfirmed                |   Distribution:  Unspecified                
   Seeta_dev:                             |  
------------------------------------------+---------------------------------
 Somewhere after Sugar-0.84 (currently reproduced on 0.90.3), activities
 stopped receiving gtk.gdk.VISIBILITY_FULLY_OBSCURED events on their
 Activity objects when another activity is switched to or when the user
 changes to home/group/neighbourhood view.

 test case is something like:

 {{{
 self.add_events(gtk.gdk.VISIBILITY_NOTIFY_MASK)
 self.connect("visibility-notify-event", self._visibility_changed)

     def _visibility_changed(self, widget, event):
         print "VISIBILITY", event.state

 }}}

 On 0.84, you got a VISIBILITY_FULLY_OBSCURED event when switching to
 another view or activity. On 0.90, nothing.

 Record needs this to switch off the camera/microphone when the activity is
 no longer active.

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


More information about the Bugs mailing list