Closed Bug 1843045 Opened 1 year ago Closed 1 year ago

Set WMClass in Flatpak .desktop file

Categories

(Thunderbird :: Build Config, enhancement)

enhancement

Tracking

(thunderbird_esr115 fixed, thunderbird116 fixed)

RESOLVED FIXED
117 Branch
Tracking Status
thunderbird_esr115 --- fixed
thunderbird116 --- fixed

People

(Reporter: rjl, Assigned: rjl)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Firefox sets StartupWMClass in their Flatpak .desktop file, and it's pretty much necessary to get taskbar icons to show up right on Wayland.

Firefox always sets StartupWMClass=firefox though, which is incorrect for beta versions. It should be "firefox-beta". (Bug 1826330?)

Since Thunderbird's .desktop file is already generated via Jinja2 template to get translated strings, StartupWMClass can easily be set appropriately for beta builds.

Assignee: nobody → rob
Status: NEW → ASSIGNED
Component: General → Build Config
Target Milestone: --- → 117 Branch

Comment on attachment 9343507 [details]
Bug 1843045 - Set StartupWMClass in Thunderbird Flatpak .desktop file. r=#thunderbird-build-system-reviewers

[Approval Request Comment]
Regression caused by (bug #): N/A
User impact if declined: Taskbar icon may be a generic application icon for Flatpak users running on Wayland
Testing completed (on c-c, etc.):
Risk to taking this patch (and alternatives if risky): Low risk. Adds a line to the .desktop file that's needed for Wayland users.

Attachment #9343507 - Flags: approval-comm-esr115?
Attachment #9343507 - Flags: approval-comm-beta?

Pushed by sean@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/ce1f17a138e6
Set StartupWMClass in Thunderbird Flatpak .desktop file. r=dandarnell

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED

Comment on attachment 9343507 [details]
Bug 1843045 - Set StartupWMClass in Thunderbird Flatpak .desktop file. r=#thunderbird-build-system-reviewers

[Triage Comment]
Approved for beta

Attachment #9343507 - Flags: approval-comm-beta? → approval-comm-beta+
Regressions: 1843959

Comment on attachment 9343507 [details]
Bug 1843045 - Set StartupWMClass in Thunderbird Flatpak .desktop file. r=#thunderbird-build-system-reviewers

[Triage Comment]
Approved for esr115

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

Attachment

General

Created:
Updated:
Size: