https://bugs.kde.org/show_bug.cgi?id=480127

Fushan Wen <qydwhotm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
   Version Fixed In|                            |6.3
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi
                   |t/c4c47a5cde045a49e8b3b315f |t/5e2732bb05d726efa044749df
                   |81d0bb9fc855aba             |b75ceff00cb4ee5
         Resolution|---                         |FIXED

--- Comment #8 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit 5e2732bb05d726efa044749dfb75ceff00cb4ee5 by Fushan Wen.
Committed on 21/12/2024 at 10:31.
Pushed by fusionfuture into branch 'master'.

klipper: reduce memory usage when there are many images

Set Image's sourceSize property to reduce memory usage.

Test: Add 3 2048x2048 images, get plasmawindowed's RSS from ps command:
- Before: `before: 246256 after: 389356 diff: 143100`
- After: `before: 246400 after: 321944 diff: 75544`
FIXED-IN: 6.3

M  +7    -1    appiumtests/applets/clipboardtest.py
M  +1    -0    klipper/declarative/qml/ClipboardItemDelegate.qml
M  +4    -2    klipper/declarative/qml/ImageItemDelegate.qml
M  +12   -1    klipper/historymodel.cpp
M  +1    -0    klipper/historymodel.h

https://invent.kde.org/plasma/plasma-workspace/-/commit/5e2732bb05d726efa044749dfb75ceff00cb4ee5

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to