DWC interface always scrolls to the top?
-
Hello all!
Some time ago I encountered a weird problem within the Duet Web Control: Whenever there's a scroll bar in the browser window (like when viewing the G-Code file list) and I scroll down, it automatically scrolls to the top again after about two seconds. This is kinda annoying when editing the macros in the system folder because you have to click very quickly on the file or else you'll miss it.
I'm using Firefox version 86.0 but the problem exists for quite a while now so it's not that specific Firefox version. I've also tested Chrome Portable v89.0.4389.90 and the same problem occurs. So I think it has something to do with my Duet firmware but I don't know where to look. Any help is greatly appreciatedM115:
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.02(RTOS) ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2018-12-24b1 -
@Eumldeuml That's quite old firmware you're using. But it's unlikely to be the firmware causing this issue; more likely that you're using an old version of DWC that's not compatible with modern browsers. Look on the Settings > General tab and post which version of DWC you are using.
You should be able to update to RRF 2.05.1 without having to make changes to your configuration, and benefit from a raft of improvements . You can also update DWC to the last 1.x version, v1.22.6, and/or DWC 2.x (you can run both concurrently, and switch between them). All files are here: https://github.com/Duet3D/RepRapFirmware/releases/tag/2.05.1
It's possible it's due to a corrupt settings file on the Duet; the settings for the browser are stored in the sys folder on the SD drive, and called 'dwc-settings.json' (or 'dwc2settings.json' for DWC 2.x). Try renaming this file, resetting the Duet and refreshing the browser. Also try deleting any cookies related to DWC in your browser if this doesn't help. Doing these will reset any changes you have made to settings in DWC.
Ian
-
The older firmware worked for me so I never bothered updating it. "Never change a running system"
Not having to change my config files convinced me to try updating the firmware and the DWC files. That fixed the scrolling problem but now I have to get used to the new look. At first glance I think I like it thoughI haven't found the .json files in the DWC file browser so I suppose you can only see them when the SD card is plugged into the PC? This question is for clarification purposes only.
Anyway, thanks for your detailed answer Sometimes the easiest solution looks like the hardest...
-
@Eumldeuml As you've got a Duet 2 WiFi, check that the Wifi server has been updated too. Send M122 and look for the line
WiFi firmware version
later in the report. I think 2.05.1 uses v1.23.Manual for DWC 2.x and 3.x is here: https://duet3d.dozuki.com/Wiki/Duet_Web_Control_v2_and_v3_(DWC)_Manual
You can go back to DWC v1.22.6 by:
- (Temporary) Appending '/reprap.htm' after the printer IP address/name in your browser address bar (updating to 2.x won't have deleted the old DWC v1.x files, but it's worth updating them too if you haven't already).
- (Permanent) Deleting the 'index.html.gz' file in the www folder on the SD card.
Not sure why you can't see the dwc settings files, but then I am looking at the SD card contents of a machine running RRF/DWC 3.2.2!
Ian
-
The WiFi version is v1.23 so that seems to be the current one.
I'll try using the new DWC before deciding if I want to go back. The new design has some improvements that I really like
Also, the .json files are now visible in the systems folder. My guess is that it has to do something with the option of storing the settings on local storage (although I don't know if "local" means on my computer or on the Duet).