Bug 474238

Summary: Can't copy/move files in empty folder on ftp-server
Product: [Applications] dolphin Reporter: Alexander Boldt <alexanderboldt0>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: major CC: dolphin-bugs-null, justin, zmyxpt
Priority: NOR    
Version First Reported In: 23.08.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Boldt 2023-09-06 20:48:13 UTC
SUMMARY
When i try to move or copy files to an emtpy directory on a ftp-server dolphin dont show the option to paste the files or selection for move/copy/cancel when using drag-n-drop. 

STEPS TO REPRODUCE
1. Select files in source directory
2. Open context menu and select cut/copy
3. go to ftp directory
4. try to paste.

OBSERVED RESULT
no option in context menu to paste files.

EXPECTED RESULT
option in context menu to paste files, so i can paste files.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.5.1-1-MANJARO (64-bit)
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
X11

ADDITIONAL INFORMATION
Workaround::
create empty textfile in ftp-directory and retry...then it works...

responding entries in journal:
Sep 06 21:21:39 alexander-ms7589 dolphin[1644]: QCoreApplication::postEvent: Unexpected null receiver
Sep 06 21:21:39 alexander-ms7589 dolphin[1644]: QCoreApplication::postEvent: Unexpected null receiver
Sep 06 21:21:39 alexander-ms7589 dolphin[1644]: QCoreApplication::postEvent: Unexpected null receiver
Sep 06 21:21:39 alexander-ms7589 dolphin[1644]: QCoreApplication::postEvent: Unexpected null receiver
Sep 06 21:21:39 alexander-ms7589 dolphin[1644]: QCoreApplication::postEvent: Unexpected null receiver
Sep 06 21:21:39 alexander-ms7589 dolphin[1644]: QCoreApplication::postEvent: Unexpected null receiver
Sep 06 21:21:39 alexander-ms7589 dolphin[1644]: QCoreApplication::postEvent: Unexpected null receiver
Sep 06 21:21:39 alexander-ms7589 dolphin[1644]: QCoreApplication::postEvent: Unexpected null receiver
Sep 06 21:21:39 alexander-ms7589 dolphin[1644]: QCoreApplication::postEvent: Unexpected null receiver
Sep 06 21:21:40 alexander-ms7589 dolphin[1644]: QCoreApplication::postEvent: Unexpected null receiver
Sep 06 21:21:40 alexander-ms7589 dolphin[1644]: QCoreApplication::postEvent: Unexpected null receiver
Sep 06 21:21:40 alexander-ms7589 dolphin[1644]: QCoreApplication::postEvent: Unexpected null receiver
Sep 06 21:21:40 alexander-ms7589 dolphin[1644]: QCoreApplication::postEvent: Unexpected null receiver
Sep 06 21:21:40 alexander-ms7589 dolphin[1644]: QCoreApplication::postEvent: Unexpected null receiver
Sep 06 21:21:41 alexander-ms7589 kwin_x11[882]: kwin_core: XCB error: 3 (BadWindow), sequence: 6046, resource id: 62914735, major code: 129 (SHAPE), minor code: 6 (Input)
Sep 06 21:21:41 alexander-ms7589 kioslave5[5508]: kf.kio.core: UDSEntry for '.' not found, creating a default one. Please fix the "kio_ftp" KIO worker.
Sep 06 21:21:41 alexander-ms7589 kioslave5[5497]: kf.kio.core: UDSEntry for '.' not found, creating a default one. Please fix the "kio_ftp" KIO worker.
Sep 06 21:21:58 alexander-ms7589 kioslave5[5521]: kf.kio.core: UDSEntry for '.' not found, creating a default one. Please fix the "kio_ftp" KIO worker.
Sep 06 21:22:02 alexander-ms7589 kwin_x11[882]: kwin_core: XCB error: 152 (BadDamage), sequence: 13723, resource id: 6363987, major code: 143 (DAMAGE), minor code: 3 (Subtract)
Comment 1 Alexander Boldt 2023-09-07 01:57:31 UTC
After a additional research, i think its maybe related to https://bugs.kde.org/show_bug.cgi?id=419560 ?
Comment 2 zmyxpt 2023-10-08 06:44:11 UTC
I try old version and find that:
dolphin <= 23.04.3   work
dolphin >= 23.07.80 not work
Comment 3 Alexander Boldt 2023-12-01 04:36:21 UTC
I still have the bug, but i was surprised to discover that it only occurs under X11. 
Everything works flawlessly under Wayland.
Comment 4 Justin Zobel 2025-02-08 02:48:27 UTC
I can't reproduce this on Dolphin 24.12.1 under Wayland.

zmyxpt@gmail.com can you please confirm if you're using X11 or Wayland?

Please change the status back to REPORTED when you reply.
Comment 5 Alexander Boldt 2025-02-22 11:33:02 UTC
I was using X11.
I'm not quite sure, but if I remember correctly Wayland was fine.
But I will verify that when I am back home.
Comment 6 Alexander Boldt 2025-02-23 11:36:41 UTC
Hi, i just tried it and i can still reproduce the error in X11 and Wayland.
Dolphin: 24.12.2
KDE Frameworks: 6.11.0
Qt: Using 6.8.2 and built against 6.8.2
Manjaro Linux (Wayland)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.13.3-2-MANJARO

I will go deeper and try to log the communication between Dolphin and the FTP server. Maybe it is a very specific problem in this constellation.