Bug 500723 - Partition Manager does not cope with microSD Card inside locked SD Card adapter, but Dolphin does.
Summary: Partition Manager does not cope with microSD Card inside locked SD Card adapt...
Status: REPORTED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.12.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Andrius Štikonas
URL: https://discuss.kde.org/t/unable-to-a...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-25 13:36 UTC by Roke Julian Lockhart Beedell
Modified: 2025-02-26 00:32 UTC (History)
0 users

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


Attachments
Device Access Error (8.46 KB, image/png)
2025-02-25 13:36 UTC, Roke Julian Lockhart Beedell
Details
Partition Access Error (8.85 KB, image/png)
2025-02-25 13:36 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2025-02-25 13:36:06 UTC
Created attachment 178863 [details]
Device Access Error

SUMMARY
-------

Despite Dolphin listing my *locked* microSD-to-SD Card adapter, and providing an option to view it in Partition Manager, Partition Manager is unable to access it (until the adapter has been unlocked).

STEPS TO REPRODUCE
------------------

1.	~~~sh
	#!/usr/bin/env sh
	/usr/bin/sudo /usr/bin/dnf5 --refresh install -y \
		kde-partitionmanager-24.12.2-1.fc41.x86_64 \
		dolphin-24.12.2-1.fc41.x86_64
	~~~

	...then:

2.	-	~~~sh
		#!/usr/bin/env sh
		/usr/bin/partitionmanager --device $device # `/dev/sdd1`
		~~~

		...or:

	-	1.	~~~sh
			#!/usr/bin/env sh
			/usr/bin/dolphin --select $device # `/dev/sdd1`
			~~~

		2.	> Reformat or Edit with Partition Manager

OBSERVED RESULT
---------------

The SD Card doesn't appear in Partiton Manager, but does in Dolphin.

EXPECTED RESULT
---------------

The device should, at the least, *appear* in Partiton Manager, even if unmodifiable, for it would mirror Dolphin's behaviour, and demonstrate that the device itself is preventing modification, rather than Dolphin being unable to interact with it.

SOFTWARE/OS VERSIONS
--------------------

1.	~~~sh
	#!/usr/bin/env sh
	kinfo
	~~~

2.	> ~~~YAML
	> Operating System: Fedora Linux 41
	> KDE Plasma Version: 6.3.1
	> KDE Frameworks Version: 6.11.0
	> Qt Version: 6.8.2
	> Kernel Version: 6.12.15-200.fc41.x86_64 (64-bit)
	> Graphics Platform: Wayland
	> Manufacturer: ASRock
	> Product Name: X670E Taichi
	> ~~~

ADDITIONAL INFORMATION
----------------------

Originally reported at [`discuss.kde.org/t/30566`][1].

[1]: https://discuss.kde.org/t/unable-to-access-device-in-partition-manager-nor-modify-its-contents/30566?u=rokejulianlockhart
Comment 1 Roke Julian Lockhart Beedell 2025-02-25 13:36:20 UTC
Created attachment 178864 [details]
Partition Access Error
Comment 2 Andrius Štikonas 2025-02-26 00:32:15 UTC
Hmm, not sure whether we want this by default, but perhaps we could do it when device node is passed via command line (that's what dolphin does when it calls partitionmanager binary).