Bug 428484

Summary: kmymoney build with alkimia 8.0.4 uses resource files from alkimia, not kmymoney
Product: [Frameworks and Libraries] libalkimia Reporter: Ralf Habacker <ralf.habacker>
Component: GeneralAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: me
Priority: NOR    
Version: 8.0.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 8.0.5

Description Ralf Habacker 2020-10-30 22:25:18 UTC
STEPS TO REPRODUCE
1. Compile kmymoney with alkimia 8.0.4
2. start kmymoney
3. inspect over view page

OBSERVED RESULT
The overview page looks incomplete (wrong colors, no visible blocks)
Running  

   strace -e trace=file kmymoney 2>&1 | grep html/kmymoney.css

shows that kmymoney searches for files in the wrong appdata directory

   access("/usr/share/kde4/apps/alkimia/html/kmymoney.css", R_OK) = -1 ENOENT (No such file or directory)


EXPECTED RESULT
kmymoney should use the correct app data directory

SOFTWARE/OS VERSIONS
Linux: openSUSE_Leap_15.1 
KDE Frameworks Version: 4.14
Qt Version: 4.8.7
Comment 1 Dawid Wróbel 2020-10-30 22:27:54 UTC
We should switch to shipping all the resources as QResource items, avoiding issues with their location on filesystem. This is especially problematic with Windows, macOS and AppImage builds.
Comment 2 Ralf Habacker 2020-10-30 22:34:16 UTC
Git commit ff57d7bdbf907deae24583c16f38153f9e10d463 by Ralf Habacker.
Committed on 30/10/2020 at 22:33.
Pushed by habacker into branch '8.0'.

Do not override the global translation domain of the application
FIXED-IN:8.0.5

M  +3    -1    src/alkonlinequoteswidget.cpp

https://invent.kde.org/office/alkimia/commit/ff57d7bdbf907deae24583c16f38153f9e10d463
Comment 3 Jack 2020-10-30 22:55:14 UTC
Will this affect a Linux build, or just the more packaged build types mentioned in Comment #1?