WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

When using Always-on-top multi-windows, the original window stops updating #3108

@botiapa

Description

@botiapa

Is your issue REALLY a bug?

  • My issue is indeed a bug!
  • I am not crazy! I will not fill out this form just to ask a question or request a feature. Pinky promise.

Is there an existing issue for this?

  • I have searched the existing issues.

Is this issue related to iced?

  • My hardware is compatible and my graphics drivers are up-to-date.

What happened?

In the following very specific scenario, the original window stops getting render updates:

  • Create two windows, one with Settings::Default(), other with the level set to AlwaysOnTop, AND
  • Have a subscription to iced::window::frames()

Once the second window closes the first one continues rendering as normal. Until then, it receives updates and the state is getting updated, but not the view. (Even though the view function is getting called normally.

Minimal reproducible example:
https://gist.github.com/botiapa/0952fb60e98add327f7918f6aea72573

Short video showcasing the issue (ignore the flickering at the start):

multi_window_bug.mp4

What is the expected behavior?

The AlwaysOnTop window should not block the rendering of the original window.

Version

master

Operating System

Windows

Do you have any log output?

Metadata

Metadata

Assignees

No one assigned

    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