Skip to content
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

Thunderbird Menu Focus issue. #2544

Closed
totaam opened this issue Jan 8, 2020 · 7 comments
Closed

Thunderbird Menu Focus issue. #2544

totaam opened this issue Jan 8, 2020 · 7 comments
Labels

Comments

@totaam
Copy link
Collaborator

totaam commented Jan 8, 2020

Issue migrated from trac ticket # 2544

component: html5 | priority: major | resolution: fixed | keywords: Thunderbird, Focus

2020-01-08 22:11:46: spacecabbie created the 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
@totaam
Copy link
Collaborator Author

totaam commented Jan 8, 2020

2020-01-08 22:21:41: antoine uploaded file thunderbird-popup-focus.png (44.6 KiB)

screenshot of the bug
thunderbird-popup-focus.png

@totaam
Copy link
Collaborator Author

totaam commented Jan 8, 2020

2020-01-08 22:26:48: antoine changed priority from minor to major

@totaam
Copy link
Collaborator Author

totaam commented Jan 8, 2020

2020-01-08 22:26:48: antoine changed status from new to assigned

@totaam
Copy link
Collaborator Author

totaam commented Jan 8, 2020

2020-01-08 22:26:48: antoine commented


This reminds me of #1999#comment:14.
[[Image(thunderbird-popup-focus.png)]]
I can reproduce the problem, but only with the html5 client.

@totaam
Copy link
Collaborator Author

totaam commented Jan 9, 2020

2020-01-09 10:22:40: antoine changed status from assigned to closed

@totaam
Copy link
Collaborator Author

totaam commented Jan 9, 2020

2020-01-09 10:22:40: antoine set resolution to fixed

@totaam
Copy link
Collaborator Author

totaam commented Jan 9, 2020

2020-01-09 10:22:40: antoine commented


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.

@totaam totaam closed this as completed Jan 9, 2020
@totaam totaam added the v3.0.x label Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant