Page MenuHomeAleph Objects Inc

Save to file as Default for removable media
Closed, ResolvedPublic

Description

We would like the "Save to File" option to be default when removable media is inserted to the computer.

Event Timeline

Orias created this task.Oct 11 2018, 11:25 AM
Orias created this object with visibility "Cura LulzBot Edition (Project)".
Orias created this object with edit policy "Cura LulzBot Edition (Project)".
alexei triaged this task as Wishlist priority.Oct 11 2018, 11:58 AM
alexei changed the visibility from "Cura LulzBot Edition (Project)" to "Public (No Login Required)".

But then what's the difference between "Save to removable drive" and "Save to file"?

@Orias Are you looking to have save to file default opposed to save to removable drive when media is inserted?

Steven added a subscriber: Steven.Oct 26 2018, 12:30 PM

@karrad this ticket was made in response to the concern that if Cura always dumps the gcode file in the root directory of a USB drive this could show performance issues on the touch screen LCD if the number of files om the root directory grows very large.

@Steven Agreed, however this specific ticket is requesting a functionality that is already within Cura LE.

Right now, when removable media is inserted the program will default to "save to removeable drive" which will dump the gcode to root.

You can also hit the drop down to "save to file" which will allow for file navigation, and prevent build up in the root directory.

Just not sure if we want to change default behavior to "save to file" or I am missing something from the request.

IMO, changing the default behavior to "save to file" could encourage better file organization (if we have the documentation written with folders in mind) instead of dumping to root by default.

Additionally, "save to removable drive" doesn't prompt to select the location, which matters if you have more than one drive plugged in. "save to file" would require user action to place the file in the desired location/drive.

@Orias Sounds good, we will get that updated before Quiver

karrad renamed this task from Consider Adding File Navigation Pop Up to Save to Removable Drive Functionality to Save to file as Default for removable media.Oct 26 2018, 1:37 PM
karrad raised the priority of this task from Wishlist to Normal.
karrad updated the task description. (Show Details)

@victor_larchenko Would it be possible to default to the /media directory of the local station by default?

alexei added a subscriber: alexei.Nov 26 2018, 8:59 AM

@victor_larchenko ,

rU9b467f5e42c620029d44d09d9d0f2f072d783817 is more than questionable, what if user do not want to save file to /media directory by default, but instead to the directory where the file was last read from or saved to?
Reminder For tickets like this please commit to the ticket branch instead of the master branch.

alexei added a comment.Dec 5 2018, 1:15 PM

I have reverted rU9b467f5e42c620029d44d09d9d0f2f072d783817 since it is at least non platform independent.

karrad removed victor_larchenko as the assignee of this task.Dec 5 2018, 2:46 PM
karrad added a subscriber: victor_larchenko.

Going to leave this one un-assigned for now. We will need to re-test the functionality of the latest marlin to see if the 100+ file scrolling issue is still a problem.

karrad lowered the priority of this task from Normal to Low.Dec 7 2018, 11:27 AM

Test with 30, 50, 70, and 100 gcode files loaded into the main directory on the USB stick to see where the threshold for lag is.

karrad assigned this task to Galadriel.Jan 25 2019, 3:21 PM
karrad added subscribers: Galadriel, bigmansas.

@Galadriel @bigmansas Thanks for testing these ones, we appreciate it!

Orias awarded a token.Jan 25 2019, 4:06 PM
bigmansas added a comment.EditedJan 26 2019, 10:43 AM

I just put 30 files on the USB drive and they were 4.2MB per file. It seems like there is a slight delay (a second or less) when cycling between the 4 screens worth of files on the LCD screen. 50 of the same files gives a delay of about 3 seconds. 70 gives a delay of about 5-6 seconds and for some odd reason the screen flashed and the z axis homed itself when pressing the USB drive button.

When I put 100 files on the USB stick, and select USB Drive, it flashed the LCD screen and auto homed the z axis again and beeped at me, but didn't load into the USB stick. When I tried it a second time, same results. I will leave the USB drive in the Quiver on my desk with all the files on it, in case anyone wants to test it as well, without having to go through loading 100 files on the stick.

I also put a clear zip tie on the USB stick as a means of marking it, just in case things move around.

Orias added a comment.Jan 28 2019, 8:15 AM

Would you mind testing with several folders with 25/50/100 files in each?

When testing Quiver with SL tool head installed m.2.0.0.78, I am unable to bring up the list of files of @bigmansas USB drive. It will attempt to open, make a sound, and reboots the screen:

Testing in folders:

20 in one folder is slight delay when scrolling between pages

40 in one folder is about a 1 second delay swapping between pages

60 in folder is about a 3 second delay.

After going back and testing the folders with all three on there, it has slightly increased the delay in the 20 and 40 folders.

Not sure how many we would like to recommend, but limiting to 100 gcode files in folders of no more than 20 each seems like a good starting point.

@TyTh @Galadriel Due to the different operating systems, I am feeling like we lean towards "save to file" as default. Do you have any objections here?

@victor_larchenko Would we be able to set this up so the first time a file is sliced, it will default to save to file. Then if a second file is saved, can we default to that same location? This would then be cleared when the program is restarted.

@karrad No objections on our part

@TyTh Sounds good, we have that implemented right now.

@victor_larchenko Let us know about the reverting to previous save location, if it is a large lift let us know and we can drop it.

alexei raised the priority of this task from Low to Normal.
alexei moved this task from Release 3.6.xx to Next Release (3.6) on the Cura LulzBot Edition board.
alexei removed subscribers: lansky, mcoronado.

@karrad Now should work. Also please check on all OS. It should default to:
linux: /media
windows: "This PC"
mac: /Volumes

alexei claimed this task.Mar 28 2019, 8:32 AM
karrad added a comment.Apr 5 2019, 3:06 PM

@alexei This is one we will need before quiver release, not sure if you want it in that column or not

karrad claimed this task.Apr 12 2019, 1:38 PM

Even with a better file location by default, organizing files will be key to prevent lag on the LCD screen. We are not going to implement this, and be sure to document in the manual.

karrad closed this task as Resolved.Aug 1 2019, 12:09 PM