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

Window Resizing Issue When Moving to Another Screen on Windows #663

Open
jhq223 opened this issue Nov 22, 2024 · 3 comments
Open

Window Resizing Issue When Moving to Another Screen on Windows #663

jhq223 opened this issue Nov 22, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@jhq223
Copy link

jhq223 commented Nov 22, 2024

Description:

When launching the hello world program, it renders correctly on a single screen. However, when the program window is dragged to a second monitor on a Windows setup with multiple screens, the window size is abnormally enlarged.

use ribir::prelude::*;

fn main() {
    App::run(fn_widget! { @Text { text: "Hello World!" } });
}

Steps to Reproduce:

Launch the program on a Windows system with multiple monitors.
Observe the initial correct rendering on the first screen.
Drag the program window to another monitor.
Notice the abnormal enlargement of the program window.

Expected Behavior:

The program window should maintain its size and render correctly when moved to another screen, consistent with the appearance on the initial screen.

Actual Behavior:

The program window becomes abnormally enlarged when dragged to a secondary monitor.

Environment:

Operating System: Windows11
Screens: Two monitors
Program Version: ribir = "0.4.0-alpha.15"

Additional Context:

Provide any additional information that might be helpful in diagnosing the issue, such as screen resolutions, scaling settings, or any relevant hardware details.

@M-Adoo M-Adoo added the bug Something isn't working label Nov 23, 2024
@M-Adoo
Copy link
Collaborator

M-Adoo commented Nov 23, 2024

Thank you for the report. I would like to clarify whether the window size changed unexpectedly or if the content within the window size did not render as expected. Providing two screen snapshots would be helpful for further investigation.

@jhq223
Copy link
Author

jhq223 commented Nov 23, 2024

Please see the video below.

2024-11-23.12-58-23.mp4

@M-Adoo
Copy link
Collaborator

M-Adoo commented Nov 23, 2024

Thank you for your feedback. It appears that there is an issue with the window resizing. I apologize for not investigating this sooner, but I will prioritize resolving it before the 0.4 release.

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

No branches or pull requests

2 participants