Bug 382636

Summary: K3b unnecessarily opens device notifier in specific circumstances
Product: [Applications] k3b Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: k3b developers <k3b>
Status: RESOLVED WORKSFORME    
Severity: normal CC: michalm, trueg, zhaixiang
Priority: NOR    
Version: 17.04.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot
dialog about not-empty rewritable disc

Description Patrick Silva 2017-07-23 23:37:05 UTC
As a end user, I dont understand the purpose of this behavior. Looks confuse to me.
Comment 1 Leslie Zhai 2017-07-24 02:07:43 UTC
Hi Dr. Chapatin,

Please provide the screenshot and give me some suggestion how to let the behavior make sense, thanks!

Regards,
Leslie Zhai
Comment 2 Patrick Silva 2017-07-24 14:25:26 UTC
plasma opens the device notifier automatically when some device is mounted.
There is no reason to open device notifier when k3b starts erase/format a rewritable disc. K3b should not open the device notifier.
Comment 3 Patrick Silva 2017-07-24 14:26:07 UTC
Created attachment 106826 [details]
screenshot

here is my screenshot
Comment 4 Leslie Zhai 2017-07-27 02:39:15 UTC
(In reply to Dr. Chapatin from comment #3)
> Created attachment 106826 [details]
> screenshot
> 
> here is my screenshot

Very clear! great bug hunter :) the notification should appear after erased, correct?
Comment 5 Patrick Silva 2017-07-27 03:34:51 UTC
(In reply to Leslie Zhai from comment #4)
> (In reply to Dr. Chapatin from comment #3)
> > Created attachment 106826 [details]
> > screenshot
> > 
> > here is my screenshot
> 
> Very clear! great bug hunter :) the notification should appear after erased,
> correct?

I think K3b should not interact with device notifier.
Device notifier is open by plasma when some device is mounted and "open a message when a new device is connected" is chcked in its settings.
Comment 6 Patrick Silva 2017-11-18 02:45:58 UTC
k3b 17.12 beta has the same behavior on Arch Linux.
Comment 7 Patrick Silva 2017-11-18 03:44:37 UTC
k3b also opens device notifier when it starts burning a new session in a multissesion disc.

device notifier is opened even if "open popup when new device is plugged in" is unchecked in its settings.
Comment 8 Patrick Silva 2017-11-18 13:01:52 UTC
Created attachment 108944 [details]
dialog about not-empty rewritable disc

k3b 17.12 beta also opens device notificer when I click "eject" button in dialog about not-empty rewritable disc (see the screenshot).
Comment 9 Patrick Silva 2017-12-10 10:47:57 UTC
K3b also opens device notifier when I start "copy medium" task.
Comment 10 Patrick Silva 2018-01-20 20:31:49 UTC
(In reply to Dr. Chapatin from comment #9)
> K3b also opens device notifier when I start "copy medium" task.

and device notifier says
"this device can now be safely removed"
Obviously it's not true. Copy is in progress.
Comment 11 Patrick Silva 2020-02-05 13:57:20 UTC
K3b 19.12.2 no longer opens the device notifier before start the mentioned tasks.

Operating System: Arch Linux 
KDE Plasma Version: 5.17.90
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.1