SUMMARY 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. 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. 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 MOZ_ENABLE_WAYLAND=1 thunderbird 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 OBSERVED RESULT Flickering of right-click popup menus with multiple simultaneously highlighted entries in Thunderbird on Wayland in Plasma EXPECTED RESULT The right-click menus would appear normally without flickering, and only the menu item under the cursor would be highlighted. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 34 (available in About System) KDE Plasma Version: 5.21.2 KDE Frameworks Version: 5.79.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION 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.
Created attachment 136468 [details] Thunderbird Wayland debug log 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@3.enter(1640, wl_surface@41, 599.000000, 695.000000) [1818472.234] -> wl_pointer@3.set_cursor(1640, wl_surface@14, 4, 4) [1818472.289] -> wl_surface@14.attach(wl_buffer@55, 0, 0) [1818472.331] -> wl_surface@14.set_buffer_scale(1) [1818472.356] -> wl_surface@14.damage(0, 0, 32, 32) [1818472.408] -> wl_surface@14.commit() [1818472.433] wl_pointer@3.frame() [1818619.844] wl_pointer@3.motion(684063, 597.000000, 687.000000) [1818619.934] wl_pointer@3.frame() [1818619.979] wl_pointer@3.motion(684069, 593.000000, 677.000000) [1818620.027] wl_pointer@3.frame() [1818620.042] wl_pointer@3.motion(684077, 590.000000, 668.000000) [1818620.058] wl_pointer@3.frame() [1818620.068] wl_pointer@3.motion(684085, 587.000000, 659.000000) [1818620.082] wl_pointer@3.frame() [1818620.091] wl_pointer@3.motion(684093, 584.000000, 647.000000) [1818620.105] wl_pointer@3.frame() [1818620.116] wl_pointer@3.motion(684101, 581.000000, 633.000000) [1818620.132] wl_pointer@3.frame() [1818620.141] wl_pointer@3.motion(684109, 575.000000, 612.000000) [1818620.178] wl_pointer@3.frame() [1818620.190] wl_pointer@3.motion(684117, 569.000000, 595.000000) [1818620.206] wl_pointer@3.frame() [1818620.215] wl_pointer@3.motion(684125, 559.000000, 575.000000) [1818620.229] wl_pointer@3.frame() [1818620.238] wl_pointer@3.motion(684133, 549.000000, 555.000000) [1818620.252] wl_pointer@3.frame() [1818620.277] wl_pointer@3.motion(684141, 541.000000, 533.000000) [1818620.291] wl_pointer@3.frame() [1818620.320] wl_pointer@3.motion(684149, 533.000000, 509.000000) [1818620.334] wl_pointer@3.frame() [1818620.348] wl_pointer@3.motion(684155, 525.000000, 491.000000) [1818620.363] wl_pointer@3.frame() [1818620.375] wl_pointer@3.motion(684163, 521.000000, 471.000000) [1818620.388] wl_pointer@3.frame() [1818620.396] wl_pointer@3.motion(684171, 518.000000, 456.000000) [1818620.410] wl_pointer@3.frame() [1818620.423] wl_pointer@3.motion(684179, 514.000000, 440.000000) [1818620.435] wl_pointer@3.frame() [1818620.445] wl_pointer@3.motion(684187, 509.000000, 421.000000) [1818620.459] wl_pointer@3.frame() [1818620.471] wl_pointer@3.motion(684195, 505.000000, 402.000000) [1818620.484] wl_pointer@3.frame() [1818620.495] wl_pointer@3.motion(684203, 501.000000, 387.000000) [1818620.508] wl_pointer@3.frame() [1818658.219] wl_buffer@66.release() [1818658.267] wl_callback@79.done(1638) [1818658.290] wl_buffer@68.release() [1818658.320] -> wl_buffer@68.destroy() [1818663.311] -> wl_surface@49.attach(wl_buffer@66, 0, 0) [1818663.408] -> wl_surface@49.damage(0, 0, 2147483647, 2147483647) [1818663.447] -> wl_surface@49.commit() [1818663.460] -> wl_display@1.sync(new id wl_callback@79) [1818766.889] wl_display@1.delete_id(68) [1818766.937] wl_display@1.delete_id(79) The right-click menu problem happened a few times from around the lines above to the end.
I have occasionally been able to reproduce this issue with Thunderbird on Wayland.