NetAccess::statInternal and showing job progress
David Faure
faure at kde.org
Tue Jul 20 14:18:23 BST 2010
On Friday 16 July 2010, Aaron J. Seigo wrote:
> is there any pressing reason to show the progress info for stat/exist
> checks on remote files? i'd like to commit this and backport if there is
> consensus.
I object. This is very useful for slow (or even hanging) connections.
It is not useful for fast connections, but the fix for that is to only show
notifications for jobs that last more than 0.5 second. This is what the "old"
dialog-based notifications did (*), and the bug here is that the plasma
notifications don't do that. They should delay the addition of jobs by 0.5
second and forget about them if they were completed meanwhile.
(*) kdeui/jobs/kwidgetjobtracker.cpp says:
QTimer::singleShot(500, this, SLOT(_k_showProgressWidget()));
--
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).
More information about the kde-core-devel
mailing list