Hello, and sorry for the slow reply here. The sources for building the Firefox snap are at https://github.com/canonical/firefox-snap however for the desktop file we directly use whatever Mozilla provides, which is 'taskcluster/docker/firefox-snap/firefox.desktop' in the Firefox source tree.
However, there is ongoing work upstream per https://bugzilla.mozilla.org/show_bug.cgi?id=1901703 to unify that and the other firefox.desktop files across their tree and have them instead be generated by a call to their 'mach' tool like 'mach repackage desktop-file' during build time. I believe this new approach also adds a 'StartupWMClass' field to the generated desktop file, so I'll mark this bug as 'In Progress'. ** Bug watch added: Mozilla Bugzilla #1901703 https://bugzilla.mozilla.org/show_bug.cgi?id=1901703 ** Changed in: firefox (Ubuntu) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2045820 Title: firefox snap .desktop missing StartupWMClass To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2045820/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs