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

Alt-Tabing away causes a keyboard annoyance issue #14

Closed
WestyEdge opened this issue Sep 20, 2020 · 7 comments
Closed

Alt-Tabing away causes a keyboard annoyance issue #14

WestyEdge opened this issue Sep 20, 2020 · 7 comments

Comments

@WestyEdge
Copy link

If you alt-tab away to another application VCC thinks you pressed the ALT key. It's a minor annoyance, but in (Nitr)OS-9 it puts the keyboard in some kind of graphics character mode.

@WestyEdge WestyEdge changed the title Alt-Tabing away causes a keyboard issue Alt-Tabing away causes a keyboard annoyance issue Sep 20, 2020
@BGPierce
Copy link
Contributor

BGPierce commented Sep 21, 2020 via email

@WestyEdge
Copy link
Author

WestyEdge commented Sep 21, 2020 via email

@BGPierce
Copy link
Contributor

I have tried to duplicate this issue with every screen mode in VCC (RSDOS & OS-9) with multiple window open in Win10 including some in full screen mode and I cannot duplicate you problem. My windows, including the VCC window, react as expected. I have a feeling there's something amiss in your Display settings (Compatibility Mode maybe?)
Also, I have had no other VCC users to complain with this issue, so I assume it's isolated to your system.

@ejaquay
Copy link
Contributor

ejaquay commented Dec 3, 2020

On Windows 10 when I Alt-tab away to another window and back again the keyboard no longer works in Nitros9 even after a hard reset and reboot. Restart Vcc required to fix it. mpi.dll with fd502 in slot 1 no other slots loaded, drive 0 nos96809l2v030300coco3_80d.dsk Natural keyboard. Problem occurs even if alt-tab is done before Nitros boots the first time. Nitros seems to work normally until the alt-tab occurs.

@ejaquay
Copy link
Contributor

ejaquay commented Dec 3, 2020

Further investigation. Alt-tab broken keyboard issue is also present in both Vcc2.0.1 and Vcc1.42 Also affects original OS9L2. (OS-9L2V2.00.01D1 & D2 loaded) with low res graphics. So it is not unique to Nitros9. Tested on Windows 10 and Windows 7. Same problem both platforms. Do have a copy of XP to test it there.

@ejaquay
Copy link
Contributor

ejaquay commented Dec 12, 2020

I have been able to fix (pull request coming) most of the keyboard issues by making sure keys are put into an up state when ever the main window loses keyboard focus, One side effect is when using ALT-'x' combinations the ALT key is raised when 'x' is raised so holding the ALT key down while typing a sequence of characters does not behave exactly the way real hardware does. Also rsdos interprets ALT as @ so use of ALT to access menus or other windows leaves an '@' on the rsdos screen. Perhaps some additional config settings could be used to allow uses to disable sending ALT to the emulation if they desire.

I have confirmed that while in full screen mode use ALT-TAB will sometimes crash VCC and sometimes crash the system window manager requiring a windows reboot of user logout/login. I think this is related to how the graphics are done. Perhaps we can and should disable ALT-TAB while in full window mode.

@ejaquay
Copy link
Contributor

ejaquay commented Dec 13, 2020

This is fixed. Pull requested

BGPierce pushed a commit that referenced this issue Dec 19, 2020
@ejaquay ejaquay closed this as completed Apr 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants