Bug 382636 - K3b unnecessarily opens device notifier in specific circumstances
Summary: K3b unnecessarily opens device notifier in specific circumstances
Status: RESOLVED WORKSFORME
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: 17.04.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: k3b developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-23 23:37 UTC by Patrick Silva
Modified: 2020-02-05 13:57 UTC (History)
3 users (show)

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


Attachments
screenshot (132.92 KB, image/png)
2017-07-24 14:26 UTC, Patrick Silva
Details
dialog about not-empty rewritable disc (141.84 KB, image/png)
2017-11-18 13:01 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
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