KIO::NetAccess static methods question

Kevin Ottens ervin at kde.org
Mon Oct 22 19:37:11 BST 2007


Le lundi 22 octobre 2007, Rafael Fernández López a écrit :
> > You didn't answer my (implicit) questions:
> > 1) does the new widget used for progress dialog have the
> > only-show-after-a-few-seconds feature?
>
> AFAIK (this is a Kevin work) no. Maybe he can elaborate more on this.

"Kevin work" is a bit of a strong statement actually. It's code I borrowed but 
existed a long time ago, I just wrapped it in the tracker interface. After 
several butchering like this I'm not sure I can claim it as mine. ;-)

As for the "only-show-after-a-few-seconds" it got lost a long time ago when 
you started working on kuiserver (which was fine with what you planned), now 
that we're back to in process dialogs in a hurry it's not back.

That said it's probably easy to add into KWidgetJobTracker, we're not forced 
to call show() immediately on the ProgressWidgets like we do now.

> > 2) if yes, what's the use case for
> > NetAccess without progress dialog?
>
> Even if no only-show-after-a-few-seconds feature exists we can find use
> cases for this situations.
>
> For example if you show a set of skins downloaded from a website in runtime
> and you don't want to show any information when downloading. That's only a
> use case, I can imagine tons of them.

Actually that's a bad use case because you basically leave the user in the 
dark wondering why the ui is sitting there doing nothing.

Regards.
-- 
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071022/38057e00/attachment.sig>


More information about the kde-core-devel mailing list