D16842: [clipboard] Limit length of clipboard text item visualisation
Anthony Fieroni
noreply at phabricator.kde.org
Mon Nov 12 17:39:41 GMT 2018
anthonyfieroni created this revision.
anthonyfieroni added reviewers: Plasma, broulik, davidedmundson.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
anthonyfieroni requested review of this revision.
REVISION SUMMARY
Applying regex to long text item (> 5000 symbols) is extremely slow and memory consuming.
TEST PLAN
Make a config over 16 records in Clipboard, copy some json string or whatever you have as long texts > 5000 symbols. I hat slow plasmashell, high cpu usage, slow running and over 700 MB of RAM.
REPOSITORY
R120 Plasma Workspace
REVISION DETAIL
https://phabricator.kde.org/D16842
AFFECTED FILES
applets/clipboard/contents/ui/TextItemDelegate.qml
To: anthonyfieroni, #plasma, broulik, davidedmundson
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20181112/75b27903/attachment.html>
More information about the Plasma-devel
mailing list