<table><tr><td style="">pdabrowski updated this revision to Diff 62444.<br />pdabrowski retitled this revision from "[Klipper] Fix clipboard history clearing" to "[Klipper] Fix clipboard history management".<br />pdabrowski edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-dqaby2whdy2qu7p/">(Show Details)</a><br />pdabrowski added a comment.<br />This revision is now accepted and ready to land.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D22684">View Revision</a></tr></table><br /><div><div><p>new diff: proper fix for clipboard history management</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Replace history's m_last entry pointer with a weak one, so it does not continue to hold a reference to the most recent history entry after the history is cleared</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Keep track of the last item even if it is not going to be saved in history.<br />
Allow accessing it with Klipper::activeItem().<br />
Notify tray icon about changes to the active item</span>.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D22684?vs=62410&id=62444">https://phabricator.kde.org/D22684?vs=62410&id=62444</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D22684">https://phabricator.kde.org/D22684</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>klipper/klipper.cpp<br />
klipper/klipper.h<br />
klipper/tray.cpp<br />
klipper/tray.h</div></div></div><br /><div><strong>To: </strong>pdabrowski, Plasma, Plasma: Workspaces, ngraham, davidedmundson<br /><strong>Cc: </strong>plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>