Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1303 Alt-tab does nothing in fullscreen mode with Windows 8.1 server

open
nobody
None
5
2014-03-27
2014-03-13
Ron Isaacson
No

I'm using TightVNC 2.7.10 on my client (Windows 7) and all of my servers. When I connect to a Windows 7 server and go to full-screen mode, all special keys, including Alt-Tab, are properly handled on the server.

When I connect to a Windows 8.1 server, Ctrl-Esc and Alt-Esc work fine, but Alt-Tab does absolutely nothing. I've tried this with two different Windows 8.1 servers with the same result.

Discussion

  • Ron Isaacson
    Ron Isaacson
    2014-03-27

    Update: this is related to the issue described here (see comments #3 and #32). The fix described there also works for tvnserver.

    In win-system/CurrentConsoleProcess.cpp, find the existing SetTokenInformation code block starting at line 87 and add this below it:

        DWORD uiAccess = 1;
        m_log->debug(_T("Try SetTokenInformation(%p, , , )"),
            (void *)userToken);
        if (SetTokenInformation(userToken,
            TokenUIAccess,
            &uiAccess,
            sizeof(DWORD)) == 0) {
            throw SystemException();
        }
    

    With this change, Alt-Tab is handled correctly.