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

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/pla
                   |                            |sma-workspace/423308f854c4b
                   |                            |76c72da4e3263614c7b20642ebf
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Nate Graham <n...@kde.org> ---
Git commit 423308f854c4b76c72da4e3263614c7b20642ebf by Nate Graham, on behalf
of Piotr Henryk Dabrowski.
Committed on 16/12/2019 at 22:58.
Pushed by ngraham into branch 'master'.

[Klipper] Fix clipboard history management

Summary:
Fixed clearing the clipboard when clearing history
(bug #409366 caused by 3bd6ac34ed74e3b86bfb6b29818b726baf505f20)

Properly synchronize clipboard content and history
(deleting last item in history didn't clear the clipboard).

Keep last image in history even if we are ignoring images, but without preview
(so that we can still clear history, and the tooltip says truth about clipboard
content).

Fixed tray icon tooltip text.

Do not scale small images up in clipboard Plasmoid.

{F7168503}

Test Plan:
Spectacle -> [Copy to Clipboard]
Paste into Dolphin (clipboard content)

Deleting single items from clipboard

Clearing the entire history

Reviewers: #plasma, #plasma_workspaces, ngraham, davidedmundson

Reviewed By: #plasma, #plasma_workspaces, ngraham, davidedmundson

Subscribers: GB_2, davidre, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D22684

M  +1    -1    applets/clipboard/contents/ui/ClipboardPage.qml
M  +2    -1    applets/clipboard/contents/ui/ImageItemDelegate.qml
M  +2    -0    klipper/autotests/CMakeLists.txt
M  +23   -7    klipper/historyimageitem.cpp
M  +1    -1    klipper/historyimageitem.h
M  +2    -2    klipper/historyitem.cpp
M  +4    -1    klipper/historyitem.h
M  +1    -0    klipper/historymodel.cpp
M  +12   -0    klipper/historymodel.h
M  +23   -14   klipper/klipper.cpp
M  +2    -2    klipper/klipper.h

https://commits.kde.org/plasma-workspace/423308f854c4b76c72da4e3263614c7b20642ebf

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

Reply via email to