Bug 391733 - Startup WM Class is wrong
Summary: Startup WM Class is wrong
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.0.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-11 22:14 UTC by Doug B
Modified: 2018-03-12 16:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.0.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug B 2018-03-11 22:14:42 UTC
I am  not 100% sure if this is an Arch AUR problem or if this something you control, so I apologize if the former is true.

I noticed that when I launched KMyMoney, it didn't open in the proper icon in my favorites menu. This is the behaviour that usually happens when the WM Class is not set properly.

So, I used the command, "xprop WM_CLASS" to examine the window manager class of KMyMoney. -- It was "kmymoney".

Next, I edited the desktop file for KMyMoney and say it's StartupWMClass was "Kmymoney" with a capital "K". I changed "K" to lowercase "k" and the problem was solved.

Cheers.
Comment 1 Doug B 2018-03-11 22:17:35 UTC
Doesn't look like I can edit comments here. 

Just want to correct my last sentence:

'Next, I edited the desktop file for KMyMoney and found the StartupWMClass was "Kmymoney" with a capital "K". I changed "K" to lowercase "k" and the problem was solved.'
Comment 2 Thomas Baumgart 2018-03-12 15:36:18 UTC
Git commit 8c8f26c44cb19d90f8cbe179f7246d9b9de89832 by Thomas Baumgart.
Committed on 12/03/2018 at 15:36.
Pushed by tbaumgart into branch '5.0'.

Fix StartupWMClass

M  +1    -1    kmymoney/org.kde.kmymoney.desktop

https://commits.kde.org/kmymoney/8c8f26c44cb19d90f8cbe179f7246d9b9de89832