#4873 closed defect (fixed)
busy cursor jams on after startup
Reported by: | quozl | Owned by: | |
---|---|---|---|
Priority: | Low | Milestone: | Unspecified |
Component: | Sugar | Version: | Unspecified |
Severity: | Minor | Keywords: | |
Cc: | Distribution/OS: | OLPC | |
Bug Status: | Assigned |
Description
On particularly slow hardware, the busy cursor may remain active after startup.
shell.log contains:
Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/jarabe/desktop/favoritesview.py", line 646, in __active_activity_changed_cb self._update() File "/usr/lib/python2.7/site-packages/jarabe/desktop/favoritesview.py", line 625, in _update self.get_window().set_cursor(None) AttributeError: 'NoneType' object has no attribute 'set_cursor'
Is probably related to Use busy cursor during launch.
Change History (5)
comment:1 Changed 8 years ago by godiard
comment:2 Changed 8 years ago by quozl
- Bug Status changed from Unconfirmed to Assigned
- Distribution/OS changed from Unspecified to OLPC
- Priority changed from Unspecified by Maintainer to Low
- Severity changed from Unspecified to Minor
Thanks. It was on an XO-1, first boot after install of 13.2.5, and I had clicked on the buddy icon to enter the control panel before the system had finished starting the journal activity. My guess is that the additional demand of rendering the buddy icon menu and showing the control panel may have been enough to cause the race.
The possible solution looks fine.
The severity is low, it can wait until 0.108.
comment:3 Changed 8 years ago by godiard
comment:4 Changed 8 years ago by Gonzalo Odiard
- Resolution set to fixed
- Status changed from new to closed
Delay reset home cursor at startup if window is not created - Fixes #4873
This patch delay the reset of the Clock cursor set at Sugar startup
until the window is created. The bug is probably originated by a
race condition and is difficult to reproduce.
Changeset: b91887eec2181cad23aa963e0cebb244fa101845
comment:5 Changed 8 years ago by quozl
- is in 0.107.0
I didn't find a way to reproduce the problem, testing on a XO-1
I tried removing .sugar, setting many activities as favorites or only two.
If you have a way to reliably reproduce this, would be good to know.
I have sent a pr with a possible solution to the problem https://github.com/sugarlabs/sugar/pull/553