Bug 474324

Summary: PTP file copy with kio_kamera.so looses contact to a camera
Product: [Applications] Kamera Reporter: lsmod <forum+kde>
Component: GeneralAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: REPORTED ---    
Severity: normal CC: nicolas.fella
Priority: NOR    
Version First Reported In: 22.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of error message

Description lsmod 2023-09-09 09:34:11 UTC
Created attachment 161520 [details]
Screenshot of error message

SUMMARY
Trying to copy pictures and video via PTP from a camera does not work any more.
Booting of an older Debian 8 is needed and there it works without problem.

Running in Debian 12 (bookworm) is showing this process:
/lib/x86_64-linux-gnu/libexec/kf5/kioslave5 /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/kio_kamera.so camera  local:/run/user/1000/krusaderLhqZlb.10.kioworker.socket

Some pictures are maybe copied and then the copy goes into hold.
Afterwards a try to reconnect to the camera shows up error 150 (screenshot)


STEPS TO REPRODUCE
1. Connect camera with PTP
2. Open Dolphin, select directory or files
3. Start copy

OBSERVED RESULT
Copy holded after some smaller files.
Reconnect to the camera brings Error 150 (wrong parameter).
After camera is switched off and reconnected the same result occurs.

EXPECTED RESULT
All files are copied without a problem.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian 12 (bookworm) stable Kernel 6.1.0-11-amd64 (64-bit)
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version:  5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Works already unstable in Debian 11.