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

            Bug ID: 451445
           Summary: User input shows up in logging output and this can't
                    be disabled.
           Product: frameworks-sonnet
           Version: 5.76.0
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: martin.sandsm...@kde.org
          Reporter: sudd...@gmx.at
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY

Hi all,

we're are using Sonnet in our Qt based application for spellchecking
(https://github.com/qTox/qTox/). qTox uses the global Qt log message handler
and Sonnet seems to use this one too. Unfortunately Sonnet seems to log user
input in some cases. We are looking for a way to disable this behavior, since
qTox is a privacy focused application and we don't want any user input showing
up in log files.

STEPS TO REPRODUCE
1. enter "jkl? asdf"  (without "") into a textbox which uses Sonnet for spell
checking

Note that the "?" seems to trigger this log message. Unfortunately we're only
able to reproduce this on my system, so if you have any hints on what the root
cause of this is, they would be highly appreciated.

OBSERVED RESULT

The following log output appears:

:0 : Warning: Unable to find any suggestion for "asdf"

EXPECTED RESULT

Either the user input is censored like:

:0 : Warning: Unable to find any suggestion for "*"

or there is an API function/config option to instantiate Sonnet without logging
user input.
I understand that logging user input is crucial for debugging Sonnet, but we
should be able to disable this on a per Application or even per input form
basis.

SOFTWARE/OS VERSIONS

Operating System: openSUSE Leap 15.3
KDE Plasma Version: 5.18.6
KDE Frameworks Version: 5.76.0
Qt Version: 5.12.7

ADDITIONAL INFORMATION

We're going to workaround this issue by filtering the respective log message,
but nevertheless it would be good to fix this properly.

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

Reply via email to