xpra icon
Bug tracker and wiki

Opened 3 weeks ago

Closed 3 weeks ago

#2544 closed defect (fixed)

Thunderbird Menu Focus issue.

Reported by: Hans Owned by: Antoine Martin
Priority: major Milestone: 4.0
Component: html5 Version: 3.0.x
Keywords: Thunderbird, Focus Cc:

Description

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

Attachments (1)

thunderbird-popup-focus.png (44.6 KB) - added by Antoine Martin 3 weeks ago.
screenshot of the bug

Download all attachments as: .zip

Change History (3)

Changed 3 weeks ago by Antoine Martin

Attachment: thunderbird-popup-focus.png added

screenshot of the bug

comment:1 Changed 3 weeks ago by Antoine Martin

Priority: minormajor
Status: newassigned

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

comment:2 Changed 3 weeks ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

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.

  • the dialog window shows up as:
    <div id="4" class="modal wmclass-Thunderbird window window-DIALOG border ui-draggable ui-draggable-handle ui-resizable wmclass-Mailnews windowinfocus"
      style="z-index: 17500; width: 1088px; height: 640px; left: 0px; top: 0px; cursor: default;">
    
  • the popup:
    <div id="7" class="wmclass-Thunderbird window window-POPUP_MENU override-redirect wmclass-Popup" style="z-index: 20000; 
      width: 240px; height: 153px; left: 13px; top: 413px; cursor: default;">
    

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

Trivial fix in r24932.

Note: See TracTickets for help on using tickets.