Bug 478202 - Interface one minute lag while saving "data:image..." from Vivaldi (Chromium)
Summary: Interface one minute lag while saving "data:image..." from Vivaldi (Chromium)
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-performance (show other bugs)
Version: 5.27.9
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-07 10:49 UTC by Alexei
Modified: 2024-10-18 03:47 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 Alexei 2023-12-07 10:49:49 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. open Vivaldi browser and website https://huggingface.co/spaces/AP123/IllusionDiffusion
2. generate any image
3. save generated image

I think it can be reproduced with any image that has src="data..."

OBSERVED RESULT
Interface lag for a minute and plasmashell takes all of the RAM I have (16GB) while notification tries to appear.

EXPECTED RESULT
Save image without waiting for a minute for notification to appear.

SOFTWARE/OS VERSIONS
Windows: -
macOS: -
Linux/KDE Plasma: 6.6.3-1-MANJARO (64-бита)
(available in About System)
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-12-07 22:54:50 UTC
How large is the image file?

Does this issue happen if you try to do the same thing in Firefox or stock Chromium?
Comment 2 Alexei 2023-12-08 10:10:54 UTC
(In reply to Nate Graham from comment #1)
> How large is the image file?
> 
> Does this issue happen if you try to do the same thing in Firefox or stock
> Chromium?

The image size is around 1.8 MB
Tested other sizes, the smaller file, the faster it goes.

Firefox doesn't produce conditions for that bug, the notification title is filename you enter on save.
Chrome don't do any notification at all (Flatpak version).

I think the problem is because whole "data..." goes into title of notification, so no matter what app will create notification, if string is megabyte plus size the error will occur. The solution might be to shorten string on notification api side, because other apps can do many bad things not knowing KDE plasma limitations.

BTW: Vivaldi version is 6.4.3160.47
Comment 3 TraceyC 2024-09-18 22:20:37 UTC
Are you still experiencing this problem?
I am not able to reproduce the bug on Plasma 6.1.5, Vivaldi  6.9.3447.46 (Stable channel) 

If you still see the problem, how are you getting file sizes over 1MB? After quite a few image generations, the largest was about 254k
Comment 4 Bug Janitor Service 2024-10-03 03:47:15 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2024-10-18 03:47:57 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.