Forum Discussion

feligato's avatar
feligato
Brass Contributor
Aug 22, 2025

PWA shortcuts don't keep asociated with window - Linux

I recently upgraded to version140.0.3485.14 (Official build) beta (64-bit) and noticed that my PWA, even if they open correctly in a independent window, don't show the "running window counter" on the taskbar.  

So, for example, if a open Outlook, the window open and loads the app, but if a I click the icon again, it opens another window, wich is a little annoying.

I tried removing the PWA from Edge, rebooting, and installing again, but didn't work.

Because the only change I made is updating Edge, I think is related to this build. (too lazy to go back or install the stable release)

11 Replies

  • Stryker's avatar
    Stryker
    Copper Contributor

    Ran into the same issue. I posted my fix in another thread but wanted to share here as well in case anyone else has the same issue:

    Encountered this while trying to create apps for Teams and Outlook on Ubuntu 24.04. Thank you to the earlier comments about how to resolve this! There was some data missing so here are the steps I followed in case anyone else runs into this later. It's a shame Chromium/Chrome/Brave work but Edge somehow broke this and Microsoft either hasn't noticed or doesn't care.

     

    1. Install your sites as apps.
    2. Go to edge://apps and click on "Details" for each app.
      1. In the URL for each app detail, take note of the long string. This is your app ID. In my case, the URL for Outlook was "edge://apps/details/outlook.office.com/faowiofnngnfdaknnbpskhgogbobgeg".
        1. "faowiofnngnfdaknnbpskhgogbobgeg" is what you need to note.
    3. Once you have the app IDs, open your Files app and navigate to "~/.local/share/applications".
    4. You should see .desktop files for each app you made. The string in the filename should match the string you recorded in step 2.1.
    5. Open one of your apps. Press ALT + F2 and type in "lg". This will open a Looking Glass menu. Click on the "Windows" button and find your app. Look for the line below the app name. It should start with "wmclass: msedge<some value here>"
      1. Take note of the structure of this string. You shouldn't need to record the entire string, but pay attention to the structure.
        1. In my case, the string looked like this: "wmclass: msedge-_faowiofnngnfdaknnbpskhgogbobgeg-Default"
    6. Close Looking Glass (press escape). Open the .desktop file that matches your string.
      1. Look for the line that starts with "StartupWMClass=<something here>"
      2. Replace the data after the "=" to match the structure of the string in Looking Glass.
        1. My line looked like this after: "StartupWMClass=msedge-_faowiofnngnfdaknnbpskhgogbobgeg-Default"
    7. Save your file and close it. Repeat this process for any other apps you installed.
    8. Log out and back in. Open your apps. They should now open under their own icons in your dock.

     

    Hope this helps! I made this to help save someone's time. If you encounter any issues with my guide, please share and I'll fix it!

  • Hello! Heres is a video I made to fix the problem for all Edge users; the video is in Spanish but I 'm sure you can follow along. The video will start on the explaining part. Hope it helps everyone.

    https://youtu.be/rVwSnoFK898?si=P6gGvXSuRhrBqh1M&t=138

    • bengiff's avatar
      bengiff
      Copper Contributor

      Easy to implement and worked for me! Gracias!

  • Problem persists, I'm on version 142.0.3595.53, none of the PWA apps like Teams, Outlook, WhatsApp and others are showing correctly in the dock.

  • StevePOI's avatar
    StevePOI
    Brass Contributor

    Hello!

    Update:

    With microsoft-edge-stable.x86_64 141.0.3537.71-1 it was possible for me to use the information of ArloGilbert​ from the thread here: [Wayland] PWAs no longer appear as separate app windows — all group under main Edge icon | Microsoft Community Hub and get separate windows and the icons have a dot after starting the PWAs.

    What I had to do was to find out the StartupWMClass with lg and correct the "crx__*" Entry with the correct one, which is similiar to the Icon String, but with an additional "_":

    Icon=msedge-abcdef-default
    StartupWMClass=msedge-_abcdef-default

    Only problem with MS Edge left for me at the moment is the instant crash of all Edge processes when opening the "save as" Dialog in the downloads section, but I´ll open a separate issue for that!

    Thanks!

    With kind regards,

    Steve

  • StevePOI's avatar
    StevePOI
    Brass Contributor

    Problem persists in Microsoft Edge Stable microsoft-edge-stable-141.0.3537.57-1 !

  • rarias's avatar
    rarias
    Copper Contributor

    Same problem here on Ubuntu 24. So far seems like all 140.x versions of Edge has this issue, and the only temporary solution is to rollback to 139.x version.

     

    Hope to see any solution or workaround soon, Edge works very nicely on Linux, and some tools under PWA are really nice additions

  • haukeb's avatar
    haukeb
    Copper Contributor

    Same here. After normal system update the PWA icons spawn a new icon which is only a grey gear. And the most anoying: every pwa is in that. And klicking again on the teams or outlook pwa spawns a new instance, also collected in that grey gear icon.

     

  • mtrevirs's avatar
    mtrevirs
    Copper Contributor

    I’ve noticed the same bug on my system as well.
    In my case: Ubuntu 24.04.3 LTS, GNOME on Wayland, Edge Version 140.0.3485.66 (Official build) (64-bit).
    The issue also occurs on Chrome.

  • StevePOI's avatar
    StevePOI
    Brass Contributor

    Hello!

    I´m also affected, but additionally the PWA wouldn´t open in own windows in my Fedora 41 Gnome Shell but were grouped and without icons under the Microsoft Edge Entry of ALT-TAB, so switching applications was a guessing game when pressing the SUPER key etc....
    As mentioned the downgrade to 139 fixed this, so it is an Edge behaviour and not triggered by changes in mutter, gnome shell etc..

    Additionally Edge 140 core dumped immediately when I downloaded any file and pressed "save under" (the file was still downloaded completely in the chosen location, but having the .crdownload ending), choosing "save" worked fine. -> I´ll open an extra topic for this.

    Since I have to use Edge by command of my work and not by my own free will I´d be rather inclined to have this fixed soon before any zero day problem makes "sudo dnf versionlock add microsoft-edge-stable" a liability.

    With kind regards and in hope of a quick fix,

    Stephan

  • feligato's avatar
    feligato
    Brass Contributor

    I went back to the stable release, but recently this one got updated to version140.0.3485.54-1, wich bring this "bug" to my setup again.

    Not the ideal solution, but for the time being, I wen back to version 139.0.3405.125-1, hoping it gets resolved in future updates. I really don't want to switch browser (Brave maybe), Edge works great with MS plattforms and has some functions that I really like.