Summary: | Clipboard applet fails to load in Plasma (and effectively freezes Plasma) when history contains large Javascript | ||
---|---|---|---|
Product: | [Unmaintained] klipper | Reporter: | Daniel Duris <kdebugs> |
Component: | plasma-widget | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | grave | CC: | kde, nate |
Priority: | NOR | ||
Version: | 5.12.8 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Daniel Duris
2019-07-31 20:22:36 UTC
This also could be a security issue, but I am not sure, if JS code gets executed or not or why the freeze otherwise happens. How large is that file? I tried with a 7000+ 300 kiB C++ file and cannot reproduce. You can download the file here (1.34 MB minified): https://www.dpdmojkurier.sk/static/js/main.5cfe4e5d.js CTRL+C Go to this JS beautifier: https://beautifier.io/ CTRL+V, beautify, CTRL+C Now try to open Clipboard to see the history, whole plasma just freezes. Once I delete the history file: rm ~/.local/share/klipper/history2.lst And kill and restart plasma, everything is fine. *** This bug has been marked as a duplicate of bug 360262 *** |