[Kst] [Bug 215931] Make the datawizard faster

Nicolas Brisset nicolas.brisset at eurocopter.com
Wed Dec 16 08:33:34 CET 2009


https://bugs.kde.org/show_bug.cgi?id=215931





--- Comment #6 from Nicolas Brisset <nicolas brisset eurocopter com>  2009-12-16 08:33:31 ---
Ah, that feels much better now. From the debug output, it seems that datasource
constructors get called only once, and the ASCII datasource postpones parsing
to when it's actually needed. 
This seems to be good enough for me, as qimagesource is apparently fairly fast.
Maybe we could still change qimagesource slightly so that it checks the file
type instead of parsing it to know whether it can be handled?

By the way, this whole validation stuff in the file selection dialog only makes
sense to me when we show the user which datasource is going to be used in the
first wizard page, as in kst 1.x. But this is no longer shown... (the label
that used to be just left from the Configure.. button). That definitely had
added value, and should be pretty cheap once we have queried all datasources.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kst mailing list