Skip to content

Bug: WebView Preview does not update preview size when "keep page loaded" option is selected #103

Closed

Description

@Majumafoo

The Bug
WebView Preview does not load when "keep page loaded in background" option is selected.

To Reproduce
Intended Behaviour

  1. Open Configuration -> Tray Icon
  2. Input relevant URL
  3. Select 'show webview'
  4. Deselect 'keep page loaded in the background'
  5. Change size of WebView
  6. Press 'show preview'
  7. Observe change in preview.

Unintended Behaviour -see screenshot of config

  1. Open Configuration -> Tray Icon
  2. Input relevant URL
  3. Select 'show webview'
  4. Select 'keep page loaded in the background'
  5. Change size of WebView
  6. Press 'show preview'
  7. Observe no change.
    config

Expected Behavior
I expect the preview to change size in the same way regardless of if "keep page loaded..." is selected


Machine Info
winver


More Info:

  • Installed via installer
  • Installed manually
  • Problem occurs in HASS.Agent
  • Problem occurs in Satellite Service

Activity

  1. LAB02-Admin commented on Jun 29, 2022

    @LAB02-Admin
    Member

    Hey @Majumafoo,

    I think this is a problem with the preview button. Can you please confirm this by resizing the webview, then restarting HASS.Agent and see if it correctly remembered the position? After the restart, the preview button should work as well for the new position.

    hassagent-115

  2. self-assigned this
    on Jun 29, 2022
  3. Majumafoo commented on Jun 29, 2022

    @Majumafoo
    Author

    Thanks for the reply!

    I can confirm that when I restart HAAS.Agent, the preview changes are remembered and applied correctly.
    To see them, however, a restart is required, which I believe is unintentional.

  4. LAB02-Admin commented on Jun 30, 2022

    @LAB02-Admin
    Member

    which I believe is unintentional.

    And you are right :) Will fix, thanks for confirming

  5. LAB02-Admin commented on Aug 12, 2022

    @LAB02-Admin
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions