Bug 454922 - No way to disable MTP device automount
Summary: No way to disable MTP device automount
Status: REPORTED
Alias: None
Product: Kamera
Classification: Applications
Component: General (show other bugs)
Version: 22.04.1
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-06 07:08 UTC by cantfind
Modified: 2022-06-06 10:24 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cantfind 2022-06-06 07:08:12 UTC
SUMMARY
When connecting an MTP device, KDE automounts it, even though in the settings it tells it not to.
In "Removable Storage" -> "Removable Devices", there's an option to uncheck  Automount Device - but it seems to do nothing, and my phone doesn't even show up in that list (even though it's automounted).


STEPS TO REPRODUCE
1. Connect a phone to the computer via USB in MTP mode.
2. Open System Settings and navigate to "Removable Storage" -> "Removable Devices"
3. Note that the phone isn't listed, even though it's been automounted
3. Uncheck automount on attach for all known devices and apply
4. (Optional) Navigate in "Removable Storage" to "Digital Camera" 
5. (Optional) The phone is listed there as a camera - remove it.
6. Reconnect the phone 

OBSERVED RESULT
It still automounts, and if it had been removed as a camera, it'd show up again once reconnected. 
It seems there's no way not to automount the phone.

EXPECTED RESULT
The phone should be listed in the Automount device list, and it should not automount on attach if that option is not checked.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION