FunkyFr3sh / cnc-ddraw

GDI, OpenGL and Direct3D 9 re-implementation of the DirectDraw API for classic 2D games for better compatibility with Windows 2000, XP, Vista, 7, 8, 10, 11, Wine (Linux/macOS/Android) and Virtual Machines
https://discord.gg/afWXJNDDF5
MIT License
2.12k stars 143 forks source link

Cursor Loses Focus/Lock on Scroll Bar in early Nancy Drew Games #317

Closed indianajson closed 1 month ago

indianajson commented 1 month ago

In the same game from #311 (Nancy Drew: Message in a Haunted Mansion), when the player is in a conversation with a character a scroll bar is available to move the text in the dialog box. If the scroll bar is clicked two issues occur, (1) the computer's cursor becomes visible (tracked on top the game cursor) until the game is restarted and (2) the scroll bar tends to jump down to the bottom once this happens instead of stopping wherever the player releases the scroll bar.

Obviously, this isn't a game breaking bug, but it is hard to play while seeing both the computer's cursor and the game cursor, plus the scroll bar jumping is annoying. If this is something that might be fixable I would sure appreciate it.

This issue does occur with cnc-ddraw 6.5 and exists in other early Nancy Drew games. After a bit more testing it seems to be... inconsistent. I got it to occur on two different games, but then it stopped happening. I'm curious if it happens to you or if this is isolated to me.

Here is a save file right in front of a character with dialogue available for testing: NANSTD2.SAV.zip

FunkyFr3sh commented 1 month ago

Can't check right now because I recently reset all my virtual machines and lost all the games I had. I usually get them from archive.org but it has been down or very very slow for days

indianajson commented 1 month ago

Yes, I've been having issues with Internet Archive too, the Memorial Day weekend means their staff is mostly out of the office, so I wouldn't be surprised if it's choppy until tomorrow.

FunkyFr3sh commented 1 month ago

Am I doing this correctly here? Tried on windows+linux and couldn't reproduce it

https://github.com/FunkyFr3sh/cnc-ddraw/assets/8355237/c1f919c9-10b3-4d27-9355-1b87a4e011fe

How do you mount a iso on macOS? Either i'm doing something wrong or it just doesn't like this very .iso

Also, what wine version are you using?

indianajson commented 1 month ago

You are doing it right... but I just went and tried it again using the same save file and can't reproduce it for the life of me. Ugh. I have to assume it's my own error or my computer. It happened with some odd frequency in another Nancy Drew game, but I couldn't isolate the exact cause (something to do with the dialogue though).

I'm using WineSkin wrapper 3.0.3 with wine 23.7.1-2 (not quite the latest, but pretty close).

I'll be testing some of the other games, so if I can figure out how to reproduce this reliably I'll let you know. I'm so sorry for the time you spent setting up your virtual environment without a reproducible bug. When I posted the issue it was happened very consistently, but now not at all.

Should we close in the meantime or may I leave it open for a few days to see if I can reliably reproduce?

FunkyFr3sh commented 1 month ago

it's np. We can keep it open, I'll try a few more times later as well

indianajson commented 1 month ago

I haven't been able to reproduce it in several days, it must have been an issue on my end, closing for now unless I can reproduce reliably.