Skip to content

UI state not updated properly with automatic focus mode switching #8

@roefer

Description

@roefer

WidgetToggler is a very useful tool. I use it together with a focus mode that is activated based on a fixed schedule.

However, I recognized that while the desktop widgets are shown and hidden as they should be, WidgetToggler's user interface does not update correctly. After the widgets were shown again, WidgetToggler's menu bar icon is still in the "hidden" state and the menu contains the item "Show Widgets".

Switching works correctly when I manually activate and deactivate the focus mode, but it does not if the focus mode is deactivated automatically.

Steps to reproduce:

  • Add a focus mode that controls WidgetToggler
  • Add a schedule to the mode that, e.g., activates the mode for one minute in the near future.
  • Wait until the focus mode was activated (widgets disappear) and deactivated again (widgets re-appear)
  • Result: WidgetToggler shows the wrong menu bar icon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions