Xpra: Ticket #2544: Thunderbird Menu Focus issue.

Issue the menu's of thunderbird appear behind the screen that has focus.

thunderbird-68.3.0-1.el7.centos.x86_64

Commandline: xpra start --tcp-auth=pam --start='vglrun thunderbird' --html=on --bind-tcp=0.0.0.0:10010

Versions:

centos-release-7-7.1908.0.el7.centos.x86_64
Linux *hostname* 5.4.8-1.el7.elrepo.x86_64 #1 SMP Sat Jan 4 15:29:03 EST 2020 x86_64 x86_64 x86_64 GNU/Linux
   Static hostname: *removed for privacy*
         Icon name: computer-vm
           Chassis: vm
        Machine ID: *removed for privacy*
           Boot ID: *removed for privacy*
    Virtualization: kvm
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 5.4.8-1.el7.elrepo.x86_64
      Architecture: x86-64
Fyi: Virtualization Platform: Proxmox.

xpra install

pygtkglext-1.1.0-27.xpra3.el7_7.x86_64
xpra-3.0.4-0.r24778xpra1.el7_7.x86_64
xpra-html5-3.0.4-0.r24778xpra1.el7_7.noarch
xpra-common-3.0.4-0.r24778xpra1.el7_7.noarch
x264-xpra-20190929-1.el7_7.x86_64
python2-pyopengl-3.1.1a1-10xpra1.el7_7.x86_64
ffmpeg-xpra-4.2.1-2.el7_7.x86_64
libwebp-xpra-1.0.3-1.el7_7.x86_64
python2-rencode-1.0.6-1.xpra1.el7_7.x86_64
python2-xpra-3.0.4-0.r24778xpra1.el7_7.x86_64
python2-xpra-server-3.0.4-0.r24778xpra1.el7_7.x86_64
libvpx-xpra-1.8.1-1.el7_7.x86_64
xpra-common-client-3.0.4-0.r24778xpra1.el7_7.noarch
xpra-common-server-3.0.4-0.r24778xpra1.el7_7.noarch
python2-xpra-client-3.0.4-0.r24778xpra1.el7_7.x86_64
xorg-x11-drv-dummy-0.3.8-1.xpra2.el7_7.x86_64

Config Changes

border                (used)   = 'auto,5'                          <type 'str'>
border               (default) = 'auto,5:off'                      <type 'str'>
mdns                  (used)   = False                             <type 'bool'>
mdns                 (default) = True                              <type 'bool'>
microphone            (used)   = 'off'                             <type 'str'>
microphone           (default) = 'disabled'                        <type 'str'>
postscript-printer    (used)   = 'drv:///sample.drv/generic.ppd'   <type 'str'>
pulseaudio            (used)   = False                             <type 'bool'>
pulseaudio           (default) =                                   <type 'NoneType'>
speaker               (used)   = 'on'                              <type 'str'>
speaker              (default) = 'disabled'                        <type 'str'>
ssl-server-hostname   (used)   = '*hostname*        '              <type 'str'>
ssl-server-hostname  (default) = 'localhost'                       <type 'str'>
start-new-commands    (used)   = False                             <type 'bool'>
start-new-commands   (default) = True                              <type 'bool'>
tray                  (used)   = False                             <type 'bool'>
tray                 (default) = True                              <type 'bool'>

Gnome installed (version)

polkit-gnome-0.106-0.1.20170423gita0763a2.el7.x86_64
gnome-keyring-pam-3.28.2-1.el7.x86_64
gnome-icon-theme-legacy-3.12.0-1.el7.noarch
gnome-bluetooth-libs-3.28.2-1.el7.x86_64
libgnomekbd-3.26.0-3.el7.x86_64
gnome-shell-3.28.3-13.el7_7.x86_64
gnome-keyring-3.28.2-1.el7.x86_64
gnome-settings-daemon-3.28.1-5.el7.x86_64
gnome-online-accounts-3.28.0-1.el7.x86_64
gnome-icon-theme-3.12.0-1.el7.noarch
gnome-bluetooth-3.28.2-1.el7.x86_64
gnome-desktop3-3.28.2-2.el7.x86_64
gnome-session-3.28.1-7.el7.x86_64
gnome-themes-standard-3.28-2.el7.x86_64
gnome-menus-3.13.3-3.el7.x86_64


Wed, 08 Jan 2020 22:21:41 GMT - Antoine Martin: attachment set

screenshot of the bug


Wed, 08 Jan 2020 22:26:47 GMT - Antoine Martin: priority, status changed

This reminds me of ticket:1999#comment:14. screenshot of the bug I can reproduce the problem, but only with the html5 client.


Thu, 09 Jan 2020 10:22:40 GMT - Antoine Martin: status changed; resolution set

BTW, unless you really need hardware accelerated opengl (does thunderbird even use it?), using vglrun is not recommended as restarting the real X11 server will kill the opengl connection.. it reduces isolation and introduces potential instability. The default software renderer should be enough.


The bug comes from the DIV z-index calculations.

So 15000<17500 and the override-redirect popup ends up under the dialog..

Trivial fix in r24932.


Sat, 23 Jan 2021 05:54:08 GMT - migration script:

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