Opened 10 years ago

Closed 10 years ago

Last modified 6 years ago

#1265 closed defect (fixed)

Stop all animators while deleting palettes

Reported by: alsroot Owned by: alsroot
Priority: Unspecified by Maintainer Milestone:
Component: Sugar 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 (1)

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

Download all attachments as: .zip

Change History (8)

Changed 10 years ago by alsroot

comment:1 Changed 10 years ago by alsroot

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

comment:2 Changed 10 years ago by alsroot

  • Keywords r? added

comment:3 Changed 10 years ago by alsroot

  • Milestone changed from Unspecified by Release Team to 0.86

comment:4 Changed 10 years ago by tomeu

  • Keywords r+ added; r? removed
  • Owner changed from erikos to alsroot
  • Status changed from new to assigned

Makes sense, thanks!

comment:6 Changed 6 years ago by dnarvaez

  • Component changed from sugar-toolkit to Sugar

comment:7 Changed 6 years ago by dnarvaez

  • Milestone 0.86 deleted

Milestone 0.86 deleted

Note: See TracTickets for help on using tickets.