[dolphin] [Bug 462928] Copying a file after another copies the first file again

Felix Ernst bugzilla_noreply at kde.org
Tue Dec 13 22:58:03 GMT 2022


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

--- Comment #8 from Felix Ernst <felixernst at kde.org> ---
(In reply to antonio from comment #6)
> (In reply to Felix Ernst from comment #5)
> > I couldn't reproduce this.
> > Would be interesting to know if
> > https://invent.kde.org/system/dolphin/-/commit/
> > 8d7e600f63a1961294dfe2c278a710b4ce0716e9 might be the cause of this. That
> > commit made it so Dolphin can copy files to sandboxed applications (flatpak,
> > snap). For this to work, it had to change what is exported to the clipboard.
> 
> I tried to recompile locally, revert this commit solve the problem.

Thanks a lot for testing! This helps quite a bit!

(In reply to antonio from comment #7)
> I don't know the code, but if you recompile these changes, no problems occur
> (and maintain export):

Your changes are unfortunately functionally identical to a complete revert of
8d7e600f63a1961294dfe2c278a710b4ce0716e9. We need the same `data` object that
was used in `exportUrlsToPortal()` to make its way to the clipboard, otherwise
it has no effect and we lose the functionality of copy-pasting into sandboxed
applications. Thanks for trying to fix it though!

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list