Bug 1211933

Summary: kio afc components don't seem to be installed by kio-extras5
Product: [openSUSE] openSUSE Tumbleweed Reporter: John Kizer <john.kizer>
Component: KDE ApplicationsAssignee: E-Mail List <opensuse-kde-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: 4wuyan, fabian, fvogt, nate
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description John Kizer 2023-06-01 22:18:57 UTC
Overview: It looks like installing the kio-extras5 package doesn't actually install some parts of the upstream, specifically the afc pieces for accessing Apple iOS devices.

I have reinstalled (with -f) kio-extras5, and don't have the ability to access the devices that I can see via Dolphin, and I can see that some of the files which the code seems to intend to place on the system are absent (e.g. I don't have a /usr/share/remoteview/afc-network.desktop file, although if I'm reading it right, in the source the /afc/CMakeLists.txt file would indicate that it should be there).

Steps to Reproduce:
1) Install kio-extras5
2) Plug in an Apple iOS device via USB
3) Open Dolphin

Actual Results: The iOS device is not recognized / displayed in Dolphin's Places, and trying to use afc:// gives an "invalid protocol" error

Expected Results: Select data on attached iOS devices are accessible via Dolphin

Build Date & Hardware:
Operating System: openSUSE Tumbleweed 20230531
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.4-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: HP
Product Name: HP Pavilion Gaming Laptop 15-ec2xxx
Comment 1 John Kizer 2023-06-02 18:35:43 UTC
Got some better context from developers on the KDE Discuss boards - it looks like enabling this feature would require pulling in the IMobileDevice and PList dependencies into the build process, if that's helpful

https://discuss.kde.org/t/how-to-use-the-new-apple-ios-protocol-features-of-dolphin/1802/5
Comment 2 Fabian Vogt 2023-06-02 20:57:58 UTC
Huh, I'm relatively sure we had that enabled at some point but I can't find it. Maybe that was just solid?

In any case, fixed: https://build.opensuse.org/request/show/1090569
Comment 3 Yan Wu 2023-11-28 12:37:47 UTC
May I ask if the issue still exists?

I've got a fresh opensuse tumbleweed kde installation, and still find afc is missing.

$ ls /usr/share/remoteview/
bluetooth-network.desktop  mtp-network.desktop  smb-network.desktop

I have tried force reinstall kio-extras5, and some other dependencies too.

(My first post here. Apologies if I missed something obvious.)
Comment 4 Fabian Vogt 2023-11-28 13:28:08 UTC
(In reply to Yan Wu from comment #3)
> May I ask if the issue still exists?
> 
> I've got a fresh opensuse tumbleweed kde installation, and still find afc is
> missing.

Looks like the fix got reverted (by accident) somehow. I fixed it (again) with https://build.opensuse.org/request/show/1129608.
Comment 5 OBSbugzilla Bot 2023-11-28 14:25:02 UTC
This is an autogenerated message for OBS integration:
This bug (1211933) was mentioned in
https://build.opensuse.org/request/show/1129620 Factory / kio-extras5
Comment 6 Yan Wu 2023-11-30 12:09:47 UTC
(In reply to Fabian Vogt from comment #4)

> Looks like the fix got reverted (by accident) somehow. I fixed it (again)
> with https://build.opensuse.org/request/show/1129608.

Thank you very much for your speedy response. I really appreciate it.