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

Mouse cursor doesn't reappear when alt-tabbing. #3267

Closed
DorpsGek opened this issue Oct 14, 2009 · 4 comments
Closed

Mouse cursor doesn't reappear when alt-tabbing. #3267

DorpsGek opened this issue Oct 14, 2009 · 4 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Rhamphoryncus opened the ticket and wrote:

  1. Start OpenTTD in windowed mode. Move the cursor out of the window so that it switches to the normal desktop cursor.
  2. alt-tab so that another window covers the OpenTTD window.
  3. Move mouse cursor back over where the OpenTTD window would be.
  4. alt-tab so that OpenTTD is once again on top and focused.

At that point there is no visible cursor, although the game continues to respond to it fine. Moving it outside the window and back in again fixes it.

Reported version: trunk
Operating system: Linux


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

SmatZ wrote:

Does it happen also with Allegro? (./openttd -v allegro , you may need to recompile OTTD with --with-allegro )


This comment was imported from FlySpray: https://bugs.openttd.org/task/3267#comment6819

@DorpsGek
Copy link
Member Author

Rhamphoryncus wrote:

Allegro doesn't hide the cursor in step 1, when moving out of the window.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3267#comment6820

@DorpsGek
Copy link
Member Author

Rubidium wrote:

This problem is reproducable on Debian with XFCE. It is not reproducable on Gentoo with KDE (3.5/4.3). As such the bug is not in OpenTTD but in either libsdl, the window manager or the combination of libsdl and the window manager.

What basically happens (from OpenTTD's point of view) is that libsdl doesn't tell that the mouse entered the window. As such OpenTTD isn't aware of that and it won't draw the mouse.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3267#comment6821

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Won't fix

It's a bug in the SDL library or it's interaction with the window manager. Nothing we can do about.


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

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

No branches or pull requests

1 participant