<table><tr><td style="">davidedmundson added a comment.
</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/D19852">View Revision</a></tr></table><br /><div><div><p>It means only spectacle fills memory, not doing work in gimp.</p>

<p>The issue is that spectacle closes, but we need klipper to copy the image in advance as it doesn't know that spectacle is about to close. It's unique to this situation.</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Your approach is just going to give the data a different MIME type.</p></blockquote>

<p>Additional mime hint, not a different mime type.</p>

<p>But you're right my idea could be expanded upon to only keep the image when it's the top of the stack, that would work nicely.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D19852">https://phabricator.kde.org/D19852</a></div></div><br /><div><strong>To: </strong>kdautovic, Plasma: Workspaces, davidedmundson<br /><strong>Cc: </strong>davidedmundson, plasma-devel, Plasma: Workspaces, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>