Desktop: Clicking on the App Icon Opens App With A Differnent Icon Acting as It's Window Icon

Created on 22 Jun 2017  路  11Comments  路  Source: standardnotes/desktop

I'm sorry but I just don't know how to properly describe my problem.
I am using Standard Notes on Fedora Workstation 25. Launching the app by clicking on the app icon always results in a new icon representing it on my dock for the duration that the app is open. The launcher icon is unlinked from the app it just launched. Clicking on it launches the app again.

Maybe the image could help me explain better.

screenshot from 2017-06-14 08-26-00

My Standard Notes launcher, as generated by the AppImage is third from left while the new icon that it creates for the instance of the app that's been launched is the last one. The left-most one.

Ideally, the launcher icon would be representing the app window, not a new (generic looking) icon.

Most helpful comment

So, I got back on Fedora again and faced the same problem except I managed to resolve it this time.
I edited the .desktop file to add the StartupWMClass key and set it to Standard Notes. The icon shows up normally now and the window is associated with the launcher.

Just wanted to let you know :)

All 11 comments

So the first icon on the left (next to Atom) is what is created every time you use the app?

What does the actual Standard Notes icon do?

I'm so, so sorry. I screwed up left and right. 馃檲

The icon that's created is the right-most one. The one with that tiny blue bar underneath it. That's what I have to click on to minimise or maximise the currently open instance of Standard Notes and right-clicking on that is what lets me quit the current instance. Quitting makes that icon disappear.

The actual Standard Notes icon (which is the one third from _right_), acts like it hasn't been clicked at all. But that's what launches the app along with the other icon.

Is there any more information I can provide to help?

Hmm interesting. I believe that might just be how AppImages function. I'll have a look at this when I can. Thanks for the report.

Tried it with another AppImage (Etcher) and that doesn't have this problem.

I moved to elementary OS now and things work the way they should on it. Would you like me to close the issue? I don't see myself returning to Fedora anytime soon so I don't think I can reproduce this issue. Has anybody else complained about having the same problem?

Ya you can probably close it. We can re open it if others report the same issue.

So, I got back on Fedora again and faced the same problem except I managed to resolve it this time.
I edited the .desktop file to add the StartupWMClass key and set it to Standard Notes. The icon shows up normally now and the window is associated with the launcher.

Just wanted to let you know :)

Hmm interesting. Thanks for the update.

Whoa! I had no idea this was a documented issue! And great work on the GIF. I struggled so much to explain what exactly was going wrong.

I used the Peek AppImage. Yes, there's an AppImage for that ;-)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

niyumard picture niyumard  路  6Comments

popey picture popey  路  3Comments

dymdipi picture dymdipi  路  5Comments

mem101296 picture mem101296  路  5Comments

xioren picture xioren  路  5Comments