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

Fullscreen OpenTTD cannot be alt-tabbed back into #8775

Closed
2TallTyler opened this issue Mar 1, 2021 · 5 comments
Closed

Fullscreen OpenTTD cannot be alt-tabbed back into #8775

2TallTyler opened this issue Mar 1, 2021 · 5 comments
Labels
bug component: OpenGL needs triage

Comments

@2TallTyler
Copy link
Member

@2TallTyler 2TallTyler commented Mar 1, 2021

Version of OpenTTD

1.11.0-beta2
(I have not bisected to find when this started, but it works fine in 1.10.3)

Expected result

On Windows 10: When running OpenTTD in fullscreen mode and having alt-tabbed to another window, it is possible to alt-tab back to OpenTTD.

Actual result

Alt-tabbing back to OpenTTD does not show the OpenTTD window.

Steps to reproduce

Put OpenTTD into fullscreen mode on Windows 10, alt-tab to another window, and then attempt to alt-tab back.

@TrueBrain TrueBrain added bug needs triage labels Mar 1, 2021
@TrueBrain
Copy link
Member

@TrueBrain TrueBrain commented Mar 1, 2021

Confirmed, only happens with OpenGL.

Who plays FullScreen in this day and age?! :P

@TrueBrain TrueBrain changed the title Fullscreen OpenTTD cannot be alt-tabbed back into [OpenGL] Fullscreen OpenTTD cannot be alt-tabbed back into Mar 1, 2021
@TrueBrain TrueBrain changed the title [OpenGL] Fullscreen OpenTTD cannot be alt-tabbed back into Fullscreen OpenTTD cannot be alt-tabbed back into Mar 1, 2021
@decitrig
Copy link

@decitrig decitrig commented Mar 1, 2021

I just experienced this as well. Crash information attached.

openttd_crash.zip

@James103
Copy link
Contributor

@James103 James103 commented Mar 1, 2021

@decitrig Did you reproduce this crash simply by alt-tabbing back to OpenTTD when it is in fullscreen? If now, how did you get the crash?

@decitrig
Copy link

@decitrig decitrig commented Mar 1, 2021

Yes, sorry for being unclear. The crash happened just by alt-tabbing back into a fullscreen OpenTTD. The crash did not happen with a windowed OpenTTD.

Let me know if you need more info.

@James103
Copy link
Contributor

@James103 James103 commented Mar 1, 2021

Doing the following reproduces the issue but allows you to get back into windowed mode:

  1. Start OpenTTD in windowed mode.
  2. Alt-Enter to make OpenTTD fullscreen.
  3. Alt-Tab out of OpenTTD.
  4. Alt-Tab back to OpenTTD. The OpenTTD window does not actually get focused.
  5. Alt-Enter to exit fullscreen for OpenTTD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug component: OpenGL needs triage
Projects
None yet
Development

No branches or pull requests

4 participants