Bug 452246 - 'Reformat or edit with Partition Manager' option from 'Disks & Devices' applet is pointless with devices that can not be formatted nor edited (mounted ISO images, for example)
Summary: 'Reformat or edit with Partition Manager' option from 'Disks & Devices' apple...
Status: REOPENED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.12.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-04 00:57 UTC by Patrick Silva
Modified: 2025-10-21 13:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 25.08
Sentry Crash Report:


Attachments
screenshot (58.98 KB, image/png)
2022-04-04 00:57 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2022-04-04 00:57:44 UTC
Created attachment 147950 [details]
screenshot

STEPS TO REPRODUCE
1. mount an ISO image via 'Mount' option from context menu of Dolphin or insert a cd/dvd/bd disc
2. click on 'Disks & Devices" applet in system tray and click on your mounted ISO image or inserted cd/dvd/bd
3. click on 'Reformat or edit with Partition Manager' device action
4. enter your password to open KDE Partition Manager

OBSERVED RESULT
KDE Partition Manager opens and shows an error. Please see the attached screenshot showing the error that occurs
when I reproduce the bug with an ISO image.

EXPECTED RESULT
'Disks & Devices' applet should not offer 'Reformat or edit with Partition Manager' device action for devices that can not be formatted nor edited .

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Graphics Platform: Wayland

ADDITIONAL INFORMATION
possibly this bug affects other devices like cameras and phones. Not tested with these devices.
Comment 1 Andrius Štikonas 2022-04-04 08:41:41 UTC
I guess we need to check for read-only volumes in desktop file

Currently we have [ StorageVolume.ignored == false AND StorageVolume.usage == 'FileSystem' ]
Comment 2 Patrick Silva 2025-07-19 05:52:26 UTC
The optical discs case is already fixed in 25.08 branch :)

https://invent.kde.org/system/partitionmanager/-/merge_requests/56
Comment 3 Patrick Silva 2025-10-21 13:12:51 UTC
'Disks & Devices' applet is still offering the pointless 'Reformat or edit with Partition Manager' option for mounted ISO images.

Operating System: Arch Linux 
KDE Plasma Version: 6.4.91
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Graphics Platform: Wayland