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

Moving window for many monitor makes slow and uncontrolled #243

Open
uucokgis opened this issue Mar 5, 2020 · 0 comments
Open

Moving window for many monitor makes slow and uncontrolled #243

uucokgis opened this issue Mar 5, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@uucokgis
Copy link

uucokgis commented Mar 5, 2020

Description

Version / OS

  • azul version:
    azul 0.1.0

Steps to Reproduce

You need to have 2 monitors for testing
After adding dependency for azul with git url,
Copied these code which can be obtained from azul.rs:
`extern crate azul;

use azul::prelude::*;
use azul::window::WindowIcon;

struct MyDataModel { }

impl Layout for MyDataModel {
fn layout(&self, _: LayoutInfo) -> Dom {
Dom::div()
}
}

fn main() {
let mut app = App::new(MyDataModel { }, AppConfig::default()).unwrap();
let options = WindowCreateOptions::default();

let window = app.create_window(options, css::native()).unwrap();
app.run(window).unwrap();

}
`

After run the program, drag the window between 2 monitors. You'll realize that probably azul window is looking for resolution of the monitor and when you move it to another montior, it has been slowly and monitor size has changed.

@uucokgis uucokgis added the bug Something isn't working label Mar 5, 2020
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

1 participant