Bug 494581 - Unable to drag and drop any files in dolphin since plasma 6.2 upgrade
Summary: Unable to drag and drop any files in dolphin since plasma 6.2 upgrade
Status: RESOLVED NOT A BUG
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.08.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-12 06:25 UTC by pallaswept
Modified: 2024-11-01 15:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Can't drag'n'drop in dolphin (128.00 KB, video/webm)
2024-10-12 06:25 UTC, pallaswept
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pallaswept 2024-10-12 06:25:10 UTC
Created attachment 174721 [details]
Can't drag'n'drop in dolphin

SUMMARY
Unable to drag'n'drop in dolphin.
This was working, dolphin has not been upgraded, but I did update to plasma 6.2 and then this broke. I'm also seeing other drag'n'drop issues in plasma panels eg https://bugs.kde.org/show_bug.cgi?id=494520 and I just noticed it's also effecting the launcher so I'll file that next) that came with that upgrade. I would guess that this is actually a kwin bug? But filing it against dolphin as that's where I'm seeing it. Video attached.

STEPS TO REPRODUCE
1. Update to plasma 6.2
2. Try to drag'n'drop files in dolphin

OBSERVED RESULT
Cursor turns into the red circle+white X cursor when starting to drag, and dropping the file does nothing

EXPECTED RESULT
Drag'n'drop with the optional cool menu at the end (BTW, geez, that feature is SO nice, a11y/10, thanks!) like usual.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20241009
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.11.2-1-default (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3090/PCIe/SSE2
Manufacturer: ASUS
Comment 1 Jin Liu 2024-10-13 03:49:02 UTC
Unable to reproduce in Qt 6.8. It's expected that the cursor turns into the red circle initially, because you can't drop the file onto other files. But when I drag it into the empty area below files, the cursor turns into a plus sign.

Also, the filename should be under the cursor when dragging, but it's missing in your screen recording. So it seems there is something wrong in your DnD, but I'm unsure what it is. Maybe a Qt 6.7.3 specific problem.

Operating System: Arch Linux 
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.8.0
Kernel Version: 6.11.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics
Memory: 13.5 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Comment 2 pallaswept 2024-10-13 03:57:38 UTC
(In reply to Jin Liu from comment #1)
Hi Jin Liu, thanks for looking at this for me

> Maybe a Qt 6.7.3 specific problem.

That seems plausible. I'm certain it's not specific to dolphin as I've seen the same kind of broken DnD in other KDE apps (see also). I'm using openSUSE tumbleweed, and I don't seem to be able to find even a pre-release package of qt 6.8 to try. Is there anything else that I could do, to try and pin this down? Happy to spend as much time on it as needed.
Comment 3 Jin Liu 2024-10-13 04:10:15 UTC
(In reply to pallaswept from comment #2)
> (In reply to Jin Liu from comment #1)
> Hi Jin Liu, thanks for looking at this for me
> 
> > Maybe a Qt 6.7.3 specific problem.
> 
> That seems plausible. I'm certain it's not specific to dolphin as I've seen
> the same kind of broken DnD in other KDE apps (see also). I'm using openSUSE
> tumbleweed, and I don't seem to be able to find even a pre-release package
> of qt 6.8 to try. Is there anything else that I could do, to try and pin
> this down? Happy to spend as much time on it as needed.

I'll try downgrading to Qt 6.7.3 to check this.
Comment 4 Jin Liu 2024-10-13 04:25:23 UTC
Can't reproduce with Qt 6.7.3 in Arch. Maybe you could report this to opensuse.
Comment 5 pallaswept 2024-10-13 04:32:06 UTC
(In reply to Jin Liu from comment #4)
> Can't reproduce with Qt 6.7.3 in Arch. Maybe you could report this to
> opensuse.

Thanks so much for trying it! I'll report this downstream and see how they go.
Comment 6 pallaswept 2024-10-17 23:03:54 UTC
No response from them at all, is there anything else I could try? Maybe something I could enable, to obtain logs of this behaviour?
Comment 7 pallaswept 2024-11-01 15:26:19 UTC
Fixed by forcibly reinstalling Qt6 (494520 for details)

Thank you very much for your help :)