On 10/22/23 09:28, Rene Hopf via Emc-developers wrote:


On 16.10.23 00:00, gene heskett wrote:
On 10/14/23 10:17, gene heskett wrote:
On 10/14/23 09:13, Sam Sokolik wrote:
I have actually seen this playing with axis from master on bookworm.  At
some point the refresh button in axis just quits working.  You have to
physically re-open the gcode file for the changes to show up.  Then the
refresh button will work for a bit.

I thought it was just me...

https://github.com/LinuxCNC/linuxcnc/issues/2490
could this be related?


Nope, Sam, that green reload button (axis interface) has been funkity for quite some time, but seems to have gotten more like tits on a boar hog lately. At one point yesterday, I tried it, and got different code, that contained 2 lines I had removed from that file back in September when I decided to make two different programs out of it instead. This was a 30 line file, one operation in a while loop. Reloading by filename(menu->open) was the only way I could get the results I had just edited into the file, back into lcnc, the menu->reload was also getting old code. geany launched from the menu->edit.

That really ought to set a flag to do the reload automatically when geany exits.

I first thought geany was starting to do gedit's 54 pickup tricks but several subsequent cats of the file were correct but lcnc was reloading old code.

I just verified this on my sixty40 mill too, I have to use the menu->open pulldown to get the code I just edited 30 seconds before.
Cheers, Gene Heskett.

Cheers, Gene Heskett.

And that is still required a/o yesterdays update to master. I still have to use file->open if I want to get the gcode I just edited 20 seconds ago. My conclusion is that there is a cache someplace that is not being invalidated by the file->edit call. And only the file->open forces a re-read of the dirs contents. The time lag, is the dir sort as the instant files name is vise-screw6.ngc and scrolling to the end in one mouse motion is foiled by the need to keep the mouse motion /ON/ the slider. It would be most appreciated here if that vertical position of the mouse was frozen for as long as the button was down, then a single swipe of the mouse would move the slider to the end of the listing. Yeah, I'm a picky being and that machines nc_files directory currently has 249 entries. ;o)>

_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to