Proposal to hide raw QML errors in Plasma Next
Martin Klapetek
martin.klapetek at gmail.com
Tue Apr 22 07:59:39 UTC 2014
On Tue, Apr 22, 2014 at 12:53 AM, Aleix Pol <aleixpol at kde.org> wrote:
>
> You know what's going on by checking what the code is doing.
>
> Can you imagine how life would be if QString class started to output
> information "so that you know what's going on"?
>
> We add output if something weird is happening so that the user sees it,
> like QML which gives us valuable information of what's going wrong. Then we
> have random output information that somebody, some day, decided to push to
> our codebase.
>
I would like to even go as far as going through all qDebugs in plasma/shell
and remove 90% of them before the release, the output /is/ unnecessary too
noisy and I absolutely agree that the production-ready code should just
output stuff if anything goes wrong, maybe some system status changes like
"plasma loaded", that's useful for "anchoring" the output that would come
from users. Absolutely worst are debugs on timers (try opening the
wallpaper config and look at console), that should be killed with fire.
Cheers
--
Martin Klapetek | KDE Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140422/d907f69d/attachment.html>
More information about the Plasma-devel
mailing list