OctoPrint-Dashboard icon indicating copy to clipboard operation
OctoPrint-Dashboard copied to clipboard

[Bug]: Old thumbnail shown

Open giano574 opened this issue 2 years ago • 5 comments

The problem

I haven't had time to figure out exactly how to reproduce it but my steps were:

  1. Upload and print a model through OctoPrint for Cura plugin. Confirm that the thumbnail is shown in the dashboard.
  2. Upload a new model and start printing by using OctoPrint for Cura plugin.
  3. Confirm that the dashboard has updated, but is showing the old thumbnail.

Version of OctoPrint

1.7.3

Platform

Raspberry Pi 3B+

Operating system running OctoPrint

OctoPi

Dashboard version

1.19.8

Python version

3.7.3

Printer model & used firmware incl. version

No response

Browser and version of browser, operating system running browser

Google Chrome

Logs and other files needed for analysis

  • [X] Systeminfo Bundle (always include!) See here if you don't know where to find that.
  • [ ] Screenshots and/or videos showing the problem (always include in case of issues with the user interface)
  • [ ] GCODE file with which to reproduce (always include in case of issues with GCODE analysis or printing behaviour)

File uploads & additional information

octoprint-systeminfo-20220518092850.zip

giano574 avatar May 18 '22 07:05 giano574

Can you please check if the thumbnail is shown correctly or not when you view it using the button in the files menu? If it is not shown correctly there, can you please try and see if it is shown correctly there when Dashboard plugin is disabled?

j7126 avatar May 27 '22 04:05 j7126

Hello, I also have this very problem (Octoprint 1.8.2, Dashboard 1.19.8). The thumbnail is properly displayed when I click on it in the files menu (shown into a floating window), and when I load the gcode from the file menu (shown in the « state » sidebar zone).

DerMouse avatar Sep 06 '22 13:09 DerMouse

Hi, I can confirm that this is still a bug that's been around for a while, I am on octoprint 1.8.6 and dashboard 1.19.9

The print thumbnail of this dashboard plugin will show the previously printed/loaded gcode with image on it.

e.g gcode 1 has an image of 2 cubes gcode 2 has an image of 4 pyramids

printing gcode 1 will not show any of the images printing gcode 2 after gcode 1 will show image of 2 cubes that's from gcode 1

In some 'perhaps rare' cases, like what I did to check if the layout were correct or not, I pressed the "preview" button multiple times, then reloaded the page via browser reload, the thumbnail is now gone. "slicer thumbnail" plugin works perfectly, maybe you want to try 'pull' the thumbnail data from this plugin?

Perhaps the logic of this dashboard plugin's thumbnail is that, it will be updated once a new gcode is loaded, not during reading the gcode like most should be (I guess)

sarf2k4 avatar Feb 13 '23 13:02 sarf2k4

Hi, I have the same Problem.

Here is a screenshot: image

Left is the right thumbnail and by dashboard the old.

emis-cz avatar Nov 23 '23 16:11 emis-cz

Hi, it happen if I click on printing direct in the list left.

emis-cz avatar Dec 05 '23 10:12 emis-cz