bambulab / BambuStudio

PC Software for BambuLab and other 3D printers
GNU Affero General Public License v3.0
2.12k stars 282 forks source link

Bambu Studio periodically sets the directory for the import/open dialog to some random directory #1922

Open julie777 opened 1 year ago

julie777 commented 1 year ago

Bambu Studio Version

1.6.2.4

Where is the application from?

Bambu Lab Official website

OS version

Windows 10

Additional system information

No response

Printer

P1P

How to reproduce

  1. I am not sure. In this case
  2. open bambu studio
  3. create new project
  4. <ctrl>I to import file
  5. file dialog opened to directory C:\Users\julie\AppData\Local\Temp\Neutron

Actual results

File dialog was opened to a location that I never use.

When I looked at the BambuStudio.conf file, it has multiple directory entries in it. (I am not including recent_projects.)

    "app": {
        "download_path": "C:\\Users\\julie\\Downloads",
        "last_backup_path": "C:\\Users\\julie\\AppData\\Local\\Temp/bamboo_model/Sun_Jun_11/10_36_01#67820#47",
        "last_export_path": "C:\\Users\\julie\\home\\Hobbies\\3dprinting",
...
    "recent": {
        "last_opened_folder": "C:\\Users\\julie\\AppData\\Local\\Temp\\Neutron",
        "settings_folder": "C:\\Users\\julie\\home\\Hobbies\\3dprinting"
    },

It looks like the issue is that somehow recent/last_opened_folder got set wrong. I do not believe that I have ever opened that folder in Bambu Studio. It looks like a folder that Fusion 360 is using for temp files. How could Bambu Studio be storing a folder used by another application?

I also do not understand why recent/settings_folder is a directory where my 3D printing related files are stored. There are no profiles/settings files there.

Expected results

I expect the last directory that I had selected in any of the file (open, save) dialogs to be the location when the file dialog is opened.

I expect Bambu Studio to restore my choice if it internally changes that directory.

Project file & Debug log uploads

This should not be required. Many issues do not show up in logs.

Checklist of files to include

bambu123 commented 1 year ago

Please continue to pay attention to the reproduction steps, Thank you.

BambulabRobot commented 3 months ago

This issue has been marked as inactive due to no response for 90 days.