Ticket #1265 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Stop all animators while deleting palettes

Reported by: alsroot Owned by: alsroot
Priority: Unspecified by Maintainer Milestone: 0.86
Component: sugar-toolkit Version: Git as of bugdate
Severity: Unspecified Keywords: r+
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

Can't find 100% workflow to reproduce this bug but it fails from time to time with stack:

Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/sugar/graphics/animator.py", line 107, in _next_frame_cb
    animation.do_frame(current_time, self._duration, self._easing)
  File "/usr/lib64/python2.6/site-packages/sugar/graphics/animator.py", line 148, in do_frame
    self.next_frame(frame)
  File "/usr/lib64/python2.6/site-packages/sugar/graphics/palette.py", line 427, in next_frame
    self._palette.set_palette_state(Palette.SECONDARY)
  File "/usr/lib64/python2.6/site-packages/sugar/graphics/palettewindow.py", line 400, in set_palette_state
    self._set_palette_state(state)
  File "/usr/lib64/python2.6/site-packages/sugar/graphics/palette.py", line 360, in _set_palette_state
    self.menu.embed(self._menu_box)
AttributeError: 'NoneType' object has no attribute 'embed'

Attachments

sugar-1265.patch Download (1.3 KB) - added by alsroot 4 years ago.

Change History

Changed 4 years ago by alsroot

Changed 4 years ago by alsroot

  • summary changed from Hide all animators while deleting palettes to Stop all animators while deleting palettes

Changed 4 years ago by alsroot

  • keywords r? added

Changed 4 years ago by alsroot

  • milestone changed from Unspecified by Release Team to 0.86

Changed 4 years ago by tomeu

  • keywords r+ added; r? removed
  • owner changed from erikos to alsroot
  • status changed from new to assigned

Makes sense, thanks!

Changed 4 years ago by alsroot

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.