It would be nice, if xpra would have possibility to going into full screen mode, when attach to remote shadow session. Like so: xpra attach --fullscreen
Problem: we don't know in advance if the remote session is the same size as the client's screen. If it's smaller, we could show it with borders (no, we don't so scaling yet), but this is going to require quite a lot of code for managing the offsets. If it's bigger, it is not going to work (would need downscaling).
If the client then resizes its screen, everything breaks...
If it's smaller, there is no other way, than showing it with borders. If it's bigger, we can just show part of screen and show scroll bar for moving the view-able part. For beginning, there is no need to handle resizing of client screen (I can always just restart xpra client).
#976 could also help: we could also upscale the remote display if the dimensions are so far out that the local display would show only a small rectangle in the middle (as is the case when using a 4k display).
@antoine, yeah, but better not hardcoded, but as enable option.
xpra attach --shadow-fullscreen=yes ...
And the remote display will be scaled to the size of the local one (see #976 for scaling implementation details).
Caveat: this does not handle multiple monitors well on all platforms, if any!
I may still try to do unscaled fullscreen, but probably not in this release, in which case the
shadow-fullscreen flag may change from a boolean to a no|centered|scaled type of option.
This would require window contents to be offset from the top-left corner (somewhat similar to what would be needed for #508 with the "gtk menu" option).
@akaWolf: feedback welcome.
yeah, scaling should be an option. for example:
Scaling - Scale the host computer's desktop relative to the size of the VNC Viewer application window (Fit | AspectFit | <width>x<height> | <width>x | x<height> | <percentage size>% | <percentage width>%x<percentage height>%), or None to not scale. (default=None)
only one more notice: can xpra also grab all keyboard events in fs mode? see https://bugs.launchpad.net/ubuntu/+source/tightvnc/+bug/584823 remmina and realvnc have such functionality.
Fullscreen now works quite well for "start-desktop" mode (#1567), you can also make your remote shadow window fullscreen with
Shift+F11 but we have not addressed the scrolling / scaling issues yet.
use scaling to fullscreen fixed size windows
The patch above kinda works, but is not ready for merging yet:
Related issues fixed:
no time for this, re-scheduling
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/972