-
Notifications
You must be signed in to change notification settings - Fork 323
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
[VNC] Use vnc.html #170
[VNC] Use vnc.html #170
Conversation
Recommends adding in-code documentation i.e <!--
Used to append options to vnc.html
- autoconnect .. To automatically connect on the host
- resize=scale .. To scale the resolution based on used preview
--> |
Note that this solution has a bar on the left side of the screen Relevant: novnc/noVNC#941 (Old issue) |
How do we remove it? |
We need to remove the sidebar how do we do this? |
I am unable to find documentation for this. Possibilities:
I would try something like:
In the worst case scenario |
I think we want to keep it. I've found it useful before, especially on mobile (e.g. for copy/pasting and such). |
Can someone test this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👍
LGTM EDIT: i've would add the in-code documentation |
Merge @jankeromnes? |
@meysholdt It would :( |
@meysholdt referencing #170 (comment) I guess that asking upstream again is the only option to get more info based on the fact that we don't have documentation on this |
I've tested it by opening https://gitpod.io/#https://github.com/techwithtim/Hangman and running this in the Terminal:
Works like a charm, and I don't find the controls too distracting. Cool that users can now benefit from these by default. 🙂
I agree that documentation could be nice, e.g. in cases like these where it's unclear what some things mean or do exactly. But it's not a strong requirement on my part, so I'll let @JesterOrNot make the call of whether to add the comment, or keep this a short-and-sweet HTML one-liner. 🙂 |
@Kreyren We could always file another issue |
@JesterOrNot your turn, be nice! :p |
Would be also nice to have |
I decided to add the comments because they can only help :) |
In theory we can customize this to fix gitpod-io/gitpod#1193 (should be resolved as separate issue) |
Tied it, too:
|
True in theory we can use
WFM EDIT: better image and confirm of the issue |
When I try
Maybe that's because iframes are not allowed to go fullscreen in some browsers? (E.g. to prevent annoying fullscreen ads taking over your screen). For me, fullscreen button shows the error when in a preview pane, but it works as expected when the preview is opened in a new tab. |
Sorry did not test it in gitpod, same(?) issue here. From console:
|
What is the proposed course of action for this? i've check the available documentation and i can't find anything relevant to resolve the scaling issue atm. |
@Kreyren Also can you talk to the noVNC people again I don't know what you meant novnc/noVNC#1371 |
@JesterOrNot ehh what |
|
@JesterOrNot Figured that much, but what do you expect from me assuming that it seems that you've described the issue sufficiently also why is making a button in GUI that would changed the css style not an option? Or how do you expect it to be toggleable ? |
|
iiuc the clipboard and touch capabilities are the concern here? For clipboard i guess that the proper implementation would be use the end-user's clipboard if browser allows it. For touch i don't think it's worth processing until gitpod has better implementation for portable devices (gitpod-io/gitpod#970) assuming that none would probably want to use touch on PC version (personally i don't see the usecase for it there assuming that the GUI is not optimized to work with touch) |
What does iiuc mean? |
iiuc == if i understand correctly added in https://en.wikipedia.org/w/index.php?title=SMS_language&action=history |
For the resolution, I think we need to fix this in the X server config for now (until we can achieve a direct link between preview size and X screen size). E.g. we could divide the Xvfb screen size by 2, maybe this will help make things more legible? |
Ok, I'm going to clean up and merge this PR. Thanks again! I've also enabled FYI, here are all the Also, having the noVNC preview automatically reconnect on connection breaks is compelling enough to switch from For what it's worth, I find the extra controls very useful, but if someone else really doesn't like them, we could potentially contribute a |
No description provided.