Bugzilla – Bug 4642
Resize support for the HTML5 Client
Last modified: 2013-10-28 09:41:42
You need to
before you can comment on or make changes to this bug.
Currently, the HTML5 client will adapt its canvas size to the current server
side size of the session. Newly created sessions will have a size determined by
This is different from how the native client works:
1) It will resize the remote session to the preferred size set by the client
2) If "Resize remote session to the local window" is activated, it will
dynamically resize the remote session when the size of the local window is
We should implement support for both these features in the HTML5 client.
> 1) It will resize the remote session to the preferred size set by the client
Initial size issue moved to bug 4648.
There is a pullrequest upstream for auto scaling feature, it does not fullfill
requirements but it could be polished:
Created an attachment (id=478) [details]
Implements the resize support functionality
Fixed in the attached resizesupport.patch
Made a pull request to the noVNC project on github:
Created an attachment (id=479) [details]
fixes some errors in the logic from the first patch
I fixed some errors in the logic and some indentation from the first patch.
Also pushed into the same pull request on the noVNC project.
Fixed in revision 27593.
Updated in revision 27600.
Note that my commit-message in revision 27593 is wrong: I wrote "Fixes bug
4648" while it actually fixes this bug, 4642.
There is a problem when trying to resize the viewport on mobile devices,
Viewport problem fixed in 27874.
There is still a slight problem when resizing the session on an iPad:
1) Start a session in landscape mode
2) Rotate screen to portrait, and then back to landscape again
The new landscape session appears to have the correct size, but incorrect
alignment - the top of the session is obscured slightly by the top NoVNC bar,
and there is a few pixels of blank space at the bottom of the browser.
Re-opening for discussion.
The alignment problem in Safari has nothing to do with this bug, it seems like
iOS 7 has introduced a new bug/behavior which is the cause of the alignment
problem. Opened bug 4868 for that.
A new bug has been opened for the Safari bug, so closing.