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 stuck on GUI menus with SDL1 and videodriver=directx #5384

Open
2 tasks done
zosite opened this issue Jan 8, 2025 · 0 comments
Open
2 tasks done

Mouse cursor stuck on GUI menus with SDL1 and videodriver=directx #5384

zosite opened this issue Jan 8, 2025 · 0 comments
Labels

Comments

@zosite
Copy link

zosite commented Jan 8, 2025

Describe the bug

On some GUI menus like the selection of an image file to mount or selection of shader to use mouse cursor gets stuck completely though mouse buttons still work. You need to ESCape the menu window in order for cursor to be released. Note that this only happens when the mouse cursor happens to be over DOSBox-X window when the selection menu window shows up; if cursor manages to be outside the DOSBox-X window when the menu shows up mouse cursor can move freely.

This happens on SDL1 versions only and only when SDL videodriver is set as "directx"; videodriver "windib" doesn't show this behaviour.

Steps to reproduce the behaviour

  1. Either set SDL_VIDEODRIVER=directx environment variable (Windows) or set "videodriver=directx" on dosbox-x.conf
  2. Start DOSBox-X
  3. Make sure DOSBox-X window size is big enough for all GUI menus to be displayed over it.
  4. Go to menu "Drive->[LETTER]->Mount a disk or CD image file"
  5. Selection menu is displayed and mouse cursor gets frozen; mouse buttons still work but you need to ESCape

Expected behavior

Mouse cursor should work in those menus as it does with SDL2 or other "videodriver" choices.

What operating system(s) this bug have occurred on?

Windows XP SP3, Windows 7 Ultimate SP1

What version(s) of DOSBox-X have this bug?

Last 5 official releases at least.

Used configuration

Default configuration, however...

SDL_VIDEODRIVER = directx (environment variable)
or...
videodriver=directx (dosbox-x.conf)

Output log

No specific logs for this issue

Additional information

No response

Have you checked that no similar bug report(s) exist?

  • I have searched and didn't find any similar bug report.

Code of Conduct & Contributing Guidelines

  • I agree to follow the code of conduct and the contributing guidelines.
@zosite zosite added the bug label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant