Bug 442145 - Doesn't open iphone in Dolphin
Summary: Doesn't open iphone in Dolphin
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.82.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-07 20:40 UTC by Ilya Rodin
Modified: 2023-07-18 20:09 UTC (History)
6 users (show)

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


Attachments
syslog (5.08 KB, text/plain)
2021-09-07 20:40 UTC, Ilya Rodin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Rodin 2021-09-07 20:40:11 UTC
Created attachment 141369 [details]
syslog

SUMMARY
Doesn't open iphone in Dolphin

STEPS TO REPRODUCE
1. connect iphone via usb cable
2. through the tray I select "Mount and open" next to "Camera"
3. The Dolphin window opens, but nothing happens further, the iphone does not appear in the devices list either.
4. in syslog error kf5.kiod.kmtpd: Solid device "/org/kde/solid/imobile/3fc90c10...." has NOT a Solid :: GenericInterface

SOFTWARE/OS VERSIONS
Iphone: 
5S 
IOS 12.5.4(16H50)
Model ME432RU/A

Linux/KDE Plasma: 
Operating System: Kubuntu 21.04
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.13.13-051313-generic (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 PRO 4750U with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD RENOIR

ADDITIONAL INFORMATION
in the syslog attachment from the moment the iphone was connected to the moment the dolphin window was opened

libimobiledevice-utils, ideviceinstaller, ifuse installed
Comment 1 Tony 2021-09-08 17:11:10 UTC
Make sure you have mtpfs and mtp-tools packages installed.
Comment 2 Ilya Rodin 2021-09-09 19:36:03 UTC
yes these packages are installed 
ii go-mtpfs 1.0.0-1 amd64 Mount MTP devices over FUSE
ii jmtpfs 0.5-3 amd64 FUSE based filesystem for accessing MTP devices
ii libmtp-common 1.1.18-1 all Media Transfer Protocol (MTP) common files
ii libmtp-runtime 1.1.18-1 amd64 Media Transfer Protocol (MTP) runtime tools
ii libmtp9:amd64 1.1.18-1 amd64  Media Transfer Protocol (MTP) library
ii mtp-tools 1.1.18-1 amd64 Media Transfer Protocol (MTP) library tools
Comment 3 postix 2023-05-04 13:05:12 UTC
> Dolphin has also become more flexible and now supports browsing Apple iOS devices using its native afc:// protocol, file dialogs, and other file management tools. 

Sources:
* https://kde.org/announcements/gear/23.04.0/
* https://blog.broulik.de/2022/11/introducing-kio-afc/

So, isn't probably this fixed in 23.04? :)
Comment 4 Bug Janitor Service 2023-05-19 03:46:00 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 kwizzz 2023-05-23 19:29:35 UTC
(In reply to postix from comment #3)
> > Dolphin has also become more flexible and now supports browsing Apple iOS devices using its native afc:// protocol, file dialogs, and other file management tools. 
> 
> Sources:
> * https://kde.org/announcements/gear/23.04.0/
> * https://blog.broulik.de/2022/11/introducing-kio-afc/
> 
> So, isn't probably this fixed in 23.04? :)

Nope, running Dolphin 23.04.1 on Fedora 38.
Apple phone is discovered, Disks & Devices lists Camera and option Open in File Manager.
When clicking on it, Dolphin opens, but no sign of Camera or iPhone.
Typing afc:// as path in Dolphin, I get an Invalid protocol error message in Dolphin.
(Typing camera:// does work, btw)
Comment 6 postix 2023-07-02 13:08:30 UTC
Can confirm with an iPad (iPadOS 16.5.1) and openSUSE TW.
Comment 7 postix 2023-07-02 13:28:38 UTC
Never mind, I went to `libimobiledevice.org` and checked if there are more packages necessary to be installed and I found that I had installed all but `usbmuxd`.

Thus after having installed
* imobiledevice-tools
* libimobiledevice
* libimobiledevice-glue
* libplist
* ifuse
* usbmuxd

the iPad was sucessfully recognized and now shows up as storage device in Dolphin.

Ilya can you please confirm again that you have all required packages installed?
Comment 8 postix 2023-07-02 13:40:37 UTC
> the iPad was sucessfully recognized and now shows up as storage device in Dolphin.
over the before mentioned afc: protocol (`afc:udi=/org/kde/solid/imobile/<some-id>/`)
Comment 9 Bug Janitor Service 2023-07-17 03:45:01 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 kwizzz 2023-07-18 19:14:15 UTC
(In reply to postix from comment #7)

Gave it a try on Fedora 38 KDE spin:

> Thus after having installed
> * imobiledevice-tools

=> does not exist on F38

> * libimobiledevice

=> installed

> * libimobiledevice-glue

=> does not exist on F38

> * libplist

=> installed

> * ifuse

=> additionally installed
> * usbmuxd

=> additionally installed

Results:
- iPhone is recognized as Camera under Disks & Devices
- default action Open in file manager results in Dolphin showing Home
- Mount action -> nothing happens
- typing in afc:/ in Dolphin -> invalid protocol error

(will check it on Leap 15.5 later)
Comment 11 kwizzz 2023-07-18 19:38:37 UTC
openSUSE Leap 15.5

(Plasma 5.27.4, Frameworks 5.103.0).

imobiledevice-tools 1.3.0+git.20210921-150400.1.15
libimobiledevice-1_0-6 1.3.0+git.20210921-150400.1.15
libimobiledevice-glue-1_0-0 0~git.20210925-150400.1.10
libplist-2_0-3 2.2.0-150400.5.4
ifuse 1.1.4-bp155.2.11
libusbmuxd-2_0-6 2.0.2-150400.1.6
usbmuxd 1.1.1-150400.1.7

Same issues as described in Comment #10
Comment 12 postix 2023-07-18 19:49:42 UTC
>> imobiledevice-tools
> => does not exist on F38

I guess it's called libimobiledevice-utils on F38. However, even after installing everything, except the -glue package, which I couldn't find myself, it's not working for me as well on F38, only on Tumbleweed.
Comment 13 postix 2023-07-18 20:09:42 UTC
What I additionally noticed is that on Fedora 38 Dolphin says `unknown protocol` when entering `afc://` into the address bar, while on Tumbleweed it says `Empty folder`.