Bug 1936224 - Flickering of right-click popup menus with multiple simultaneously highlighted entries in Thunderbird on Wayland in Plasma
Summary: Flickering of right-click popup menus with multiple simultaneously highlighte...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: thunderbird
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-07 20:01 UTC by Matt Fagnani
Modified: 2022-06-07 21:49 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-06-07 21:49:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Thunderbird Wayland debug log (229.33 KB, text/plain)
2021-03-07 20:01 UTC, Matt Fagnani
no flags Details

Description Matt Fagnani 2021-03-07 20:01:05 UTC
Created attachment 1761341 [details]
Thunderbird Wayland debug log

Description of problem:

The menus shown when right-clicking on an email item in a list of emails in Thunderbird 78.8.0 and earlier on Wayland flickered and had multiple simultaneously highlighted items when moving the cursor up and down them in Plasma 5.21.2 and earlier in Fedora 34. This problem occurred in Thunderbird 78.8.0 on Wayland with OpenGL, WebRender, and in Safe mode with Basic compositing. I upgraded to thunderbird-78.8.0-1.fc33.x86_64 from koji because thunderbird 78.8.0 isn't available in F34 due to a build failure. thunderbird-78.7.0-2.fc34 was also affected. Thunderbird on X hasn't had this problem with the same versions. The underlying issue might be in kwin_wayland. I haven't been able to reproduce this problem in Thunderbird 78.8.0 on Wayland in GNOME 40 beta on Wayland in Fedora 34.

I ran MOZ_ENABLE_WAYLAND=1 WAYLAND_DEBUG=1 thunderbird & I right-clicked on an email and saw the flickering and multiple highlighted menu items a few times. The attached Wayland debug log showed some repeated lines around when the problem happened like the following.

[1818472.163] wl_pointer(1640, wl_surface@41, 599.000000, 695.000000)
[1818472.234]  -> wl_pointer(1640, wl_surface@14, 4, 4)
[1818472.289]  -> wl_surface(wl_buffer@55, 0, 0)
[1818472.331]  -> wl_surface(1)
[1818472.356]  -> wl_surface(0, 0, 32, 32)
[1818472.408]  -> wl_surface()
[1818472.433] wl_pointer()
[1818619.844] wl_pointer(684063, 597.000000, 687.000000)
[1818619.934] wl_pointer()
[1818619.979] wl_pointer(684069, 593.000000, 677.000000)
[1818620.027] wl_pointer()
[1818620.042] wl_pointer(684077, 590.000000, 668.000000)
[1818620.058] wl_pointer()
[1818620.068] wl_pointer(684085, 587.000000, 659.000000)
[1818620.082] wl_pointer()
[1818620.091] wl_pointer(684093, 584.000000, 647.000000)
[1818620.105] wl_pointer()
[1818620.116] wl_pointer(684101, 581.000000, 633.000000)
[1818620.132] wl_pointer()
[1818620.141] wl_pointer(684109, 575.000000, 612.000000)
[1818620.178] wl_pointer()
[1818620.190] wl_pointer(684117, 569.000000, 595.000000)
[1818620.206] wl_pointer()
[1818620.215] wl_pointer(684125, 559.000000, 575.000000)
[1818620.229] wl_pointer()
[1818620.238] wl_pointer(684133, 549.000000, 555.000000)
[1818620.252] wl_pointer()
[1818620.277] wl_pointer(684141, 541.000000, 533.000000)
[1818620.291] wl_pointer()
[1818620.320] wl_pointer(684149, 533.000000, 509.000000)
[1818620.334] wl_pointer()
[1818620.348] wl_pointer(684155, 525.000000, 491.000000)
[1818620.363] wl_pointer()
[1818620.375] wl_pointer(684163, 521.000000, 471.000000)
[1818620.388] wl_pointer()
[1818620.396] wl_pointer(684171, 518.000000, 456.000000)
[1818620.410] wl_pointer()
[1818620.423] wl_pointer(684179, 514.000000, 440.000000)
[1818620.435] wl_pointer()
[1818620.445] wl_pointer(684187, 509.000000, 421.000000)
[1818620.459] wl_pointer()
[1818620.471] wl_pointer(684195, 505.000000, 402.000000)
[1818620.484] wl_pointer()
[1818620.495] wl_pointer(684203, 501.000000, 387.000000)
[1818620.508] wl_pointer()
[1818658.219] wl_buffer()
[1818658.267] wl_callback(1638)
[1818658.290] wl_buffer()
[1818658.320]  -> wl_buffer()
[1818663.311]  -> wl_surface(wl_buffer@66, 0, 0)
[1818663.408]  -> wl_surface(0, 0, 2147483647, 2147483647)
[1818663.447]  -> wl_surface()
[1818663.460]  -> wl_display(new id wl_callback@79)
[1818766.889] wl_display(68)
[1818766.937] wl_display(79)

The right-click menu problem happened a few times from around the lines above to the end.

Version-Release number of selected component (if applicable):
thunderbird-78.8.0-1.fc33.x86_64
kwin-5.21.2-1.fc34.x86_64
qt5-qtbase-5.15.2-13.fc34.x86_64
kf5-kwayland-5.79.0-2.fc34.x86_64
gtk3-3.24.26-1.fc34.x86_64

How reproducible:
The right-click menu problem happened most of the time

Steps to Reproduce:
1. Boot a Fedora 34 KDE Plasma installation updated to 2021-3-7 with the updates-testing repo enabled
2. Log in to Plasma 5.21.2 on Wayland
3. Start Thunderbird on Wayland using MOZ_ENABLE_WAYLAND=1 thunderbird
When I've started Thunderbird on Wayland from the thunderbird-wayland rpm in Plasma, Thunderbird started on X according to the Troubleshooting information screen.
4. right-click on an email in a list of emails in a folder
5. move the cursor up and down the right-click menu
6. If the flickering didn't happen, repeat 4-5 until it does

Actual results:
Flickering of right-click popup menus with multiple simultaneously highlighted entries in Thunderbird on Wayland in Plasma

Expected results:
The right-click menus would appear normally without flickering, and only the menu item under the cursor would be highlighted.

Additional info:

I reported the same problem of flickering and multiple highlighted items with right-click menus in Firefox Nighly 81.0a1 (2020-8-21) on Wayland in Plasma 5.19.4 in Fedora 33 at https://bugzilla.mozilla.org/show_bug.cgi?id=1660567 I haven't been seeing this problem in Firefox Nightly 86.0a1 (2021-1-15) - 88.0a1 (2021-3-6) and 86.0 on Wayland with WebRender enabled in Fedora 34 with Plasma 5.21.2 and earlier due to the menu items under the cursor not usually being highlighted as I reported at https://bugzilla.mozilla.org/show_bug.cgi?id=1693472 Since Firefox and Thunderbird are based on the same rendering engine, the problems are likely related. I reported this issue against kwin in case the underlying problem is in kwin_wayland at https://bugs.kde.org/show_bug.cgi?id=434115

Comment 1 Ben Cotton 2022-05-12 15:24:30 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 2 Ben Cotton 2022-06-07 21:49:18 UTC
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07.

Fedora Linux 34 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.