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

Buttons could not be interacted with while dragging window on Windows #1215

Closed
feelingnothing opened this issue Feb 6, 2022 · 2 comments
Closed
Labels
bug Something is broken

Comments

@feelingnothing
Copy link

Screenshots
result

Desktop (please complete the following information):

  • OS: Windows 10 21H1

Additional context

if egui::TopBottomPanel::new(TopBottomSide::Top, "title").show(&ctx, |ui| {
    ui.horizontal(|ui| {
        ui.label("test");
        ui.with_layout(Layout::right_to_left(), |ui| {
            if ui.button("X").interact(Sense::click()).clicked() {
                std::process::exit(0);
            };
        })
    });
}).response.interact(Sense::click_and_drag()).dragged() {
    _frame.drag_window();
};
egui::CentralPanel::default().show(&ctx, |ui| {
    if ui.button("text2").clicked() {
        println!("123");
    }
});
@feelingnothing feelingnothing added the bug Something is broken label Feb 6, 2022
@feelingnothing feelingnothing changed the title Buttons could not be interacted with while dragging window on windows Buttons could not be interacted with while dragging window on Windows Feb 6, 2022
@emilk
Copy link
Owner

emilk commented Feb 10, 2022

I think this was fixed in #1108 - please test latest master and if the problem persists we will reopen this issue

@emilk emilk closed this as completed Feb 10, 2022
@feelingnothing
Copy link
Author

Problem persistent on 6962629

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

No branches or pull requests

2 participants