Scroll bars on second monitor

91 views
Skip to first unread message

Grendel G

unread,
May 4, 2023, 12:48:36 PM5/4/23
to TurboVNC User Discussion/Support
Good afternoon,

First of all, thank you for TurboVNC and all the work you've done on it.  I haven't been using it long but I appreciate it and I'm trying to learn it better.

With that said, I'm having a problem.

I work with two monitors, 4k central and a smaller 1920x1200 to the left of it.  I'm on Windows 11, a pretty recent install.  nVidia drivers if that means anything.  TurboVNC version 3.0.3

When I run TurboVNC on my main display connecting to a Debian host also running TurboVNC 3.0.3 it comes up fine on my main display.  I can fullscreen on the one display, I can hit the maximize button.  I don't see any issues.

When I move it to my secondary display, though, the TurboVNC display always has scrollbars.  The display is set dynamic, so it should and DOES resize when I resize the window, but no matter what it has scrollbars on that second window.

I tried running setting the " turbovnc.singlescreen" flag to 1 to see if that might help, but it didn't change anything.

I'm fairly new at this, so sorry if I just didn't find the right setting and my google searches didn't help much.

Thank everyone for any help.

DRC

unread,
May 4, 2023, 1:41:59 PM5/4/23
to turbovn...@googlegroups.com
So, to be clear, automatic desktop resizing is enabled in the TurboVNC Viewer, you move the viewer window from the 4k display to the 2k display, the remote desktop resizes to approximately 2k, but no matter what you do, there are still scrollbars.

Diagnostic questions:
- Does this occur in both windowed and full-screen mode? In other words, does switching to full-screen mode and back again help?
- Does pressing Ctrl-Alt-Shift-Z help?
- When you see the unwanted scrollbars, what is the actual remote desktop resolution? (Run xrandr from a terminal in the TurboVNC session to determine this.)

DRC

On May 4, 2023, at 11:48 AM, Grendel G <grend...@gmail.com> wrote:


--
You received this message because you are subscribed to the Google Groups "TurboVNC User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbovnc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/f08f62be-30e7-407b-bd1c-ee8055642c6bn%40googlegroups.com.

Grendel G

unread,
May 5, 2023, 11:58:51 AM5/5/23
to TurboVNC User Discussion/Support
When I move the TurboVNC viewer window from the 4k monitor to the smaller 2k one I have always shrunk it to a size that will fit on the other monitor first and drag it over to the other monitor.  So the window has been resized down to less than 2k, and inside the local frame the displayed desktop has been resized down to fit inside that window as well.  So it's not resizing as it's moving to the other monitor, it's already resized.

This is a side thing but, is there a command guide for TurboVNC somewhere?  I can't find one on the website or google searching.  I know I lucked on 'F8' but I can't remember where I found it.

  • When I enter fullscreen using the button on the window or ctrl-alt-shift-f it opens in fullscreen across both monitors, and it opens to the proper resized resolution on both.  There's no window "chrome" around anything.
  • When I switch back to windowed, the window has scrollbars if on the small monitor.  It does not on the large monitor.
  • ctrl-alt-shift-z does not help, it still has scrollbars.
  • It still has scrollbars if I get rid of the windows taskbar at the bottom and maximize the window.
    • If I remove the taskbar and press the maximize button, it maximizes to a size of where the scrollbar would have been.
    • If I remove the taskbar, close VNC viewer and re-start VNC Viewer then move it to the smaller monitor and hit the maximize button, it still opens as if the taskbar was still there.
  • I'm attaching two screenshots.  One is of the 2k monitor when TurboVNC is maximized on it, with the windows taskbar hidden (you can see where it would have been normally).  In it is the top half of the xrandr output.  The second screenshot is the rest of the xrandr output.
    • Some info like names redacted.

Thank you again for looking into this.
Screenshot 2023-05-05 115333.png
Screenshot.png

DRC

unread,
Aug 3, 2023, 4:26:23 PM8/3/23
to turbovn...@googlegroups.com

Unfortunately I have not been able to reproduce the issue on Windows 10, but I notice that the window decorations in your screenshots look a lot different from the Windows 10 window decorations.  Assuming those are the typical Windows 11 decorations, it may be that Java doesn't yet accommodate the size of Windows 11 decorations correctly, which leads to an incorrect determination of whether scrollbars are needed.  I will retest once I have time to install Windows 11.

Reply all
Reply to author
Forward
0 new messages