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

            Bug ID: 489877
           Summary: All calculations recorded in systemd journal
    Classification: Applications
           Product: kcalc
           Version: 24.05.2
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: evan.te...@gmail.com
          Reporter: d...@runbox.com
                CC: gabriel.barrantes....@outlook.com
  Target Milestone: ---

SUMMARY
All calculations are permanently store in the systemd journal. 

STEPS TO REPRODUCE
1. Use kcalc
2. check journalctl -b
3. --

OBSERVED RESULT
Everything typed in kcalc is then recorded in the journal.

EXPECTED RESULT
Everything done in the kcalc should not be recorded.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro
(available in About System)
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Here is an example of calculating 5x5=25 and what shows up in the journal:

Jul 07 08:52:40 homepc kcalc[18908]: Parsing string to TokenQueue
Jul 07 08:52:40 homepc kcalc[18908]: Buffer string to parse:  ""
Jul 07 08:52:40 homepc kcalc[18908]: Parsing string to TokenQueue
Jul 07 08:52:40 homepc kcalc[18908]: Buffer string to parse:  ""
Jul 07 08:52:40 homepc kcalc[18908]: Parsing string to TokenQueue
Jul 07 08:52:40 homepc kcalc[18908]: Buffer string to parse:  ""
Jul 07 08:52:42 homepc kcalc[18908]: Parsing string to TokenQueue
Jul 07 08:52:42 homepc kcalc[18908]: Buffer string to parse:  "5"
Jul 07 08:52:42 homepc kcalc[18908]: Converting string to Token
Jul 07 08:52:42 homepc kcalc[18908]: String KNumber converted:  "5"
Jul 07 08:52:42 homepc kcalc[18908]: Parsing index after this previous step:  1
Jul 07 08:52:42 homepc kcalc[18908]: Parsing done, index after parsing:  1
Jul 07 08:52:42 homepc kcalc[18908]: Token buffer size:  1
Jul 07 08:52:42 homepc kcalc[18908]: Processing token queue at:  0
Jul 07 08:52:42 homepc kcalc[18908]: Inserting KNumber Token in stack
Jul 07 08:52:42 homepc kcalc[18908]: Done processing token list
Jul 07 08:52:42 homepc kcalc[18908]: Done reducing final token stack
Jul 07 08:52:42 homepc kcalc[18908]: Result:  "5"
Jul 07 08:52:43 homepc kcalc[18908]: Parsing string to TokenQueue
Jul 07 08:52:43 homepc kcalc[18908]: Buffer string to parse:  "5×"
Jul 07 08:52:43 homepc kcalc[18908]: Converting string to Token
Jul 07 08:52:43 homepc kcalc[18908]: String KNumber converted:  "5"
Jul 07 08:52:43 homepc kcalc[18908]: Parsing index after this previous step:  1
Jul 07 08:52:43 homepc kcalc[18908]: Converting string to Token
Jul 07 08:52:43 homepc kcalc[18908]: KCalcToken converted with code:  7
Jul 07 08:52:43 homepc kcalc[18908]: Parsing index after this previous step:  2
Jul 07 08:52:43 homepc kcalc[18908]: Parsing done, index after parsing:  2
Jul 07 08:52:43 homepc kcalc[18908]: Token buffer size:  2
Jul 07 08:52:43 homepc kcalc[18908]: Processing token queue at:  0
Jul 07 08:52:43 homepc kcalc[18908]: Inserting KNumber Token in stack
Jul 07 08:52:43 homepc kcalc[18908]: Processing token queue at:  1
Jul 07 08:52:45 homepc kcalc[18908]: Parsing string to TokenQueue
Jul 07 08:52:45 homepc kcalc[18908]: Buffer string to parse:  "5×5"
Jul 07 08:52:45 homepc kcalc[18908]: Converting string to Token
Jul 07 08:52:45 homepc kcalc[18908]: String KNumber converted:  "5"
Jul 07 08:52:45 homepc kcalc[18908]: Parsing index after this previous step:  1
Jul 07 08:52:45 homepc kcalc[18908]: Converting string to Token
Jul 07 08:52:45 homepc kcalc[18908]: KCalcToken converted with code:  7
Jul 07 08:52:45 homepc kcalc[18908]: Parsing index after this previous step:  2
Jul 07 08:52:45 homepc kcalc[18908]: Converting string to Token
Jul 07 08:52:45 homepc kcalc[18908]: String KNumber converted:  "5"
Jul 07 08:52:45 homepc kcalc[18908]: Parsing index after this previous step:  3
Jul 07 08:52:45 homepc kcalc[18908]: Parsing done, index after parsing:  3
Jul 07 08:52:45 homepc kcalc[18908]: Token buffer size:  3
Jul 07 08:52:45 homepc kcalc[18908]: Processing token queue at:  0
Jul 07 08:52:45 homepc kcalc[18908]: Inserting KNumber Token in stack
Jul 07 08:52:45 homepc kcalc[18908]: Processing token queue at:  1
Jul 07 08:52:45 homepc kcalc[18908]: Insert Binary Function Token in stack
Jul 07 08:52:45 homepc kcalc[18908]: Processing token queue at:  2
Jul 07 08:52:45 homepc kcalc[18908]: Inserting KNumber Token in stack
Jul 07 08:52:45 homepc kcalc[18908]: Done processing token list
Jul 07 08:52:45 homepc kcalc[18908]: Reducing at stack size:  3
Jul 07 08:52:45 homepc kcalc[18908]: Done reducing final token stack
Jul 07 08:52:45 homepc kcalc[18908]: Result:  "25"
Jul 07 08:52:47 homepc kcalc[18908]: Parsing string to TokenQueue
Jul 07 08:52:47 homepc kcalc[18908]: Buffer string to parse:  "5×5"
Jul 07 08:52:47 homepc kcalc[18908]: Converting string to Token
Jul 07 08:52:47 homepc kcalc[18908]: String KNumber converted:  "5"
Jul 07 08:52:47 homepc kcalc[18908]: Parsing index after this previous step:  1
Jul 07 08:52:47 homepc kcalc[18908]: Converting string to Token
Jul 07 08:52:47 homepc kcalc[18908]: KCalcToken converted with code:  7
Jul 07 08:52:47 homepc kcalc[18908]: Parsing index after this previous step:  2
Jul 07 08:52:47 homepc kcalc[18908]: Converting string to Token
Jul 07 08:52:47 homepc kcalc[18908]: String KNumber converted:  "5"
Jul 07 08:52:47 homepc kcalc[18908]: Parsing index after this previous step:  3
Jul 07 08:52:47 homepc kcalc[18908]: Parsing done, index after parsing:  3
Jul 07 08:52:47 homepc kcalc[18908]: Token buffer size:  3
Jul 07 08:52:47 homepc kcalc[18908]: Processing token queue at:  0
Jul 07 08:52:47 homepc kcalc[18908]: Inserting KNumber Token in stack
Jul 07 08:52:47 homepc kcalc[18908]: Processing token queue at:  1
Jul 07 08:52:47 homepc kcalc[18908]: Insert Binary Function Token in stack
Jul 07 08:52:47 homepc kcalc[18908]: Processing token queue at:  2
Jul 07 08:52:47 homepc kcalc[18908]: Inserting KNumber Token in stack
Jul 07 08:52:47 homepc kcalc[18908]: Done processing token list
Jul 07 08:52:47 homepc kcalc[18908]: Reducing at stack size:  3
Jul 07 08:52:47 homepc kcalc[18908]: Done reducing final token stack
Jul 07 08:52:47 homepc kcalc[18908]: Result:  "25"
Jul 07 08:52:47 homepc kcalc[18908]: Parsing string to TokenQueue
Jul 07 08:52:47 homepc kcalc[18908]: Buffer string to parse:  ""
Jul 07 08:52:47 homepc kcalc[18908]: Parsing string to TokenQueue
Jul 07 08:52:47 homepc kcalc[18908]: Buffer string to parse:  "25"
Jul 07 08:52:47 homepc kcalc[18908]: Converting string to Token
Jul 07 08:52:47 homepc kcalc[18908]: String KNumber converted:  "25"
Jul 07 08:52:47 homepc kcalc[18908]: Parsing index after this previous step:  2
Jul 07 08:52:47 homepc kcalc[18908]: Parsing done, index after parsing:  2
Jul 07 08:52:47 homepc kcalc[18908]: Token buffer size:  1
Jul 07 08:52:47 homepc kcalc[18908]: Processing token queue at:  0
Jul 07 08:52:47 homepc kcalc[18908]: Inserting KNumber Token in stack
Jul 07 08:52:47 homepc kcalc[18908]: Done processing token list
Jul 07 08:52:47 homepc kcalc[18908]: Done reducing final token stack
Jul 07 08:52:47 homepc kcalc[18908]: Result:  "25"


Also, I noticed similar behaviour with kde's other calculator (kalk), I have
not reported that bug.

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

Reply via email to