Skip to content

Home screen shows Rule Mode after starting the service even when persistent Override mode is set to Global Mode #239

@lihenggui

Description

@lihenggui

Summary

Home screen briefly shows Rule Mode after starting the service even when persistent Override mode is set to Global Mode. The mode updates to Global Mode only after opening the Proxy page and returning to Home.

Steps to Reproduce

  1. Go to Settings -> Override.
  2. Set Mode to Global Mode.
  3. Leave the Override page so the setting is persisted.
  4. Stop the service if it is running.
  5. Start the service from the Home screen.
  6. Observe the Home screen mode label.
  7. Open the Proxy page from Home, then return to Home.

Actual Behavior

After starting the service, Home initially shows Rule Mode.

After entering the Proxy page and returning to Home, the Home screen updates and shows Global Mode.

Expected Behavior

Home should not show the default Rule Mode after service start when persistent Override mode is Global Mode.

It should either:

  • wait until the profile/configuration has finished loading before displaying the mode, or
  • refresh the displayed mode after ProfileLoaded / configuration load completes.

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