Bug 407938 - Icon resource file rcc is two times bigger on MacOS than on MS Windows
Summary: Icon resource file rcc is two times bigger on MacOS than on MS Windows
Status: RESOLVED FIXED
Alias: None
Product: Breeze
Classification: Plasma
Component: Icons (show other bugs)
Version: 5.15.90
Platform: Compiled Sources macOS
: NOR normal
Target Milestone: ---
Assignee: visual-design
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-25 11:32 UTC by wojnilowicz
Modified: 2024-08-25 16:59 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wojnilowicz 2019-05-25 11:32:50 UTC
SUMMARY
Compiling breeze icons on different operating systems as binary resource procudes files that differ significantly in size.

STEPS TO REPRODUCE
1. Download http://download.kde.org/stable/frameworks/5.58/breeze-icons-5.58.0.tar.xz
2. Compile with BINARY_ICONS_RESOURCE=ON
3. Do above on MacOS and MS Windows
4. Compare size of resultant breeze-icons.rcc file

OBSERVED RESULT
breeze-icons.rcc is 7.6 MB on MS Windows
breeze-icons.rcc is 19.3 MB on MacOS

EXPECTED RESULT
Size of breeze-icons.rcc should be equal on all operating systems

SOFTWARE/OS VERSIONS
Windows: 7, msys
macOS: 10.13, clang


ADDITIONAL INFORMATION
I think rcc file on MacOS contains duplicated data, eg.
In <BUILD_DIR>/icons/res/actions
there are two directories named:
"16" and "16@2x"
whereas on MS Windows there is only one directory named:
"16"
On MacOS "16" and "16@2x" have equal size, so they contain the same data.