Menu

#1433 keyboard captured by minimized viewer

None
open-accepted
nobody
None
5
2018-02-07
2017-11-24
No

TightVNC Viewer for Windows, 2.8.8

If the viewer is in full screen mode but minimized it still captures all keyboard input.

Normally one has to exit full screen mode in order to minimize the viewer, so this situation doesn't occur.
But things are different if you have two screens. I have a viewer maximized on screen 2 while screen 1 shows the local PC. In the task bar on screen 1 I can click on the viewer icon and thereby minimize it. This is quite practical. A second click brings it back directly into full screen mode. However, if it is minimized, all keyboard input is captured and redirected to the remote PC, although all screens show the local PC. (This can be even dangerous because you are not aware of it. You just have the feeling that your keyboard is dead).

Use the Win-API function IsIconic() to determine if a window is minimized. (Don't query the current window size or anything like that. It always gives the size the window would have if it was not minimized.)

Discussion

  • Anton

    Anton - 2017-11-27
    • status: open --> open-accepted
    • Group: -->
     
  • Anton

    Anton - 2018-02-07

    will be fixed in the next release

     

Log in to post a comment.