DWC 3.5b2 - line numbers incorrect
-
The gcode editor has issues rendering line numbers longer than 9999
-
@jay_s_uk I failed to reproduce most of your recently reported problems. When you pull in DWC changes, make sure to run
npm install
prior tonpm run build
ornpm run serve
to ensure that your node modules match the ones frompackage-lock.json
. -
@chrishamm this is all running the stock build from github.
There hasn't been any need to build DWC recently -
@chrishamm I see exactly the same problem when running Firmware: Duet 3 MB6HC 3.5beta2 (2023-02-08) and Duet Web Control 3.5.0-beta.2 on Chrome 109.0.5414.120. Line numbers up to 9999 are fine after that the last digit on most lines is corrupt, the file I'm editing is the gcode for a benchy.
-
@gloomyandy @chrishamm looks like the field is only wide enough for 4 digits and it is trying to squeeze 5 in there.
-
@jay_s_uk Thanks, I could reproduce this one as well and I've got a potential fix ready.