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

Clicking new scene from "Scene" popup menu opens 2 new scene tabs #37988

Closed
EricEzaM opened this issue Apr 18, 2020 · 2 comments
Closed

Clicking new scene from "Scene" popup menu opens 2 new scene tabs #37988

EricEzaM opened this issue Apr 18, 2020 · 2 comments

Comments

@EricEzaM
Copy link
Contributor

EricEzaM commented Apr 18, 2020

Godot version:
Godot Engine v4.0.dev.custom_build.d817be92c
Does NOT occur on 3.2 Stable

OS/device including version:
Win 10 1903

Issue description:
Scene > New Scene opens 2 scene tabs, not one (2 new scenes are created)

Steps to reproduce:
As above.

Minimal reproduction project:
N/A

Via breakpoints I have seen that

Ref<InputEventMouseButton> b = p_event;
if (b.is_valid()) {
if (b->is_pressed())
return;
int button_idx = b->get_button_index();
switch (button_idx) {

Is reached twice, both with pressed = false.
Through some print strings at:

void Window::_window_input(const Ref<InputEvent> &p_ev) {

The mouse up (pressed = false) event is being fired twice.

image

I think this issue is beyond my knowledge at this stage.

@KoBeWi
Copy link
Member

KoBeWi commented Apr 18, 2020

Could be related to #37331 (and thus will fixed by the same PR)

@akien-mga
Copy link
Member

Assuming fixed by #37519 as mentioned by @KoBeWi. Please comment if you can still reproduce it.

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

No branches or pull requests

4 participants