Bug 431247 - Breeze gtk theme is slow
Summary: Breeze gtk theme is slow
Status: RESOLVED FIXED
Alias: None
Product: Breeze
Classification: Plasma
Component: gtk theme (other bugs)
Version First Reported In: 5.20.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Janet Blackquill
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-07 01:18 UTC by Vuk Mirovic
Modified: 2021-11-19 15:20 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vuk Mirovic 2021-01-07 01:18:33 UTC
SUMMARY
I noticed that GTK apps are slower to start than before, not much but I can notice it. Turns out it's Breeze GTK theme. 
When I set GTK theme to Default, apps open almost instantly, when I set to Breeze, they have 1-2s delay on startup. Chromium is not too bad, but one app I use TablePlus (DB viewer) I really notice it, because startup is instead of being instant about 2s.

STEPS TO REPRODUCE
1. Install GTK app as Chromium or TablePlus (heavy GTK app)
2. Set GTK theme to Default, launch apps, instant launches
3. Set GTK theme to Breeze, launch apps, notice startup lag

OBSERVED RESULT
Startup lag

EXPECTED RESULT
No startup lag


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Janet Blackquill 2021-11-19 05:02:21 UTC
can you test to see if this is improved with the following commit?

commit b61b76e7feb73f7998fd068966121c3f73ea2311
Author: Jan Blackquill <uhhadd@gmail.com>
Date:   Thu Nov 18 22:47:19 2021 -0500

    gtk3, gtk4: improve build times

besides slowing down the build times a lot, the code removed by this commit also made the output files somewhat bigger
Comment 2 Nate Graham 2021-11-19 15:20:13 UTC
Oh wow, so much faster. A massive improvement!