imrahil / OctoPrint-PrintHistory

Plugin for OctoPrint - saves filename, print time and filament usage for each print
GNU Affero General Public License v3.0
64 stars 64 forks source link

Deleting a print from history causes list to resort #13

Closed pauly7300 closed 9 years ago

pauly7300 commented 9 years ago

Regardless of the beginning sort order, when i pressing to delete an entry, the record is deleted however the list resorts into a pattern that doesn't appear obvious. See screenshots 1 (pre-delete) and 2 (after deletion).

In addition,although likely a separate defect, if i delete a record while a print is in progress, the printer pauses on and off for ~3-5 seconds while the deletion is being processed.

I'm on a Pi2 latest Dev build of Octoprint (1.3.0 dev95...) but i have seen this behavior even prior to the 1.2 upgrade. Running 0.6 version of print history

screenshot1 screenshot2

imrahil commented 9 years ago

my fault - file operations should be prohibited during printing

pauly7300 commented 9 years ago

ok thanks. That's on the deletion... Is the sorting a different issue?