Bug 446274 - When device is in MTP or PTP mode, only show actions relevant to that mode
Summary: When device is in MTP or PTP mode, only show actions relevant to that mode
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Disks & Devices (show other bugs)
Version: master
Platform: Neon Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-11-30 13:26 UTC by Patrick Silva
Modified: 2023-04-28 03:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
a. View Photos with file manager (136.66 KB, image/png)
2021-11-30 13:26 UTC, Patrick Silva
Details
b. Download Photos with Gwenview (165.84 KB, image/png)
2021-11-30 13:27 UTC, Patrick Silva
Details
c. Download Photos with DigiKam (137.84 KB, image/png)
2021-11-30 13:27 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2021-11-30 13:26:02 UTC
Created attachment 144080 [details]
a. View Photos with file manager

STEPS TO REPRODUCE
1. have Dolphin, Gwenview and DigiKam installed on your system
2. connect an Android phone to usb port
3. set usb mode of your Android device to 'File transfer (MTP)'
4. click on Disks & Devices applet in system tray
5. click on your Android device and choose any of these device actions:
  a. View Photos with file manager
  b. Download Photos with Gwenview
  c. Download Photos with DigiKam

OBSERVED RESULT
no option chosen in the last step works and I get error messages.
Please see the attached screenshots.

EXPECTED RESULT
If an Android device is mounted in MTP mode, Disks & Devices applet should not offer device actions that only work with PTP mode

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3
Graphics Platform: X11
Comment 1 Patrick Silva 2021-11-30 13:27:18 UTC
Created attachment 144081 [details]
b. Download Photos with Gwenview
Comment 2 Patrick Silva 2021-11-30 13:27:59 UTC
Created attachment 144082 [details]
c. Download Photos with DigiKam
Comment 3 Nate Graham 2023-04-28 03:25:37 UTC
Actions not relevant in PTP mode:
- Mount
- Open in File Manager

Actions not relevant in MTP mode:
- Download Photos with Gwenview
- Download Photos with Digikam
- View Photos with file manager

When in PTP mode, we can probably filter out Mount and Open in File Manager in the applet code. But when in MTP mode, I suspect to filter out those actions, we'll need to make changes to the device action files that come from the apps themselves. They live in Gwenview, Digikam, and Kamera, respectively.