-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Hide console window by default on Windows #53884
Hide console window by default on Windows #53884
Conversation
26c76e1
to
cc61b82
Compare
This prevents issues with text selection causing the editor to freeze indefinitely until said selection is aborted. This also renames the setting to work in an affirmative manner ("show" instead of "hide").
cc61b82
to
4a60a1e
Compare
I agree with hiding the console by default, but isn't the linked issue about when it's open, regardless of the default state? |
It is, but it becomes much less of a concern if you have to toggle the console manually. The original issue is a Windows limitation; we can't fix it without disabling text selection, which would prevent copy-pasting. |
This is kind of nitpicking, but why not just manually close the issue honestly saying "we won't fix this"? Why use this trick to pretend it's solved? |
The original issue is still affecting users by default, which means it's far more likely to be encountered right now. By hiding the console by default, people won't encounter this issue nearly as often. |
I somewhat agree with the comment that this doesn't fix that issue (although it reduces the impact). But having the console window hidden by default is a good idea for a number of reasons, IMO, so I like this PR. I'll try to test and review soon. |
The issue can't be fixed, it's a Windows design choice. It's working as intended/not a bug. But our users experience it as a bug as it's crappy design, so a workaround is a proper fix (from Godot perspective) and the only one we can do. Edit: I spoke too fast, see below. |
Or well, maybe it can be fixed fully. The freeze happens due to the Windows 10+ "Quick Edit" feature of the console, which can apparently be disabled programmatically: |
Disabling quick edit apparently disallows text selection, which in turn disallows copy-pasting text from the console. This makes searching for errors online more difficult. |
Well, But we could also expose this as an option, defaulting to disabling Quick Edit but with an easy way to re-enable it (it's just a |
Superseded by #56012. |
This prevents issues with text selection causing the editor to freeze indefinitely until said selection is aborted. This also matches Blender's behavior where the system console is hidden bydefault.
This also renames the setting to work in an affirmative manner ("show" instead of "hide").
Testing is welcome, as I haven't tested this on a proper Windows setup yet.
This closes #34200.