Skip to content

BlEvent>>fillFromTime: can fail if the BlTime passed as argument is nil #733

@plantec

Description

@plantec

It can happen in case an element dispatch and event after it has been removed from its space.
The typical use case is a menu:

  • clicking on a menu item can close its parent window (which can be a BlElement)
  • clicking on a menu item can run some action comprising an event dispatching
  • If the menu item action is run after the menu window is closed, then the menu item space is nil during the event dispatching

BTW: one should not have to use #fillFromTime: in application code
a developper should not have to take care of this low level requirement

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions