Bug 282806 - Dolphin doesn't show traditional copy dialog when notifications are unavailable/disabled
Summary: Dolphin doesn't show traditional copy dialog when notifications are unavailab...
Status: RESOLVED WORKSFORME
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: uiserver (show other bugs)
Version: 4.7
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-26 14:45 UTC by Faheem Pervez
Modified: 2022-09-04 10:23 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Faheem Pervez 2011-09-26 14:45:07 UTC
Version:           unspecified (using KDE 4.7.1) 
OS:                Linux

If the user has no notifications daemon running (he/she removed the Notifications plasmoid) or if the user has explicitly chosen to disable file transfer notifications from the Notification plasmoid settings, then the traditional copy dialog will not show when choosing to copy a file, leaving no way for the user to cancel the transfer (and in some cases, or seeing the progress).

Reproducible: Always

Steps to Reproduce:
1. Remove the Notifications plasmoid
2. Log out and log back in (optional, perhaps, but it's what I did)
3. Perform a copying action with a folder containing large files or try to duplicate a folder with Ctrl-C and Ctrl-V in the same folder.

Alternatively you can just disable file transfer notifications from the Notification plasmoid as described here: http://gitorious.org/colibri/pages/SetupHowto

Actual Results:  
I saw no copy dialog at all, and, indeed, with the exception of the progress bar on my Icon Tasks applet, no indication that anything was actually being copied.

Expected Results:  
In the absence of a Notification daemon or the user has explicitly chosen to disable notification-based copy progress indicators (I, for one, have chosen to do so because Colibri does not support having buttons on its notifications and will display nothing anyway while KIO is copying), the standard copy dialog should appear showing the progress.

In the conditions specified in the summary, running "dbus-send --print-reply --dest=org.kde.kuiserver /JobViewServer org.kde.kuiserver.requiresJobTracker" will return false when it should return true, which is why I filed this bug under the kuiserver component. kdynamicjobtracker looks at this value and determines whether to create a KWidgetJobTracker.

I looked for duplicates but couldn't find any. I only found https://bugs.kde.org/show_bug.cgi?id=282350 which is only vaguely related.
Comment 1 svakak 2011-11-01 12:28:55 UTC
Same behavior is in 4.7.2 (Sabayon Linux). It would be nice to have option to select notifications or old style file operations dialog in Doplhin.
Comment 2 Yaroslav Sapozhnyk 2012-02-15 03:03:48 UTC
The same happens here: Fedora 16, KDE 4.7.4
Comment 3 Ryan Dalzell 2012-09-20 16:47:51 UTC
*** This bug has been confirmed by popular vote. ***
Comment 4 Brandon Watkins 2013-08-19 18:26:23 UTC
Same problem here, kde 4.11 final
Comment 5 Christoph Feck 2013-08-27 20:53:01 UTC
For whatever reason, since a few days it works again (using master).
Comment 6 Christoph Feck 2013-08-30 18:48:38 UTC
Well no, I only get the window when clicking on a link in kmail/akregator, but not for Dolphin operations.
Comment 7 Dawit Alemayehu 2013-08-31 14:38:10 UTC
This is not a bug in the plasma notification applet. You should not have to log out of KDE or even remove that applet in order to disable it from handling notifications. All you have to do is uncheck the "application notifications" and/or "file transfers and jobs" checkbox. Unfortunately, when you do that you see the following print out in the ~/.xsession-errors:

file:///usr/share/apps/plasma/plasmoids/org.kde.notifications/contents/ui/Notifications.qml:31:16: Unable to assign undefined value
file:///usr/share/apps/plasma/plasmoids/org.kde.notifications/contents/ui/Notifications.qml:30:15: Unable to assign undefined value
file:///usr/share/apps/plasma/plasmoids/org.kde.notifications/contents/ui/Jobs.qml:29:16: Unable to assign undefined value
file:///usr/share/apps/plasma/plasmoids/org.kde.notifications/contents/ui/Jobs.qml:28:15: Unable to assign undefined value
file:///usr/share/apps/plasma/plasmoids/org.kde.notifications/contents/ui/NotificationIcon.qml:47: TypeError: Result of expression 'jobs' [null] is not an object.
file:///usr/share/apps/plasma/plasmoids/org.kde.notifications/contents/ui/NotificationIcon.qml:66: TypeError: Result of expression 'jobs' [null] is not an object.
file:///usr/share/apps/plasma/plasmoids/org.kde.notifications/contents/ui/Notifications.qml:187: Unable to assign null to bool
Comment 8 Dawit Alemayehu 2013-08-31 14:38:50 UTC
Can one of you confirm that you get this same output in your error file?
Comment 9 Dawit Alemayehu 2013-08-31 14:57:22 UTC
Actually the "Unable to assign undefined value" message seem to be benign according to this bug report https://bugreports.qt-project.org/browse/QTBUG-10359, but my worry was not those. It was the "TypeError: Result of expression 'jobs' [null] is not an object." ones.
Comment 10 Dawit Alemayehu 2013-08-31 15:22:49 UTC
Well none of those messages seem to be actual error message but warnings. I personally get the traditional copy dialogs if I either remove the notification plasmoid or disable the "File transfers and jobs" options so long as I log out of the current session and log back in. For some reason the plasmoid does not seem capable of unregistering from the uiserver dynamically.
Comment 11 Yaroslav Sapozhnyk 2014-09-18 21:54:55 UTC
Well, it still doesn't work...
Comment 12 Christoph Feck 2014-09-18 22:43:19 UTC
Could you clarify if this also does not work on a freshly created user account? When I configure the systray notifications icon to not show "File transfers and jobs", I (now again) always get the separate KIO progress window when doing time consuming operations in Dolphin.
Comment 13 Yaroslav Sapozhnyk 2014-09-26 15:55:45 UTC
It works for the fresh user. Sorry about the confusion. I'll clean my kde config.

Thanks for the help