-
Notifications
You must be signed in to change notification settings - Fork 640
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
performance issue with svg icon in qt Buttons #7511
Comments
Looks like a bug indeed. |
Hello,
I don't have a public repo (yet).
I can send you a tgz of what I have (I tried to attach to the bug report
but I guess the extension or the file size were not accepted).
Where can I send it ?
I did run a quick perf on it, and it did not show anything svg related that
I can remember.
Also I noticed in another window that putting an image after a listview
seemed to trigger the same kind of slowdown. I'll try to work on a simpler
example this evening if I find the time.
Thanks for your help !
David
Le lun. 3 févr. 2025, 08:28, Olivier Goffart ***@***.***> a
écrit :
… Looks like a bug indeed.
It could be that this code triggers some bad condition in the backend.
Looking at the change, it is perhaps a SVG that is slow to decode, or
trashes the cache or something.
We would need to run a profiler to figure out.
If you give us a link to the reprository so i can try it out, I could try
to investigate.
—
Reply to this email directly, view it on GitHub
<#7511 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIATIUOKMH34VU6JGLBECHD2N4SB3AVCNFSM6AAAAABWJQ6L2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMZQGI3TAMRQGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Here's a quick repro (don't know if it would impact my chess pieces moving), but it definitively impact another dialog
try uncommenting the button which has the delete_image and see the difference. |
I can reproduce the problem |
Bug Description
I noticed my application was suddenly noticeably slower, so I bisected my repo.
This is the culprit :
With this commit reverted, everything is smooth again.
See attached videos
smooth one : (with revert) https://github.com/user-attachments/assets/68a52bb9-515c-40da-bdac-f055295e4d51
choppy one : https://github.com/user-attachments/assets/2431a602-2830-4a3f-a222-3ba36d700bf5
At that point, I'm not sure how I can make a minimal example, but I can give you the full code if you want.
Note : no regression with SLINT_BACKEND=winit
Note : for some reason I could not upload a tgz of my git repo
Reproducible Code (if applicable)
Environment Details
Product Impact
No real impact for me, but I thought you might be interested in tracking that regression.
The text was updated successfully, but these errors were encountered: