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

            Bug ID: 434430
           Summary: useless warning messages about markup
           Product: frameworks-ki18n
           Version: unspecified
          Platform: Compiled Sources
                OS: All
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: caslav.i...@gmx.net
          Reporter: rjvber...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY
Most warnings generated in the kuitmarkup.cpp file should IMHO be debug
messages instead. I think that users should be able to have Qt warnings
activated without too much pollution of irrelevant messages. The fact that
someone's code uses an unknown markup tag that doesn't otherwise lead to a
functional regression is irrelevant for anyone except the developer of that
code.

For example, the patch proposed in
https://invent.kde.org/frameworks/kxmlgui/-/merge_requests/45 causes 2 of such
messages to be printed each time a tooltip is triggered. The tooltip actually
appears to be formated just fine, so the long and hard-to-read messages only
help to make other more important messages harder to notice. (I happen to know
they also haven't helped the author of the patch to figure out what he's doing
wrong...)

I think that all qCWarning() output that is followed by an early or empty
return should be qCDebug() output instead.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to