Closed Bug 1911509 Opened 1 year ago Closed 2 months ago

The app isn’t taken to foreground when clicking on native notifications in Windows 11 24H2 (Windows 23H2 and previous work fine)

Categories

(Thunderbird :: OS Integration, defect)

Thunderbird 128
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: riccardo.dallaglio, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Steps to reproduce:

  1. open multiple apps/programs, with Thunderbird not in foreground
  2. Receive a new email notification and click on it

Actual results:

Thunderhird window is not taken to foreground. The selected email is correctly open, but the main app window won’t be focused, remains behind other apps

Expected results:

The mail is opened and Thunderbird is taken to foreground.

This should have been fixed in bug 1863798. The QA people confirmed that is was working.

See Also: → 1863798

Unfortunately that is not the case. The issue can be reproduced in Windows 11 24H2. But it works fine in Windows 23H2 or previous versions. 24H2 is currently available via Insider Preview channel and it’s the version new Copilot+ PCs ship with. Therefore, as soon as the new Windows release will start rolling out to more people, it won’t work again. Side note: other apps such as Telegram Desktop have the same issue, while native WinUI/UWP apps work fine

Thanks for the clarification.

Perhaps it's a bug in 24H2 then?
Do you see it in Firefox notifications as well?

Summary: The app isn’t taken to foreground when clicking on native notifications in Windows 11 24H2 → The app isn’t taken to foreground when clicking on native notifications in Windows 11 24H2 (Windows 23H2 and previous work fine)

(In reply to Magnus Melin [:mkmelin] from comment #4)

Perhaps it's a bug in 24H2 then?
Do you see it in Firefox notifications as well?

This is most likely either a change or a bug in the notification stack for Windows 24H2. The same issue happens in Firefox indeed, and seems to affect all Win32 apps. But it works perfectly fine with UWP/WinUI apps. Unfortunately, I wasn't able to find some relevant change in the Microsoft documention. I also have no clue how to further escalate this to Microsoft, if this is the case.

Blocks: tb128found

(In reply to Ric from comment #5)

This is most likely either a change or a bug in the notification stack for Windows 24H2. The same issue happens in Firefox indeed, and seems to affect all Win32 apps. But it works perfectly fine with UWP/WinUI apps. Unfortunately, I wasn't able to find some relevant change in the Microsoft documention. I also have no clue how to further escalate this to Microsoft, if this is the case.

bug 1912593 also?

Windows 11 24H2 has now been rolled out to users. Did they fix this?

(In reply to Magnus Melin [:mkmelin] from comment #7)

Windows 11 24H2 has now been rolled out to users. Did they fix this?

The issue remains. It also affects multiple Win32 apps that rely on QT, as well as Firefox.

The biggest issue related to this is that

  1. Native Windows notifications do not work properly on click
    And
  2. Custom Thunderbird notifications do not respect Focus Mode settings (Quiet hours / Do Not Disturb and so on).

Suggested workaround: Add an option for Thunderbird custom notifications to respect Windows Focus mode, without defaulting to Windows native notifications.

vlad, ramona, can you reproduce?

Flags: needinfo?(vlucaci)
Flags: needinfo?(ramona)

Hello,

We tried to reproduce this issue on multiple Windows configurations with 140.0b3 and the latest 141.0a1 as follows:

Did NOT reproduce this issue:

  • Windows 11 Pro Version 23H2 (OS Build 22631.5189)
  • Windows 11 Pro Version 23H2 (OS Build 22635.3858)
  • Windows 10 Pro Version 22H2( OS Build 19045.5965)

Reproduced this issue:

  • Windows 11 Insider Preview (Canary) (OS Build 27842.1000)
  • Windows 11 Insider Preview (Canary) (OS Build 27871.1000)
  • Windows 11 Insider Preview 24H2 (Beta) (10.0.26120.4250)
Flags: needinfo?(vlucaci)
Flags: needinfo?(ramona)

Provided attachments of the issue and the error console.

I just updated my Windows 11 on August 13th, version 24H2 OS build 26100.4946, and now clicking on a notification brings Thunderbird up to the foreground correctly.

(In reply to Alessandro Castellani [:aleca] from comment #13)

I just updated my Windows 11 on August 13th, version 24H2 OS build 26100.4946, and now clicking on a notification brings Thunderbird up to the foreground correctly.

This is indeed fixed with the latest Windows build version. Turns out it was of course an issue with Windows.

Status: UNCONFIRMED → RESOLVED
Closed: 2 months ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: