Skip to content

[alarm/sched] Timer doesn't fire (or fires immediately) when enabling from list #3804

Closed
@Blockguy24

Description

@Blockguy24

Affected hardware version

Bangle 2

Your firmware version

2v25

The bug

Description

On the Bangle.js 2, a timer can be quickly enabled by pressing its icon or long pressing the item in the list. However, this causes some unexpected behaviour. Most of the time the timer never fires, but sometimes it fires immediately after enabling it this way.

Expected Behaviour

Enabling the timer via this shortcut should have the same effect as opening its menu and setting it to be Enabled.

Suspected cause

When enabling via the main menu, neither prepareTimerForSave (or prepareAlarmForSave for alarms) is called, so an old expiration time is used for the timer instead of it being updated when it is enabled.

Installed apps

  • alarm (0.50)
  • sched (0.31)
  • boot (0.65)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions