[Device Notifier] Auto-hide popup after device is unmounted
ClosedPublic

Authored by thsurrel on Oct 8 2018, 12:29 PM.

Details

Summary

When unmounting a removable device from dolphin, the device notifier
will popup saying the device can now be safely removed. But the popup
never auto-hides.

Test Plan

Plug a USB pen drive
Unmount it from dolpin
Device notifier should popup and hide itself after 3 seconds

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
thsurrel created this revision.Oct 8 2018, 12:29 PM
Restricted Application added a project: Plasma. · View Herald TranscriptOct 8 2018, 12:29 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
thsurrel requested review of this revision.Oct 8 2018, 12:29 PM

Good idea

applets/devicenotifier/package/contents/ui/devicenotifier.qml
194

Can it be fullRepresentation is not created at this point yet? Perhaps put it after expanded = true

thsurrel updated this revision to Diff 43133.Oct 8 2018, 2:25 PM

Fix as per broulik comments. Thanks!

thsurrel marked an inline comment as done.Oct 8 2018, 2:25 PM
broulik accepted this revision.Oct 8 2018, 2:26 PM

I think this could go into Plasma/5.14 branch (and then merge into master)

This revision is now accepted and ready to land.Oct 8 2018, 2:26 PM
This revision was automatically updated to reflect the committed changes.