joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.66k stars 378 forks source link

Jumping main window #2388

Open gitowiec opened 3 years ago

gitowiec commented 3 years ago

Describe the bug Dosbox-x's main application window jumps to the center of the desktop when having my laptop connected to the external monitor.

To Reproduce Steps to reproduce the behavior:

  1. Go to the Video menu
  2. Click on the Scaler
  3. Choose Normal 3X or Normal 4X or whatever
  4. See the error

Expected behavior The application windows stay intact in the same position user set it.

Screenshots https://user-images.githubusercontent.com/1553195/111925529-8aefa780-8aa9-11eb-8e48-b65fb1dcdde6.mp4

Environment (please complete the following information):

Wengier commented 3 years ago

Without a windowposition= setting, DOSBox-X tries to center its window on the screen in such cases, and in your dual-screen setup DOSBox-X appears to move it windows towards the middle. Please try set the windowposition= option and see if it helps.