Another weird multi-line editor bug [VIDEO]

Please report issues with the DM41X Beta Firmware in this sub-forum
Boub65
Posts: 231
Joined: Tue Sep 12, 2017 4:34 pm
Location: Rabat, Morocco

Another weird multi-line editor bug [VIDEO]

Post by Boub65 »

Hi all,
here is another weird multi-line editor bug caught on video (the video is not public, must have the following link)...

https://youtube.com/shorts/H_0GB5hOEGk

Hope it helps debugging...
Sincèrement, Sincerely, 73,
Boubker

DM15L, DM41L, DM42 #00855 (domes upgraded), DM41X #00707
HP48SX (with dark screen), HP42s, HP32SII (1990 with fraction bug), HP41C/CV
TI-89 titanium, CASIO fx-cg50 and Numworks (to play with micropython)
rprosperi
Posts: 1703
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: Another weird multi-line editor bug [VIDEO]

Post by rprosperi »

Thanks for the report, and the video really helps to understand the symptoms, which would be hard to describe accurately.

However, I cannot reproduce this; I entered as much of the program as shown (Lines 01-06, though I see there are actually 360 lines), had the editor 'cursor' on line 02, and when I press [XEQ] [ALPHA], the 41X enters Alpha mode and awaits entry of a program/function name.

I suggest you remove all modules and try to reproduce this, the issue is likely related to a module or module configuration issue.

Also, please verify which version of 41X f/w you have installed, I presume it's 2.1, but please check this.
--bob p

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
Boub65
Posts: 231
Joined: Tue Sep 12, 2017 4:34 pm
Location: Rabat, Morocco

Re: Another weird multi-line editor bug [VIDEO]

Post by Boub65 »

Hello Bob,
DM41X f/w is 2.1
Lib#4 and HEPAX 4H plugged. That's all.

I could reproduce the bug at the moment as many times as I wanted, which allowed me to film the video...
... but could not repoduce afterwards!

I will try again to reproduce...
Sincèrement, Sincerely, 73,
Boubker

DM15L, DM41L, DM42 #00855 (domes upgraded), DM41X #00707
HP48SX (with dark screen), HP42s, HP32SII (1990 with fraction bug), HP41C/CV
TI-89 titanium, CASIO fx-cg50 and Numworks (to play with micropython)
rprosperi
Posts: 1703
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: Another weird multi-line editor bug [VIDEO]

Post by rprosperi »

OK, please keep trying and let us know if you find out what leads to that behavior. When trying to duplicate your results, I also had HEPAX 4H/Lib4 installed, so that seems to not be involved. Have you been dabbling with Synthetics? Doing so can sometimes lead to odd states which might be corrected after a subsequent power-cycle.
--bob p

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
Boub65
Posts: 231
Joined: Tue Sep 12, 2017 4:34 pm
Location: Rabat, Morocco

Re: Another weird multi-line editor bug [VIDEO]

Post by Boub65 »

No Bob, no Synthetics...
Only standard programming (called FOCAL?)
Sincèrement, Sincerely, 73,
Boubker

DM15L, DM41L, DM42 #00855 (domes upgraded), DM41X #00707
HP48SX (with dark screen), HP42s, HP32SII (1990 with fraction bug), HP41C/CV
TI-89 titanium, CASIO fx-cg50 and Numworks (to play with micropython)
Boub65
Posts: 231
Joined: Tue Sep 12, 2017 4:34 pm
Location: Rabat, Morocco

Re: Another weird multi-line editor bug [VIDEO]

Post by Boub65 »

rprosperi wrote:
Thu Aug 12, 2021 3:05 pm
OK, please keep trying and let us know if you find out what leads to that behavior...
Bob,
I tried and tried and tried... and got 3 more times the same behavior, but nothing I can 100% reproduce... will try to find a pattern...

In the meantime, I reproduced this bug from RESET :
https://youtu.be/qNnvfhwEhyw
(as always, video is unlisted, need the url to see it)
RESET calculator (ON + backspace)
PRG
LBL SHIFT ALHPA A ALPHA
LBL SHIFT ALPHA B ALPHA
Up arrow (to position yourself on LBL A)
SHIFT bring you to last line of progam
STO gives you a 04 line (there is no 03 line?) and a 04 LBL _ _ instruction

Weird 🤔
Even weirder here https://youtu.be/o-4BjX5capc
(Once placed on LBL A, instead of SHIFT LBL, do a 10 +arrow down)
You get a 1 at line 02 and a 10 at line 04 (!!!)

EDIT 1 : the bug is also for STO, RCL, XEQ (instead of LBL). In fact any instruction requiring arguments
Last edited by Boub65 on Thu Aug 12, 2021 10:23 pm, edited 2 times in total.
Sincèrement, Sincerely, 73,
Boubker

DM15L, DM41L, DM42 #00855 (domes upgraded), DM41X #00707
HP48SX (with dark screen), HP42s, HP32SII (1990 with fraction bug), HP41C/CV
TI-89 titanium, CASIO fx-cg50 and Numworks (to play with micropython)
Panchdara
Posts: 148
Joined: Sat May 15, 2021 9:02 am

Re: Another weird multi-line editor bug [VIDEO]

Post by Panchdara »

Could it be related to:
viewtopic.php?f=26&t=3039

??
Boub65
Posts: 231
Joined: Tue Sep 12, 2017 4:34 pm
Location: Rabat, Morocco

Re: Another weird multi-line editor bug [VIDEO]

Post by Boub65 »

Panchdara wrote:
Thu Aug 12, 2021 8:59 pm
Could it be related to:
viewtopic.php?f=26&t=3039

??
Maybe Panchdara...
In fact my goal now is to document the behaviors as much as I can, so Bob and the team can isolate the multiline editor bugs and hopefully correct them.
Sincèrement, Sincerely, 73,
Boubker

DM15L, DM41L, DM42 #00855 (domes upgraded), DM41X #00707
HP48SX (with dark screen), HP42s, HP32SII (1990 with fraction bug), HP41C/CV
TI-89 titanium, CASIO fx-cg50 and Numworks (to play with micropython)
rprosperi
Posts: 1703
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: Another weird multi-line editor bug [VIDEO]

Post by rprosperi »

Here's feedback on the 3 bugs in this thread.

#1. When you find a reliable way to reproduce this, we can explore it.

#2. This is due to the way the multiline editor interacts with the editor in ROM. Until a statement is completed, the editor display may not appear correct, but it will be OK once you complete the command. In your video, the problem which you show is only part-way through entering the new command. This is simply a limitation of the multiline editor.

#3. I can reproduce this, it is indeed odd, and appears to be a bug, but needs more checking. I'll get back to you about this one. Fortunately, it's harmless as the program is intact and the extra line can be readily corrected (in the case of the demo, line 02 should be changed to 10 and line 04 deleted). Quite weird indeed!

Thanks for the detailed reports and videos.
--bob p

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
Boub65
Posts: 231
Joined: Tue Sep 12, 2017 4:34 pm
Location: Rabat, Morocco

Re: Another weird multi-line editor bug [VIDEO]

Post by Boub65 »

Ok Bob for #1 and #3...
Sorry to insist on #2, but it's a bug Bob! Same as #3...
rprosperi wrote:
Fri Aug 13, 2021 12:51 am
but it will be OK once you complete the command.
No Bob!
Because you are trying to add the third LBL instruction just after the first LBL on line 01 (remember the usage of UP arrow?) and it adds it on line 03 (which intermediately promps as 04, no problem) and not line 02...

It's also a "harmless" bug as you call it, (or an undocumented "feature" as we call it in the software industry 🤔) because you can delete the new instruction you keyed in at line 03 and (try) to renter it on line 02... with succes the second time hopefully!
Sincèrement, Sincerely, 73,
Boubker

DM15L, DM41L, DM42 #00855 (domes upgraded), DM41X #00707
HP48SX (with dark screen), HP42s, HP32SII (1990 with fraction bug), HP41C/CV
TI-89 titanium, CASIO fx-cg50 and Numworks (to play with micropython)
Post Reply