iced icon indicating copy to clipboard operation
iced copied to clipboard

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

Open botiapa opened this issue 1 month ago • 2 comments

Is your issue REALLY a bug?

  • [x] My issue is indeed a bug!
  • [x] 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?

  • [x] I have searched the existing issues.

Is this issue related to iced?

  • [x] 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):

https://github.com/user-attachments/assets/4e19065b-409b-4cbe-b49a-4fab02fd7ac4

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?


botiapa avatar Nov 07 '25 20:11 botiapa

I am here to ask about the window. What did you use for that popup window? It's so elegant and nice, I searched so much about something similar.

jomaro110 avatar Nov 19 '25 08:11 jomaro110

I am here to ask about the window. What did you use for that popup window? It's so elegant and nice, I searched so much about something similar.

I'm not sure what you mean, this is just a simple window, the code is linked in my issue. Please use other forums (like discord) for questions like this.

botiapa avatar Nov 19 '25 16:11 botiapa