Bug 465278 - Inconsistent printing of dollar-terminated commands
Summary: Inconsistent printing of dollar-terminated commands
Status: RESOLVED DUPLICATE of bug 465277
Alias: None
Product: cantor
Classification: Applications
Component: maxima-backend (show other bugs)
Version: 22.12.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Cantor Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-04 16:49 UTC by Jack Hill
Modified: 2023-03-26 17:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***