SUMMARY Thunderbird won't receive focus when clicking "new mail" notification. STEPS TO REPRODUCE 1. Open Thunderbird 2. Work on some other application, i.e. use Firefox so Firefox window has focus 3. Click "new mail" notification when an email arrives OBSERVED RESULT Clicking the new mail notification doesn't bring Thunderbird focused. EXPECTED RESULT Clicking the notification should bring Thunderbird window focused (visible). SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Manjaro KDE KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.86.0 Qt Version: 5.15.2 Kernel Version: 5.10.70-1-MANJARO OS Type: 64-bit ADDITIONAL INFORMATION This bug has been present for a while now. I can recall new mail notification worked "a month or two ago" (my bad I don't have exact software versions/dates when this bug first appeared). One additional note: If you open Thunderbird and then minimize Thunderbird window, but after that _do not_ click anywhere and just plain wait for a new email notification and after receiving one you click the notification, Thunderbird is focused. So this bug appears to trigger if some other window has received focus before the new mail notification arrives.
Wayland or X11?
X11. Thunderbird version is 91.2.0.
Can reproduce on X11 (on Wayland it's already known and expected to be broken for now). This means that KWin is blocking the activation because it thinks it's focus stealing, because the app isn't passing along its ID from the notification properly. You'll need to report this to the Thunderbird developers.
(In reply to Nate Graham from comment #3) > Can reproduce on X11 (on Wayland it's already known and expected to be > broken for now). This means that KWin is blocking the activation because it > thinks it's focus stealing, because the app isn't passing along its ID from > the notification properly. You'll need to report this to the Thunderbird > developers. Thanks for the information. I created a new bug report at: https://bugzilla.mozilla.org/show_bug.cgi?id=1737753
Thanks!
Mozilla recognizez the problem, but it's been almost 3 months now and the bug still exists. I was wondering if anybody from KDE could offer a helping hand to Mozilla to fix this bug? My understanding is that it is pretty small change which is needed here: > This means that KWin is blocking the activation because it thinks it's focus stealing, because the app isn't passing along its ID from the notification properly