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

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Jun 30 10:07:58 EDT 2011


#2570: gdk window obscured events no longer happen
------------------------------------------+---------------------------------
    Reporter:  dsd                        |          Owner:  erikos                     
        Type:  defect                     |         Status:  assigned                   
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  0.90.x                     
    Severity:  Unspecified                |       Keywords:  11.2.0                     
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------

Comment(by manuq):

 I tested the callback code above in the HelloWorld activity.

 It seems that the callback is not called until the activity is closed.
 Watching the log of the activity, print is not called while changing
 activities.  After closing the, all the prints are at the bottom of the
 log.

 I got the following prints in the log: GDK_VISIBILITY_PARTIAL when the
 frame got visible, GDK_VISIBILITY_FULLY_OBSCURED when another activity got
 selected, and GDK_VISIBILITY_UNOBSCURED when the helloworld activity got
 selected back.


 {{{
 1309389746.771466 DEBUG root: Quitting the activity process.
 1309389746.775499 DEBUG root: _cleanup_temp_files
 VISIBILITY <enum GDK_VISIBILITY_PARTIAL of type GdkVisibilityState>
 VISIBILITY <enum GDK_VISIBILITY_FULLY_OBSCURED of type GdkVisibilityState>
 VISIBILITY <enum GDK_VISIBILITY_PARTIAL of type GdkVisibilityState>
 VISIBILITY <enum GDK_VISIBILITY_UNOBSCURED of type GdkVisibilityState>
 VISIBILITY <enum GDK_VISIBILITY_PARTIAL of type GdkVisibilityState>
 VISIBILITY <enum GDK_VISIBILITY_FULLY_OBSCURED of type GdkVisibilityState>
 VISIBILITY <enum GDK_VISIBILITY_UNOBSCURED of type GdkVisibilityState>
 VISIBILITY <enum GDK_VISIBILITY_PARTIAL of type GdkVisibilityState>
 VISIBILITY <enum GDK_VISIBILITY_UNOBSCURED of type GdkVisibilityState>
 VISIBILITY <enum GDK_VISIBILITY_PARTIAL of type GdkVisibilityState>
 Exited with status 0, pid 3175 data (None, <open file '<fdopen>', mode 'w'
 at 0x9fdee38>, 'fa249d2510e76af66f220fe1a5243b307e95cf1f')

 }}}

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


More information about the Bugs mailing list