xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 22 months ago

Last modified 12 months ago

#2686 assigned defect

xpra/html5 modal application on top

Reported by: Marco De Simone Owned by: Antoine Martin
Priority: minor Milestone: 4.2
Component: html5 Version: 3.0.x
Keywords: modal windows, on top, no workspace Cc:


Hi, I am using xpra to access a remote application using the html5 client, xpra on the server run in seamless mode ( start --start-cmd=/usr/bin/xterm ), If I run a pyqt modal application launcher, two things happen, the pyqt application has z-index 15000, and whatever window I start from this launcher goes below and I cannot use it. The other wrong behaviour is this pyqt launcher is not listed in the upper menu, so If i minimize it than I lose it, and I am not able to show it again..

If I attach the remote session via the xpra client it works correctly, the issue is only with the html5 client.

If I start xpra in destkop mode, it works correctly even with html5 client.

os: ubuntu 18.04
xpra version: 3.0.7-r25627-1
020-03-30 12:22:02,516

I have enclosed a picture
Kindly regards

Attachments (2)

launcher-xpra.png (41.9 KB) - added by Marco De Simone 22 months ago.
logdebug.txt (21.5 KB) - added by Marco De Simone 22 months ago.
xpra -d window log

Download all attachments as: .zip

Change History (8)

Changed 22 months ago by Marco De Simone

Attachment: launcher-xpra.png added

Changed 22 months ago by Marco De Simone

Attachment: logdebug.txt added

xpra -d window log

comment:1 Changed 22 months ago by Antoine Martin

Milestone: 4.1
Owner: changed from Antoine Martin to Marco De Simone

Looks like the window has both the DIALOG and NORMAL window type set.
What application can I use for testing?

The html5 client does not track application groupings, so the dialog window should be "modal" or "on top" of its siblings, but not other windows. Fixing that is hard.

comment:2 Changed 22 months ago by Marco De Simone

You cannot try sorry, it's an old python code using pyqt/qt4, but we fixed using QWidget instead of QDialog for the main window, now it works perfect, it acts as normal window.


comment:3 Changed 20 months ago by Antoine Martin

Owner: changed from Marco De Simone to Antoine Martin
Status: newassigned

We need to change update_zindex to raise focused windows more, but only if there are no modal / dialog siblings. (need to keep track of pid / transient-for?)
This may require calling update_zindex every time one of the windows metadata is updated..

comment:4 Changed 16 months ago by Antoine Martin

Milestone: 4.14.2

comment:5 Changed 16 months ago by Antoine Martin

See also #2897.

comment:6 Changed 12 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2686

Note: See TracTickets for help on using tickets.