If you have problems with the VM window title bar being off the screen

Support and general discussion.
Post Reply
NiagaraMike
Posts: 20
Joined: Sun 05 Mar, 2023 1:58 pm

If you have problems with the VM window title bar being off the screen

Post by NiagaraMike »

Sometimes when I go from full screen and back the window moves up slightly and it's not possible to shutdown the VM (EM?) using the normal title bar options. Subsequent VM sessions will result in the same problem. I found that editing the values for window_X and window_Y in the pcem.cfg file will correct the issue. 300 for each variable works for me. Deleting the pcem.cfg file will also give similar results but it seems sort of inelegant.
User avatar
leilei
Posts: 1039
Joined: Fri 25 Apr, 2014 4:47 pm

Re: If you have problems with the VM window title bar being off the screen

Post by leilei »

Having the window set to be resizable helps, because then it'll nudge the window downward when you do.
on modern watered down versions of Windows, you'll have to shift-rightclick on PCem in the task bar to access the move window feature.
eddman
Posts: 74
Joined: Wed 09 Feb, 2022 9:30 am

Re: If you have problems with the VM window title bar being off the screen

Post by eddman »

It's a known issue and has been fixed in the vNext builds.

https://github.com/sarah-walker-pcem/pcem/issues/47
https://github.com/sarah-walker-pcem/pcem/pull/144

Unfortunately vNext is quite slower than v17, so I can't switch yet.
NiagaraMike
Posts: 20
Joined: Sun 05 Mar, 2023 1:58 pm

Re: If you have problems with the VM window title bar being off the screen

Post by NiagaraMike »

I tried the shift right click but you can't move the window unless you click on the window title bar. This is with Win10. My window is set to resizable. Also something odd happens occasionally, when I start my win95 machine it opens with a very small window. About 1/6th of the title bar is all I see. Resizing it works. Remember size and position is checked. Can the settings on other VM's effect each other?
User avatar
Arjen42
Posts: 131
Joined: Fri 11 Jun, 2021 3:15 pm

Re: If you have problems with the VM window title bar being off the screen

Post by Arjen42 »

Another way to move a window:
  • Press Alt+Space (May not work if keyboard input is captured)
  • Press M (for Move, if your Windows language is not English this may be a different key)
  • Press any arrow key (Up, Down, Left, or Right)
  • Move the window with the mouse
  • Press Left Mouse Button to stop moving the window
harrison98
Posts: 51
Joined: Sat 21 Jan, 2023 12:23 am

Re: If you have problems with the VM window title bar being off the screen

Post by harrison98 »

Arjen42 wrote: Thu 16 Mar, 2023 6:52 am Another way to move a window:
  • Press Alt+Space (May not work if keyboard input is captured)
  • Press M (for Move, if your Windows language is not English this may be a different key)
  • Press any arrow key (Up, Down, Left, or Right)
  • Move the window with the mouse
  • Press Left Mouse Button to stop moving the window
Wow - never knew you could use the arrow keys to move the window like that. Awesome.
eddman
Posts: 74
Joined: Wed 09 Feb, 2022 9:30 am

Re: If you have problems with the VM window title bar being off the screen

Post by eddman »

NiagaraMike wrote: Wed 15 Mar, 2023 10:07 pm I tried the shift right click but you can't move the window unless you click on the window title bar. This is with Win10.
After you select "Move" from the menu, don't click again or press any other buttons. Just move the window with the arrow keys and then press enter.
NiagaraMike wrote: Wed 15 Mar, 2023 10:07 pmMy window is set to resizable.
Set the window to a custom size. I usually go with the same size that I set for the guest machine's desktop resolution, which is 1280x960 for Voodoo 3/Banshee and 1024x768 for the rest.

Every time you start a guest machine, make sure to drag the window as low as possible, so that the next time it moves up, it won't go beyond bounds.

Also, every time you go to fullscreen and then back, the window gets taller, so make sure to set the window size to custom again, to resize it back to the selected dimensions.
Last edited by eddman on Thu 16 Mar, 2023 11:53 am, edited 1 time in total.
NiagaraMike
Posts: 20
Joined: Sun 05 Mar, 2023 1:58 pm

Re: If you have problems with the VM window title bar being off the screen

Post by NiagaraMike »

That arrow key is something I need to remember.

1:1 size is something I'll try.

Thanks for the input everyone!
Post Reply