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

TigerVNC Viewer opens under (hidden by) Windows taskbar when taskbar is at top of screen #1844

Open
jim271828 opened this issue Oct 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jim271828
Copy link

Describe the bug

TigerVNC Viewer opens under Windows taskbar when taskbar is at top of screen, causing the TigerVNC title bar to be obscured.

To Reproduce

Rasp Pi 3B+ Bookworm set to display 1600x1200. Physical display is 1920x1200. Win10 with taskbar positioned at the top of the screen (rather than at the default position = bottom of screen). When TigerVNC Viewer opens, the top of its window is positioned at screen pixel height = 0, ie., top physical row of pixels, underneath the taskbar, making the TIgerVNC title bar inaccessible. It should open at the first pixel row vertically-below the taskbar.

Expected behavior

If the Windows taskbar is at the top of the screen, the TigerVNC Viewer window should be positioned with its top at the first visible row of pixels vertically-below the Win taskbar, so that the TigerVNC title bar is visible just below the Win taskbar.

  • Win 10
  • TigerVNC Viewer v1.14.0
  • from TigerVNC website
  • paired with whatever comes with Rasp Pi Bookworm

Additional context

This is a common issue. Maybe this is helpful: https://stackoverflow.com/questions/1264406/how-do-i-get-the-taskbars-position-and-size

To get TigerVNC to position in the proper vertical position, when it opens with its title bar under the taskbar, grab a side of the TigetVNC window and resize it slightly. When the window resizes, it'll position properly vertically, with the title bar showing (making it possible to use the X button to close the window).

@jim271828 jim271828 changed the title TigerVNC Viewer opens under Windows taskbar when taskbar is at top of screen TigerVNC Viewer opens under (hidden by) Windows taskbar when taskbar is at top of screen Oct 8, 2024
@CendioOssman
Copy link
Member

Thanks for your report.

I could reproduce this, but only when the server session is at least as large as the client monitor (which is also the case for your scenario).

We don't explicitly specify a position, though, only a size. So this is unfortunately likely a bug in FLTK or Windows. Which makes it more annoying to resolve, as we would rather not mess with the window manager more than necessary.

Someone will need to investigate further so we can understand the issue better, and try to make an as minimal workaround as possible.

@CendioOssman CendioOssman added the bug Something isn't working label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants