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

Flickering editor window focus due to system console #41328

Closed
KoBeWi opened this issue Aug 17, 2020 · 10 comments · Fixed by #41332
Closed

Flickering editor window focus due to system console #41328

KoBeWi opened this issue Aug 17, 2020 · 10 comments · Fixed by #41332

Comments

@KoBeWi
Copy link
Member

KoBeWi commented Aug 17, 2020

Godot version:

a17fba3

OS/device including version:

Windows 10

Issue description:

When you open a project, the editor window will lose focus every second for a brief moment. A console window appears stealing the focus, but it disappears immediately and editor is focused again. It can be fixed after toggling System Console option twice, but after restarting it happens again.

@akien-mga
Copy link
Member

Related to #41307 and #41325 I guess.

@bruvzg
Copy link
Member

bruvzg commented Aug 17, 2020

Can't reproduce it, and have no idea why it can do something like this.

I guess it's better to revert #41164 and use build option instead.

@AlphaOneProject
Copy link
Contributor

I can reproduce this bug with ba1109a on Windows 10.
Here is a Gif so you can see for yourself the loss of focus:
Flickering editor window focus due to system console
I hope it helped you :D

@pouleyKetchoupp
Copy link
Contributor

I can reproduce this issue again in 377c3bb (Windows 10, debug).

There's no workaround this time as it's not possible to disable the console anymore (even when reverting #42065, the toggle console option doesn't have any effect).

@KoBeWi
Copy link
Member Author

KoBeWi commented Sep 18, 2020

@pouleyKetchoupp I noticed it works fine if you do console build (default is GUI).

@bruvzg
Copy link
Member

bruvzg commented Sep 18, 2020

I can reproduce this issue again in 377c3bb (Windows 10, debug).
There's no workaround this time as it's not possible to disable the console anymore (even when reverting #42065, the toggle console option doesn't have any effect).

That's strange, then #41164 was probably fine and editor have issues with gui mode for some other reason.

@pouleyKetchoupp
Copy link
Contributor

@bruvzg Yep, I'm puzzled too. I'm not sure if it's still the same exact problem, but I had it working correctly by reverting #41164 at some point, with the default options in debug.

@akien-mga
Copy link
Member

Is this still reproducible? Can we give #41164 another try if it was not the cause for this bug?

@KoBeWi
Copy link
Member Author

KoBeWi commented Jan 6, 2021

Doesn't seem to be happening in 43fa911, tried with GUI build.

@KoBeWi KoBeWi closed this as completed Jan 6, 2021
@pouleyKetchoupp
Copy link
Contributor

@akien-mga I tried #41164 again on latest master, and I can't reproduce the flickering issue, although "Toggle System Console" doesn't disable the console (it works ok on master without the PR changes).

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

Successfully merging a pull request may close this issue.

5 participants