Bug 391733

Summary: Startup WM Class is wrong
Product: [Applications] kmymoney Reporter: Doug B <work>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.0.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.0.1

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