Mac OS X: Mouse click don't always register when windowed
|Reported by:||SF/fds-||Owned by:||fingolfin|
|Priority:||high||Component:||Port: Mac OS X|
The problem occurs with ScummVM 0.6.0pre (built on Feb 15 2004 12:54:39), "official" snapshot. I'm running Mac OS X 10.3.2 with an ATI Mobility 9000 (32 MB) card.
It seems some kind of bounding box doesn't always get reset correctly. The problem looks like this: whenever you move your mouse to a position outside this "bounding box," both the game's cursor and the default Mac OS X cursor is shown. If then you try to click with your mouse, nothing happens. As workaround #1 you can still press Enter on the keyboard which keeps on working even in this case.
Workaround #2: switch to full-screen (where things are normal) then switch back and the whole window is still nicely clickable.
The problem is triggered by non-300x200 games and/or magnification.
As I understand, 2x magnification is the default. ZAK FMTOWNS for example by default starts in a 640x502 window (borders and title bar included) and while the upper three inventory slots are clickable, rows four and five are already outside of this certain bounding box and are not, unless you use one of the two workarounds I described above. (You can also lower the magnification with Ctrl-Alt-minus and the whole of the tiny window will be clickable.)
This problem doesn't by default happen with 320x200 games such as Indy4 PC, DOTT PC or SamNMax PC, but can still be triggered by pressing Ctrl-Alt-= and thus switching to 3x magnification.
This is a recent problem as earlier snapshots (certain copies of 0.5.7cvs) behaved rather differently. It was quite challenging to move the mouse cursor outside and back inside the ScummVM window but when you finally managed to get the mouse cursor correctly visible and working in the window you wanted, the problem I described above didn't happen. I very much prefer the current behavior which lets you seamlessly move the mouse cursor in and out of ScummVM windows on Mac OS X.
Ticket imported from: #897979. Ticket imported from: bugs/1463.