Bug 469706 - Issues with actions for a non-mounted CD/DVD/BD in "Disks & Devices" applet (no eject, wrong icon, etc.)
Summary: Issues with actions for a non-mounted CD/DVD/BD in "Disks & Devices" applet (...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Disks & Devices (show other bugs)
Version: 6.1.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-13 16:41 UTC by Patrick Silva
Modified: 2024-11-19 21:58 UTC (History)
4 users (show)

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


Attachments
Disks & Devices applet when audio CD is inserted, and action list expanded (108.04 KB, image/png)
2024-06-25 13:15 UTC, John Veness
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2023-05-13 16:41:22 UTC
SUMMARY
Disks & Devices applet only offers "Eject" option for mounted optical discs.
If the disc inside the optical device is not mounted, the default option is "Open in file manager", and "Eject" is not available.

STEPS TO REPRODUCE
1. insert an non-empty cd/dvd/bd, but do not mount it
2. click on Disks & Devices applet in the system tray and try to eject the cd/dvd/bd with it
3. 

OBSERVED RESULT
we can not eject the non-mounted disc with Disks & Devices applet

EXPECTED RESULT
"Eject" option is available

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Graphics Platform: Wayland
Comment 1 Andreas Sturmlechner 2023-08-29 10:19:59 UTC
Same here. Moreover, the 'eject' icon is wrongly being used in conjunction with 'Open in File Manager'.

Operating System: Gentoo 2.14
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.1.45-gentoo (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 62,7 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Product Name: X570 Phantom Gaming-ITX/TB3
Comment 2 John Veness 2024-06-25 13:15:56 UTC
Created attachment 170959 [details]
Disks & Devices applet when audio CD is inserted, and action list expanded

I've attached a screenshot showing the actions available for an (unmounted) audio CD, which shows:

1) No Eject action
2) Wrong icon (eject) used for "Open in File Manager" action
3) Almost-duplicate "Open with File Manager" action

Operating System: openSUSE Tumbleweed 20240622
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.5-1-default (64-bit)
Graphics Platform: X11
Comment 3 Bug Janitor Service 2024-11-13 12:49:58 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4910
Comment 4 Kai Uwe Broulik 2024-11-13 12:57:18 UTC
The Audio CD is another issue, though
Comment 5 Bug Janitor Service 2024-11-13 18:54:02 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4914
Comment 6 Kai Uwe Broulik 2024-11-18 19:27:39 UTC
Git commit 11b5b9fb08df86a00c71ca323d94fbdfa54f45f2 by Kai Uwe Broulik.
Committed on 18/11/2024 at 19:01.
Pushed by broulik into branch 'master'.

devicenotifier: An optical disc can also be storage access

Fixes the mount state not being correct for optical media.

M  +3    -1    applets/devicenotifier/plugin/devicestatemonitor_p.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/11b5b9fb08df86a00c71ca323d94fbdfa54f45f2
Comment 7 Kai Uwe Broulik 2024-11-19 06:59:09 UTC
Git commit d9c88f0313cfa8660db05a0b7b95c41c32b5db48 by Kai Uwe Broulik.
Committed on 19/11/2024 at 06:31.
Pushed by broulik into branch 'Plasma/6.2'.

devicenotifier: An optical disc can also be storage access

Fixes the mount state not being correct for optical media.


(cherry picked from commit 11b5b9fb08df86a00c71ca323d94fbdfa54f45f2)

Co-authored-by: Kai Uwe Broulik <kde@privat.broulik.de>

M  +3    -1    applets/devicenotifier/plugin/devicestatemonitor_p.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/d9c88f0313cfa8660db05a0b7b95c41c32b5db48