Closed Bug 1904390 Opened 3 months ago Closed 2 months ago

Flatpak desktop entry uses incorrect window class name (StartupWMClass)

Categories

(Thunderbird :: OS Integration, defect)

Thunderbird 115
defect

Tracking

(thunderbird_esr128 fixed, thunderbird129 fixed)

RESOLVED FIXED
130 Branch
Tracking Status
thunderbird_esr128 --- fixed
thunderbird129 --- fixed

People

(Reporter: Chronicle, Assigned: dandarnell)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Steps to reproduce:

I pinned Thunderbird to my Linux desktop panel/dock and opened Thunderbird.

Actual results:

Thunderbird launches, and the Thunderbird window shows as a separate duplicate unpinned Thunderbird icon in my Linux desktop panel/dock, instead of the Thunderbird icon that I have pinned to the panel/dock.

Expected results:

With the latest version of the Thunderbird Flatpak (115.12.2), the StartupWMClass of the provided desktop entry has the line "StartupWMClass=thunderbird", whereas the Thunderbird window uses the window class "thunderbird-esr". The desktop entry provided by the Flatpak should be updated to use the line "StartupWMClass=thunderbird-esr".

Component: Untriaged → OS Integration
Assignee: nobody → daniel
Attachment #9412139 - Attachment description: WIP: Bug 1904390 - Fix StartupWMClass for ESR Flatpak builds. r=#thunderbird-build-system-reviewers → Bug 1904390 - Fix StartupWMClass for ESR Flatpak builds. r=#thunderbird-build-system-reviewers
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/2e4f7a463d29
Fix StartupWMClass for ESR Flatpak builds. r=rjl

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch

Comment on attachment 9412139 [details]
Bug 1904390 - Fix StartupWMClass for ESR Flatpak builds. r=#thunderbird-build-system-reviewers

[Approval Request Comment]
User impact if declined: Startup window class on ESR will be incorrect in Flatpak desktop file. I'm requesting beta uplift so the patch can be tested during beta release process before landing on ESR; this patch should have no impact on the beta flatpak, only the desktop file generating script.
Testing completed (on c-c, etc.): Local machine
Risk to taking this patch (and alternatives if risky): Low

Attachment #9412139 - Flags: approval-comm-beta?

Comment on attachment 9412139 [details]
Bug 1904390 - Fix StartupWMClass for ESR Flatpak builds. r=#thunderbird-build-system-reviewers

[Triage Comment]
Approved for beta

Attachment #9412139 - Flags: approval-comm-beta? → approval-comm-beta+

Daniel, do we want this in 128?

Flags: needinfo?(daniel)

Comment on attachment 9412139 [details]
Bug 1904390 - Fix StartupWMClass for ESR Flatpak builds. r=#thunderbird-build-system-reviewers

Yes, this should land on the next ESR release.

[Approval Request Comment]
User impact if declined: Startup window class will be incorrect on ESR Flatpak
Testing completed (on c-c, etc.): Thunderbird Beta
Risk to taking this patch (and alternatives if risky): Low

Flags: needinfo?(daniel)
Attachment #9412139 - Flags: approval-comm-esr128?

Comment on attachment 9412139 [details]
Bug 1904390 - Fix StartupWMClass for ESR Flatpak builds. r=#thunderbird-build-system-reviewers

[Triage Comment]
Approved for esr128

Attachment #9412139 - Flags: approval-comm-esr128? → approval-comm-esr128+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: