Bug in editor

Post here to share useful tips and tricks, to ask questions about using your DM42 or to report software-related problems
User avatar
rudi
Posts: 415
Joined: Wed Nov 03, 2021 9:03 am
Location: Denmark
Contact:

Bug in editor

Post by rudi »

Entering a number in a program, temporary “hides” the next instruction. But it shows up again, when pressing the SST/downarrow.

See this video

https://youtube.com/shorts/keve853zEe4?feature=share

I’m running DM42 v3.20
/Rudi

DM-42 (s/n 06999), HP-42S, HP-35s, HP-11c, HP-32SII (ex HP-41CV, ex HP-75C, ex HP-48G + a lot, really lot of a accessories)
Denmark
User avatar
akaTB
Posts: 794
Joined: Tue May 02, 2017 1:56 pm
Location: Milan, Italy

Re: Bug in editor

Post by akaTB »

rudi wrote:
Mon Nov 29, 2021 5:32 pm
Entering a number in a program, temporary “hides” the next instruction. But it shows up again, when pressing the SST/downarrow.

See this video

https://youtube.com/shorts/keve853zEe4?feature=share

I’m running DM42 v3.20
"Save dog from crocodile group attack" ?!? :shock:
Greetings,
    Massimo
ajcaton
-+×÷ left is right and right is wrong :twisted: Casted in gold
User avatar
rudi
Posts: 415
Joined: Wed Nov 03, 2021 9:03 am
Location: Denmark
Contact:

Re: Bug in editor

Post by rudi »

Eih?
/Rudi

DM-42 (s/n 06999), HP-42S, HP-35s, HP-11c, HP-32SII (ex HP-41CV, ex HP-75C, ex HP-48G + a lot, really lot of a accessories)
Denmark
User avatar
akaTB
Posts: 794
Joined: Tue May 02, 2017 1:56 pm
Location: Milan, Italy

Re: Bug in editor

Post by akaTB »

This was the video shown when following your link: https://youtu.be/G88GPvAeP-Y

I now see that yours is the one before that in the list. https://youtu.be/keve853zEe4

Maybe that .../shorts/... is the culprit.
Greetings,
    Massimo
ajcaton
-+×÷ left is right and right is wrong :twisted: Casted in gold
User avatar
rudi
Posts: 415
Joined: Wed Nov 03, 2021 9:03 am
Location: Denmark
Contact:

Re: Bug in editor

Post by rudi »

Oh. Sorry. I’m not a YouTube expert ;-)
/Rudi

DM-42 (s/n 06999), HP-42S, HP-35s, HP-11c, HP-32SII (ex HP-41CV, ex HP-75C, ex HP-48G + a lot, really lot of a accessories)
Denmark
rprosperi
Posts: 1703
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: Bug in editor

Post by rprosperi »

rudi wrote:
Mon Nov 29, 2021 5:32 pm
Entering a number in a program, temporary “hides” the next instruction. But it shows up again, when pressing the SST/downarrow.
This is a long-known bug, which will be fixed in a future update. As you're relatively new here, I'll point out and ask you to please check existing reports before adding a new one, it makes tracking and prioritizing stuff easier. Also, congrats on finally getting your DM42, quite a delivery saga...
--bob p

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
User avatar
rudi
Posts: 415
Joined: Wed Nov 03, 2021 9:03 am
Location: Denmark
Contact:

Re: Bug in editor

Post by rudi »

Hi Bob,

Sorry - I did actually search this forum before submitting my report, but couldn't find any similar.
Can You show me a link to the previous post with the known bug?
/Rudi

DM-42 (s/n 06999), HP-42S, HP-35s, HP-11c, HP-32SII (ex HP-41CV, ex HP-75C, ex HP-48G + a lot, really lot of a accessories)
Denmark
rprosperi
Posts: 1703
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: Bug in editor

Post by rprosperi »

Sorry, I hope you didn't take that the wrong way, but many new folks will presume they are the first to report a bug when they find one. PLEASE don't take this as any kind of squelch on bug reporting... I should have written that in a more constructive way.

This bug was first reported here:

viewtopic.php?p=10583#p10583

As explained there, it's due to the multi-line editor in DM42 vs the 2-line editor in Free42, where the same thing happens, you simply can't see it. :)

As there is no data loss, inaccuracy or other serious problem, and only momentary inconvenience, it has been pushed (way) down the priority list as the editor code is complex and time-consuming to adjust and the limited bandwidth is better used elsewhere. I can't sat this won't be fixed, but I can say it won't be fixed soon.
--bob p

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
User avatar
rudi
Posts: 415
Joined: Wed Nov 03, 2021 9:03 am
Location: Denmark
Contact:

Re: Bug in editor

Post by rudi »

Ok Bob. Thanks. I also assumed it had to do with the two line display in the Free42.

I plan to clone the Free42 project git repository and see if I can build, run and debug it on my Win10 with VS2019. If successfull, I will see if there’s an easy fix for the bug and commit/push if Thomas Okken admits that.
Because I actually find this bug quite annoying.
/Rudi

DM-42 (s/n 06999), HP-42S, HP-35s, HP-11c, HP-32SII (ex HP-41CV, ex HP-75C, ex HP-48G + a lot, really lot of a accessories)
Denmark
Thomas Okken
Posts: 1100
Joined: Tue May 02, 2017 5:48 pm
Location: Netherlands
Contact:

Re: Bug in editor

Post by Thomas Okken »

You'd have to fix the DM42 version, not Free42. The DM42 version is where the problem is.

Free42 always shows incomplete program lines in the bottom line if there is no menu, and in the top line if there is a menu. That behavior is copied from the HP-42S.

I agree that it would be good, on a display with more than two lines, to push existing lines down when adding a new line, and to do so even before the new line is complete... but you won't find the code to fix in Free42, because it's simply not there.
Post Reply