Bug 463586 - drag and drop files from gwenview into a folder in dolphin is broken (only works the first time)
Summary: drag and drop files from gwenview into a folder in dolphin is broken (only wo...
Status: RESOLVED DUPLICATE of bug 460314
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 22.12.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-29 12:33 UTC by Jim Jones
Modified: 2023-01-26 15:14 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Jones 2022-12-29 12:33:56 UTC
SUMMARY
Drag and drop operation from qenview into dolphin is broken, it works for the first time, but doing it a second time with different files, always tries to copy the files from the first drap and drop operation

STEPS TO REPRODUCE
1. drag file A from gwenview into a folder in dolphin (it works)
2. drag file B from gwenview into a folder in dolphin (it tries to copy the file A again, although file B is dragged)

OBSERVED RESULT
tries to copy the file A from the first drag operation,when doing a second opeartion with file B

EXPECTED RESULT
file B gets copied

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Graphics Platform: X11
Comment 1 Jim Jones 2022-12-29 12:44:00 UTC
dragging files into other apps like konsole seems normally.

Restarting dolphin fixes the problem and it works one time again (so it could be that the problem is also dolpin related)
Comment 2 Jim Jones 2022-12-29 12:48:19 UTC
Better way to reproduce, show the bug:

STEPS TO REPRODUCE
1. drag multiple files (A) from gwenview into a folder in dolphin (it works)
2. drag file (B) from gwenview into a folder in dolphin (it tries to copy/overwrite the files (A) selected in step (1.) again, although only one file (B) is dragged)
Comment 3 wbqq 2022-12-29 21:16:20 UTC
can confirm this bug exists on
garuda 5.26.4 / 5.102.0 / 5.15.7 / apps 22.08
gentoo 5.26.4 / 5.100.0 / 5.15.7 / apps 22.12
but does not appear on void linux 5.26.3 / 5.101.0 / 5.15.7 / apps 22.08.2

whats really interesting is that it only works with gwenview+dolphin. gwenview+pcmanfm as well as dolphin+firefox work just fine
would really like to know any workaround (even the evil ones) because i rebuilt the whole system and deleted all the configs but still havent solved this bug
Comment 4 wbqq 2022-12-29 22:59:42 UTC
downgrading to plasma 5.26.2 / frameworks 5.99.0 / apps 22.08.2 didnt help. the problem might be in qt, not plasma
Comment 5 Jim Jones 2022-12-30 02:42:21 UTC
the bug also happens when copying files between two gwenview windows.
Comment 6 wbqq 2022-12-31 16:58:47 UTC
can be solved by downgrading gwenview to 21.12.3. yes, not even 22.08
i also downgraded qt to 5.15 just in case but i dont think it's necessary
Comment 7 Marcin Gryszkalis 2023-01-11 08:14:47 UTC
I can confirm problem on Arch, with gewnview 22.12.1-1
Comment 8 Marcin Gryszkalis 2023-01-14 00:57:03 UTC
I found commit responsible for this bug: https://invent.kde.org/graphics/gwenview/-/commit/b6e8d6a9786937602e76d3ed26ca2ba4043b2336

gwenview compiled from current master with this patch reversed works properly.

Harald @sitter is the author.
Comment 9 Jim Jones 2023-01-18 12:18:46 UTC
reverting the commit b6e8d6a9786937602e76d3ed26ca2ba4043b2336 fixes the bug for me too
Comment 10 wbqq 2023-01-18 16:50:14 UTC
i would like those who can confirm this bug to also try drag-n-drop images from notifications to dolphin, for example with `spectacle -fb`
it also seems broken for me and it might be somehow related to this bug
Comment 11 Mihai Sorin Dobrescu 2023-01-18 19:26:52 UTC
I confirm it exists on a Gentoo based distro.
Comment 12 Harald Sitter 2023-01-26 15:14:07 UTC

*** This bug has been marked as a duplicate of bug 460314 ***