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

Go out from fullscreen mode make any input area (console, rename vehicle, etc.) doesn't work. #5580

Closed
DorpsGek opened this issue Jun 3, 2013 · 3 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Jun 3, 2013

matematikaadit opened the ticket and wrote:

How to Reproduce this Bug:

  1. Open OpenTTD.
  2. If in fullscreen mode, turn off fullscreen. If in windowed mode, turn on fullscreen.
  3. Type in any character in any input area, for example:
    Open Advance setting, and start typing in Filter string input box.

Desired result: the character we type should show up in the input box.
What actually happen: the character doesn't show up.

Output of terminal when executing ./openttd and doing step above:

adit@dell ~/D/openttd-trunk-r25316-linux-generic-i686> ./openttd 
dbg: [grf] OpenTTD GUI graphics sprites are missing
dbg: [driver] SDL: Restarting SDL video subsystem, to force hwpalette change

Reported version: 1.3.1
Operating system: Linux


This issue was imported from FlySpray: https://bugs.openttd.org/task/5580
@DorpsGek
Copy link
Member Author

DorpsGek commented Jun 3, 2013

matthijs wrote:

Turns nout that if you restart the video subsystem, the keyboard initialization needs to be done again as well. This of course makes sense, though I didn't realize the video subsystem contains the keyboard stuff as well when I wrote the restarting code.

In any case, could you try if the attached fix also works for you?

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5580#comment12271

@DorpsGek
Copy link
Member Author

DorpsGek commented Jun 3, 2013

matthijs wrote:

w00ps, made a typo in the patch. Here's the proper version.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5580#comment12272

@DorpsGek
Copy link
Member Author

DorpsGek commented Jun 4, 2013

matthijs closed the ticket.

Reason for closing: Fixed

Fixed in r25318.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5580

@DorpsGek DorpsGek closed this as completed Jun 4, 2013
@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant