----- Original Message -----
----- Original Message -----
> On Wed, Jan 14, 2015 at 11:22:57AM +0100, Marcel Oliver wrote:
> When I run okular I see:
>
> Connecting to deprecated signal
> QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
> kbuildsycoca4 running...
> okular(16844) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"
> refers to unknown mimetype
> "application/vnd.ms-excel.sheet.binary.macroEnabled.12"
> okular(16844) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"
> refers to unknown mimetype
> "application/vnd.ms-excel.addin.macroEnabled.12"
> okular(16844) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"
> refers to unknown mimetype
> "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"
> okular(16844) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"
> refers to unknown mimetype
> "application/vnd.ms-excel.sheet.macroEnabled.12"
> okular(16844) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"
> refers to unknown mimetype
> "application/vnd.ms-powerpoint.presentation.macroEnabled.12"
> okular(16844) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"
> refers to unknown mimetype
> "application/vnd.ms-word.template.macroEnabled.12"
> okular(16844) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"
> refers to unknown mimetype
> "application/vnd.ms-excel.template.macroEnabled.12"
> okular(16844) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"
> refers to unknown mimetype
> "application/vnd.ms-powerpoint.template.macroEnabled.12"
> okular(16844) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"
> refers to unknown mimetype
> "application/vnd.ms-word.document.macroEnabled.12"
> okular(16844) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"
> refers to unknown mimetype
> "application/vnd.ms-powerpoint.slide.macroEnabled.12"
> QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Nie ma
> takiego pliku ani katalogu
> QFileSystemWatcher: failed to add paths:
> /home/zbyszek/.kde/share/config/activitymanager-pluginsrc
>
> This is an issue. It either ends up on the terminal or in the logs. When
> looking through logs to diagnose a problem this kind of garbage is very
> annoying. Especially repeating the same message over and over should be
> fixed.
And this KMimeTypeRepository issue looks like a bug as it happens almost
everywhere even debugging is disabled (in kdebugdialog for example).
Kdebugdialog is also answer for the original question (for KDE).
So it's kWarning, not kDebug and it can't be ignored by using kdebugdialog
settings. There are two options - fix the underlying issue or change
kWarning to kDebug - it just depends on how important it is and it seem
as Harald already pointed out - nobody really cares. I found one another
example of mimetypes kWarning being changed just to kDebug. But I'm not
skilled in mimetypes at all :).