Bug 465278

Summary: Inconsistent printing of dollar-terminated commands
Product: [Applications] cantor Reporter: Jack Hill <jackhill3103>
Component: maxima-backendAssignee: Cantor Bugs <cantor-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alexander.semke
Priority: NOR    
Version First Reported In: 22.12.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jack Hill 2023-02-04 16:49:36 UTC
SUMMARY

STEPS TO REPRODUCE
1. Open a Cantor sheet in Maxima mode
2. Make a cell with the following content:

a: 3$
b: 4$
c: a+b;
d: 123$
e: d+c;

3. Run the cell multiple times

OBSERVED RESULT
First possible output (only possible in a new session, not possible in an existing session after restarting backend):
No output

Second possible output:
<cantor-prompt>(%i2) </cantor-prompt>
<cantor-prompt>(%i3) </cantor-prompt>

7

Third possible output:
<cantor-prompt>(%i7) </cantor-prompt>
<cantor-prompt>(%i8) </cantor-prompt>

7

130

After an output is achieved, it seems like the preceding outputs will no longer be reproducible. I.e. getting output 2 means you can no longer get output 1 but can still get output 3; and getting output 3 means you can no longer get output 3.

EXPECTED RESULT
Regardless of whether it's the 1st or 2nd time running the cell:
7

130

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230201
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.8-1-default (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 Alexander Semke 2023-02-09 07:39:00 UTC
This is most probably the same problem as in https://bugs.kde.org/show_bug.cgi?id=465277.
Comment 2 Alexander Semke 2023-03-26 17:22:20 UTC

*** This bug has been marked as a duplicate of bug 465277 ***