Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FolderStatusModel: only create a single QFileIconProvider object #7899

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

nilsding
Copy link
Member

otherwise the icons will end up being loaded from the system each time, which on Windows takes quite long (I saw many calls to shell32.dll!SHDefExtractIcon during profiling)

Fixes #7372, tested on Win11, Linux, macOS

@nilsding
Copy link
Member Author

/backport to stable-3.16

@nilsding nilsding force-pushed the bugfix/settingswindow-performance-improvement branch from 11e10c1 to 3f4a987 Compare February 20, 2025 13:26
otherwise the icons will end up being loaded from the system each time,
which on Windows takes quite long (I saw many calls to
`shell32.dll!SHDefExtractIcon` during profiling)

Signed-off-by: Jyrki Gadinger <[email protected]>
@nilsding nilsding force-pushed the bugfix/settingswindow-performance-improvement branch from 3f4a987 to df4a8e9 Compare February 20, 2025 13:39
@nilsding nilsding requested a review from claucambra February 20, 2025 13:42
Copy link
Collaborator

@claucambra claucambra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Copy link

Artifact containing the AppImage: nextcloud-appimage-pr-7899.zip

SHA256 checksum: 30b38c630382d060a4863df506898ee4409438936cab6ec57f871bf5fb267d76

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@nilsding nilsding enabled auto-merge February 20, 2025 14:03
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
3 Security Hotspots
33 New Code Smells (required ≤ 0)
E Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@nilsding nilsding merged commit b05a2bc into master Feb 20, 2025
13 of 16 checks passed
@nilsding nilsding deleted the bugfix/settingswindow-performance-improvement branch February 20, 2025 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: 3.15.x/3.16-RC1 is slow/slugish on Win11 23H2/24H2
2 participants