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

None
open-accepted
nobody
None
5
2016-02-19
2014-03-13
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.

     
  • Anton

    Anton - 2016-02-19
    • status: open --> open-accepted
    • Group: -->
     
  • Anton

    Anton - 2016-02-19

    Ron, thank you for patch, seems it works for service.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks