Bug 430017 - Multi-screen setup is messed up without disabling automatic opening of widget
Summary: Multi-screen setup is messed up without disabling automatic opening of widget
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Disks & Devices (show other bugs)
Version: 5.20.4
Platform: Neon Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-04 14:45 UTC by Riccardo Robecchi
Modified: 2020-12-15 19:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.21


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Riccardo Robecchi 2020-12-04 14:45:31 UTC
SUMMARY
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

OBSERVED RESULT
The widget on the current screen closes. The widget on the other screen opens.  

EXPECTED RESULT
The widget on the current screen stays open, while the one on the other screen stays closed.

SOFTWARE/OS VERSIONS
Linux: KDE neon Focal
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION
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.
Comment 1 Nate Graham 2020-12-04 14:49:07 UTC
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.
Comment 2 Bug Janitor Service 2020-12-04 15:47:31 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/502
Comment 3 Nate Graham 2020-12-15 19:08:11 UTC
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
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/185,
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.
:)
FIXED-IN: 5.20

M  +0    -1    applets/devicenotifier/package/contents/config/main.xml
M  +12   -0    applets/devicenotifier/package/contents/ui/devicenotifier.qml

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