[Bugs] #3810 sugar UNSP: Trying to open the Journal the first time does not work
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Fri Aug 17 06:14:59 EDT 2012
#3810: Trying to open the Journal the first time does not work
------------------------------------------+---------------------------------
Reporter: erikos | Owner: erikos
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: 0.98
Component: sugar | Version: 0.97.x
Severity: Blocker | Keywords: nohippo
Distribution: OLPC | Status_field: Assigned
------------------------------------------+---------------------------------
Comment(by erikos):
Looking at the 'window-state-event' we get in the JournalActivity we first
get a maximize event and then a second one which iconifies again.
{{{
1345198322.465396 DEBUG root: window_state_event_cb new_state=<flags
GDK_WINDOW_STATE_ICONIFIED | GDK_WINDOW_STATE_MAXIMIZED of type
GdkWindowState> changed-mask=<flags GDK_WINDOW_STATE_MAXIMIZED of type
GdkWindowState>
1345198322.466413 DEBUG root: window_state_event_cb new_state=<flags
GDK_WINDOW_STATE_MAXIMIZED of type GdkWindowState> changed-mask=<flags
GDK_WINDOW_STATE_ICONIFIED of type GdkWindowState>
1345198322.468571 DEBUG root: window_state_event_cb visible=True [(<frame
object at 0x9ab6f2c>, '/home/erikos/sugar-build/install/lib/python2.7
/site-packages/jarabe/journal/journalactivity.py', 327,
'__window_state_event_cb', ["
logging.debug('window_state_event_cb visible=%r %s', visible,
inspect.stack())\n"], 0), (<frame object at 0x8e23674>, '/home/erikos
/sugar-build/install/bin/sugar-session', 277, 'main', ['
gtk.main()\n'], 0), (<frame object at 0x8b277dc>, '/home/erikos/sugar-
build/install/bin/sugar-session', 293, '<module>', ['main()\n'], 0)]
1345198322.469575 DEBUG root: visibility_notify_event_cb visible=True
1345198322.470572 DEBUG root: visibility_notify_event_cb visible=True
1345198322.470704 DEBUG root: visibility_notify_event_cb visible=True
1345198322.473049 DEBUG root: window_state_event_cb new_state=<flags
GDK_WINDOW_STATE_ICONIFIED | GDK_WINDOW_STATE_MAXIMIZED of type
GdkWindowState> changed-mask=<flags GDK_WINDOW_STATE_ICONIFIED of type
GdkWindowState>
1345198322.473495 DEBUG root: window_state_event_cb visible=False [(<frame
object at 0x9ab6f2c>, '/home/erikos/sugar-build/install/lib/python2.7
/site-packages/jarabe/journal/journalactivity.py', 327,
'__window_state_event_cb', ["
logging.debug('window_state_event_cb visible=%r %s', visible,
inspect.stack())\n"], 0), (<frame object at 0x8e23674>, '/home/erikos
/sugar-build/install/bin/sugar-session', 277, 'main', ['
gtk.main()\n'], 0), (<frame object at 0x8b277dc>, '/home/erikos/sugar-
build/install/bin/sugar-session', 293, '<module>', ['main()\n'], 0)]
1345198322.473619 DEBUG root: canvas_visibility_notify_event_cb False
}}}
Next is to find out where the iconify event is coming from.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/3810#comment:3>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list