I use my laptop connected to a dock with an external monitor. I use the Disks & Devices widget on both as it is more convenient. Since 5.20 the ability to stop the widget from opening when a device is plugged in was removed, but this causes unwanted behaviour in my case. When I unmount a device, e.g. a USB key, using the widget on screen 1, it immediately closes and the widget on screen 2 opens up. This happens always and whichever screen I choose.
STEPS TO REPRODUCE
1. open the widget
2. unmount a device
The widget on the current screen closes. The widget on the other screen opens.
The widget on the current screen stays open, while the one on the other screen stays closed.
Linux: KDE neon Focal
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.1
It would be convenient to add the option to disable the automatic opening of the widget, or at least to implement the code to avoid a similar situation in a use case like this.
We used to have this, but I removed it in https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/185 for various reasons that seemed to make sense at the time.
However the reason why I removed it no longer seems valid: the settings window I wanted to avoid having to display has been re-add due to other changes that make sense, so it seems sensible to re-add the option to the currently-empty config window.
Will fix it.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/502
Git commit d9e8b4a7a49f78e60d40458c5de3ba22c239cb2f by Nate Graham.
Committed on 15/12/2020 at 19:07.
Pushed by ngraham into branch 'master'.
[applets/devicenotifier] Re-add "show popup when new device is plugged in" option
This was removed in
however the original reasons for making the change no longer apply
because we now have a clean place to put the option--in the new popup
menu in the header. So let's re-add it, because hidden options are bad.
M +0 -1 applets/devicenotifier/package/contents/config/main.xml
M +12 -0 applets/devicenotifier/package/contents/ui/devicenotifier.qml