-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
html5 client #473
Comments
2013-12-22 06:56:47: totaam uploaded file
|
2013-12-22 07:00:09: totaam uploaded file
|
What I've used:
[[BR]] I will attach some code once it is cleaned up. What still needs to be done:
And maybe further down the line:
|
Initial code merged in r5028: sort of works in chrome and firefox (partial window updates don't work, partial keyboard support, no mouse support, ..) |
Many more changes in r5034 to r5066, it looks a lot better:
|
2013-12-30 15:02:45: totaam uploaded file
|
r5076 + r5077 + r5078 + r5079 + r5080 add a cython version of the bencoder, which makes it substantially faster (important since the html5 version uses the bencoder rather than rencode) Running the [/browser/xpra/trunk/src/tests/xpra/net/test_bencode.py updated bencode test] shows the difference in performance:
|
Many more improvements in r5081 to r5089, including support for fullscreen and maximized windows, window top bar icons, etc.. Sadly, I've come to realize that the way I have used the canvas is all wrong: each window should be its own
But I have to leave this for now... it is what it is. |
Needs more time than I can afford to spend on it. Re-scheduling. Using a CSS decorations on a canvas-per-window is a must though. |
2014-05-27 03:30:51: totaam uploaded file
|
2014-06-03 15:58:08: joshiggins uploaded file
|
2014-06-03 16:02:46: joshiggins commented
|
2014-06-04 15:39:39: totaam uploaded file
|
The patch above makes the following changes on your patch:
I did this as I was reviewing the code. |
Note: as part of #614, r6934 adds support for YAML as packet encoding. @joshiggins: Any HTML5 updates? |
2014-08-03 22:14:53: joshiggins commented
|
Good stuff!
svn repo info sent separately
Just a guess, but it might be that those are |
2014-08-13 02:14:49: joshiggins commented
|
2014-08-20 13:55:36: SamBeroz commented
|
2014-08-20 14:10:18: SamBeroz commented
|
2014-09-16 23:58:13: aradtech commented
|
Yeah, just tried it and it works great! I managed to hit this bug though:
Which decodes to:
So the configure window uses dimensions that are not whole numbers, and that crashes the server bdecoder because that's invalid. Also saw these in the websockify server log (not sure if they are related):
|
2014-09-17 21:51:32: joshiggins commented
|
2014-09-17 21:55:51: joshiggins commented
|
I've made it easier to setup the html client in #689. It would be nice if the host and port fields could be populated with the host and port from the http request. |
2014-10-28 22:59:30: joshiggins commented
|
I don't know how to help debug these issues: I am getting no windows about 30% of the time (just force reload the page), and sometimes I get a window but its contents do not get painted until I move it, the rest of the time it works as expected.. |
2015-03-03 20:51:45: joshiggins commented
|
2015-03-04 18:06:21: extasic commented
|
In theory, the server should be able to work without python-imaging.. Not well, but it should be able to work using plain rgb encoding. (assuming that the html client handles that) |
2015-03-05 12:50:54: joshiggins commented
|
2015-03-07 20:44:29: joshiggins commented
|
2015-03-08 20:27:13: joshiggins commented
|
2015-03-22 16:53:18: extasic commented
|
2015-04-18 23:12:01: joshiggins commented
|
2015-04-20 18:10:07: extasic commented
|
2015-04-20 18:39:49: joshiggins commented
|
Not had time to look into it, but with the latest trunk I get:
It was fine just hours/days ago. |
2015-04-23 15:18:59: extasic commented
|
My guess is that those applications use the wrong window type, it probably should not be NORMAL (sadly, lots of applications do that - ie: chrome does). We have some code in the xpra client to try to workaround such broken behaviour. @joshiggins: maybe the window is "transient-for" or "override-redirect" and you can use that? |
2015-04-23 16:08:36: joshiggins commented
|
You can ignore comment:45, I was hitting the wrong test server - I need sleep! |
2015-04-23 16:41:25: joshiggins commented
|
2015-04-23 17:06:08: aradtech commented
|
2015-04-23 17:07:33: aradtech commented
|
2015-04-24 11:52:50: extasic commented
|
It's looking good for the release! I have tagged v0.15.x, so let's move new work to a new ticket: #850 It will be easier to know what was delivered in this release and what remains to be done. If you are hitting this ticket wanting to report a bug, please open a new ticket instead. |
There is now a wiki page for the HTML5 client: Clients HTML5. |
Similar to noVNC, and probably re-using some of its code (websockets, etc)
Made much easier by #474
I can start a websockets proxy (on port 8080) that points back to xpra (on port 10000):
And if I use the new tcp-proxy code:
When we make websocket request to the xpra port (10000), the http traffic goes through xpra to the proxy then back to xpra as tcp!
Eventually, the websockets proxy code should be moved into xpra, but this is good enough for experimenting and testing.
The text was updated successfully, but these errors were encountered: