*** If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports Please remove this comment after reading and before submitting - thanks! *** SUMMARY STEPS TO REPRODUCE 1. open a folder 2. try to drag a file and drop it into another folder or onto the desktop OBSERVED RESULT Drag doesn't work. It behaves just like you're clicking on the file EXPECTED RESULT should allow to drag and drop and the result should be that it asks whether to copy or move and then it does. Obviously this is a hugely critical issue, as being unable to drag and drop file makes a file manager basically useless. Operating System: Manjaro Linux KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.6.0 Qt Version: 6.7.2 Kernel Version: 6.6.54-2-MANJARO (64-bit) Graphics Platform: Wayland Processors: 12 × 12th Gen Intel® Core™ i7-1255U Memory: 15.3 GiB of RAM Graphics Processor: Mesa Intel® Graphics Manufacturer: ASUSTeK COMPUTER INC. Product Name: Vivobook_ASUSLaptop X1502ZA_F1502ZA System Version: 1.0 ADDITIONAL INFORMATION
Aaaaaand kind of unsurprisingly, after clicking around and switching focus between applications enough to report this bug (I did try that before but that wasn't enough) the issue has gone away on its own. So it's something that randomly happens sometimes and goes away on its own.
>Drag doesn't work. It behaves just like you're clicking on the file >So it's something that randomly happens sometimes and goes away on its own. Maybe it's a mouse or a track pad issue?
> Maybe it's a mouse or a track pad issue? That seems very unlikely, I can't imagine how that could be. The mouse was behaving normally everywhere else outside of Dolphin.
I am not able to reproduce this with Dolphin 24.11.70 on git-master or with Dolphin 24.08.1 on Plasma 6.1.5 I have a few questions to try to narrow down the problem 1. Have you installed any services in Dolphin (found under Menu - Configure - Configure Dolphin - Context Menu)? If so, which ones? 2. Can you take a look at the attached video in bug 494581 and let me know if you are seeing the same behavior with the mouse cursor? Thanks.
.
> I am not able to reproduce Neither am I right now. As I said, the issue appeared and then went away on its own. > Can you take a look at the attached video in bug 494581 and let me know if you are seeing the same behavior with the mouse cursor? No, it was not displaying the red circle with an x. It remained an arrow, and the selected file wouldn't even start to drag. Actually, now that I remember, I think the behavior was like this: - most of the times the file that I tried to grab went into renaming. This was probably when I clicked on the very file name. - And other times (probably when I clicked next to the file name but not quite on the file name, e.g. on the icon or to the right of the file name), it just selected the file and did nothing else. That suggests that it was behaving as if I had long-clicked and not moved the mouse away. Note that the cursor DID move (as I attempted to drag the file out of the folder window), but the UI within the window behaved as if the mouse hadn't moved after pressing the mouse button (probably until I released it). So it's also possible that the issue wasn't affecting just Dolphin. I didn't observe any wrong behavior outside of Dolphin, but the issue didn't last long and I'm not sure whether I did anything outside of Dolphin that would have allowed me to notice anything wrong. I do think I probably tried dragging on the desktop to draw a selection rectangle and stuff like that (so I would have noticed if that didn't work) but I can't tell 100% for sure. It certainly was a software thing and not a mouse thing, as the cursor was moving all the time.
Thanks for the additional information. It's possible that something software related was interpreting mouse hardware input incorrectly. We'd need information from system logs to investigate further. If the issue happens again, can you please attach system logs starting just before you notice the problem to just after? Thanks!
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
> If the issue happens again, can you please attach system logs starting just before you notice the problem to just after? Exactly what system logs and how do I fetch them? So that I'm prepared to do that when this happens again. Thanks
The most helpful logs for Dolphin would be gotten through Valgrind See https://community.kde.org/Dolphin/FAQ/Crashes for how to use it to get those logs. You'll probably need to install valgrind before you can use it to run Dolphin. Note that the FAQ talks about crashes, which is not what's happening here, but the logs will still be potentially useful. Thanks.
Oh, I see. That's not a viable option here though, because this issue happens randomly and extremely rarely (I only observed it once so far), so I would need to always launch Dolphin through Valgrind until the day that it happens again.
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.
Created attachment 177972 [details] Alt+Tab breaks drag and drop I've been able to reproduce this pretty consistently. All it takes in my case is to Alt+Tab out of dolphin once. Switching back to dolphin breaks drag-and-drop. See the attachment video. Being triggered by Alt key makes me think it may be related to https://bugs.kde.org/show_bug.cgi?id=339399 but not sure. I have added the valgrind output too. Looking at the recording near when the I started dragging, there isn't really an error. Info: Operating System: Arch Linux KDE Plasma Version: 6.2.5 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.2 Kernel Version: 6.13.0-1-mainline-um5606 (64-bit) Graphics Platform: Wayland Processors: 20 × AMD Ryzen AI 9 365 w/ Radeon 880M Memory: 22.6 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: ASUSTeK COMPUTER INC. Product Name: ASUS Vivobook S 14 M5406WA_M5406WA System Version: 1.0
Created attachment 177973 [details] Valgrind output
A bit more info, it definitely seems related to the Alt key issue. I am able to get drag-and-drop working again by pressing the alt key once. Seems like some weirdness related to the window focus state. See the attached video at timestamp around 40 seconds when I switch back to dolphin. I see that other elements of dolphin (like the size bars of the drives in the "Devices" panel) are also in a non-highlighted state, as if the window is not in focus. Not in video, but if I press Alt once at this point, everything starts working normally.
Should probably have searched a bit more. Found https://bugs.kde.org/show_bug.cgi?id=495741 that seems to cover a superset of the issues I'm facing so far. Will move discussion over there. Sorry for the spam!
No worries about the emails. Thanks for letting us know. *** This bug has been marked as a duplicate of bug 495741 ***