Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timer Pauses when dragging the window on Windows only #61

Open
Vadoola opened this issue Feb 7, 2024 · 3 comments
Open

Timer Pauses when dragging the window on Windows only #61

Vadoola opened this issue Feb 7, 2024 · 3 comments
Assignees
Labels
bug Something isn't working Upstream Windows
Milestone

Comments

@Vadoola
Copy link
Owner

Vadoola commented Feb 7, 2024

This was discovered while doing some investigation into Issue #52, and there are some notes there.It appears to be a separate unrelated issue, so I'm documenting it here.

Below are quotes from other Issue

Hmm I'll need to check on Linux but I just noticed on Windows that the timer pauses when I'm moving the window...I think this is probably a seoerate bug though....

Interesting the timer pausing while I'm moving the window doesn't happen with Linux/Wayland....What is going on? I'm not sure I'd these bugs are related or not.

@Vadoola Vadoola added the bug Something isn't working label Feb 7, 2024
@Vadoola Vadoola added this to the 1.0 milestone Feb 7, 2024
@Vadoola Vadoola self-assigned this Feb 7, 2024
@Vadoola Vadoola added the Windows label Mar 4, 2024
@Vadoola
Copy link
Owner Author

Vadoola commented Aug 2, 2024

Did (does) the timer stop on Windows using the original logic I had way back when using setposition()? I switched away from that because it didn't work on Wayland....but It might be worth looking into on Windows. If it works, I might need to considering doing some conditional compilation so the move logic is different on Windows and Linux....however the callbacks would be different and I can't do conditional compilation in Slint itself....which means I would have to do some duplication of logic here, and try to figure out how to call the right callback when the TouchArea mouse move is triggered.

First I need to figure out if this would even solve the problem on Windows.

@Vadoola
Copy link
Owner Author

Vadoola commented Aug 8, 2024

Looks like it's an upstream issue: slint-ui/slint#5720

@Vadoola
Copy link
Owner Author

Vadoola commented Aug 8, 2024

This appears to be an issue with winit: rust-windowing/winit#3272

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Upstream Windows
Projects
None yet
Development

No branches or pull requests

1 participant