xpra icon
Bug tracker and wiki

Opened 3 months ago

Closed 2 months ago

#1901 closed defect (fixed)

ctrl-click not working in HTML5 client

Reported by: Matteo Ipri Owned by: Matteo Ipri
Priority: major Milestone: 2.4
Component: html5 Version: 2.3.x
Keywords: input mouse keyboard Cc:

Description (last modified by Antoine Martin)

I found this issue when running xpra in a Docker container with Ubuntu 17.10 artful and using the HTML5 client. This bug is present in both version of xpra and only in HTML5 client.

If I run "firefox https://xpra.org" in the remote xterm terminal window, Firefox launches regularly and the web page loads fine.
If I ctrl+click on a link, for example on About, the link is opened in the same tab instead of a new one.
If I use the desktop client, the ctrl+click opens the link in a new tab as expected.

I wrote a couple of Dockerfiles to test the latest stable (xpra X11 version 2.3.2-r19729 64-bit as of this writing) and the latest beta version (xpra X11 version 2.4-r19803 64-bit as of this writing) and I found some bugs when comparing the HTML5 client to the Xpra desktop client I use on my Arch Linux running PC.

The Docker images are based on Ubuntu 17.10 artful and I attach the Dockerfiles so that my experiments can be reproduced.

To build the images, I run the following commands:

sudo docker build -t xpra -f path/to/xpra/Dockerfile path/to/xpra/ 
sudo docker build -t xpra:beta -f path/to/xpra/Dockerfile-beta path/to/xpra/ 

To run the containers, I enter the following:

sudo docker run --interactive --tty --rm -p 8080:8080 xpra
sudo docker run --interactive --tty --rm -p 8080:8080 xpra:beta

Attachments (3)

Dockerfile (1.6 KB) - added by Matteo Ipri 3 months ago.
Dockerfile-beta (1.7 KB) - added by Matteo Ipri 3 months ago.
Dockerfile-beta.2 (1.7 KB) - added by Matteo Ipri 3 months ago.

Download all attachments as: .zip

Change History (6)

Changed 3 months ago by Matteo Ipri

Attachment: Dockerfile added

Changed 3 months ago by Matteo Ipri

Attachment: Dockerfile-beta added

Changed 3 months ago by Matteo Ipri

Attachment: Dockerfile-beta.2 added

comment:1 Changed 3 months ago by Antoine Martin

Description: modified (diff)
Milestone: 2.4
Status: newassigned

comment:2 Changed 2 months ago by Antoine Martin

Description: modified (diff)
Owner: changed from Antoine Martin to Matteo Ipri
Status: assignednew

Fixed in r19903.

comment:3 Changed 2 months ago by Matteo Ipri

Resolution: fixed
Status: newclosed

Thank you very much. I just tested the changes and they fix the issue.

Note: See TracTickets for help on using tickets.