Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#1373 closed defect (fixed)

Suppress race condition with Journal appearing on sugar startup

Reported by: alsroot Owned by: tomeu
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Sugar Version: 0.84.x
Severity: Unspecified Keywords: r+ olpc-0.84
Cc: quidam Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

Can't find 100% way to reproduce it in 0.86 but some time Journal's window doesn't appear in activity list.

In my mind in 0.84 we have the same issue when after sugar startup top window was Journal and not Home view.

In my mind problem code is gobject.idle_add(setup_journal_cb) in sugar-session and active-window-changed callback when sugar switch zoom level to ZOOM_ACTIVITY in _update_zoom_level().

Attachments (1)

sugar-1373.patch (4.9 KB) - added by alsroot 12 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 12 years ago by alsroot

Looks like we can suppress this issue in 0.84 just by updating matchbox-window-manager(at least it works for me). So, I'm uploading new matchbox-window-manager to trisquel-edu ppa.

comment:2 follow-up: Changed 12 years ago by tomeu

But it also happens with metacity, right?

comment:3 in reply to: ↑ 2 Changed 12 years ago by alsroot

Replying to tomeu:

But it also happens with metacity, right?

yup, from time to time Journal's window doesn't appear in activity list

comment:4 Changed 12 years ago by alsroot

  • Keywords r? added

comment:5 Changed 12 years ago by alsroot

The core idea is opening sugar windows after WM startup.

comment:6 Changed 12 years ago by tomeu

  • Keywords r+ added; r? removed

It looks like a great idea to me. Only concern is that we should check that startup on the XO-1 is not slower, though by the looks of it I think it could be even faster.

Changed 12 years ago by alsroot

comment:8 Changed 11 years ago by alsroot

  • Keywords olpc-0.84 added
Note: See TracTickets for help on using tickets.