Valentina reports warnings from KDE internals

Issue #615 invalid
fabrice salvaire created an issue

On my Linux Fedora, Valentina reports warnings from KDE internals.

Comments (6)

  1. fabrice salvaire reporter

    Where is the code in Valentina that catch this warning? I agree this not related to valentina but I would check if we can filter such messages.

  2. fabrice salvaire reporter

    I found it is in src/app/valentina/core/vapplication.ccp

    void VApplication::BeginLogging() {
       ...
      qInstallMessageHandler(noisyFailureMsgHandler);
    }
    

    It looks like it is difficult to filter spurious messages with the Qt logging system since there is no context.

    It is annoying when the system send several messages since user has to acknowledge each popup. A solution could be to add a console widget to log these messages and an associated close button to clear and hide the widget.

  3. Roman Telezhynskyi repo owner

    It looks like it is difficult to filter spurious messages with the Qt logging system since there is no context.

    You have a context here. Just filter by unique strings. See function noisyFailureMsgHandler for samples.

  4. Log in to comment