Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Saving: Expand "unsafe directory" warning to cover OneDrive/Dropbox/iCloud/Google Drive and other cloud sync drives #2859

Closed
dicksonlaw583 opened this issue Oct 29, 2023 · 7 comments
Assignees
Labels
documentation Improvements or additions to documentation are required by this issue feature request New feature (or a request for one)
Milestone

Comments

@dicksonlaw583
Copy link

Is your feature request related to a problem?

Both the GMC and the helpdesk are still frequently getting tickets about disappearing resources and corrupted projects caused by file access conflicts with cloud sync drives, particularly OneDrive. If the IDE can pre-emptively warn users against putting projects in synced locations, this would help safeguard novices from unexpected data loss and cut down on the amount of explaining that responders need to do.

Describe the solution you'd like

The IDE should show a warning when a project is saved somewhere containing these terms in the path:

  • OneDrive
  • Dropbox
  • com~apple~CloudDocs
  • Google Drive

Example Message:

This project is saved in a location managed by a cloud storage service:
C:\Users\dev\Dropbox\MyProject
Automatic sync with cloud storage is known to cause unexpected data loss. Please ensure automatic sync is OFF while the IDE is open, or move the project elsewhere.

Describe alternatives you've considered

GMC responders have repeatedly responded to threads advising against saving working copies in cloud sync drives, but the message simply aren't reaching novices. They are still saving projects in cloud sync drives thinking that it protects their data by backing it up, rather than destroying their project through file access conflicts.

Additional context

This kind of message already shows up when you try to save a project in TEMP, so it is not entirely novel. It should be a relatively quick addition to existing functionality.

@dicksonlaw583 dicksonlaw583 added the feature request New feature (or a request for one) label Oct 29, 2023
@iampremo iampremo added this to the 2024.2 milestone Oct 30, 2023
@YYDan
Copy link
Collaborator

YYDan commented Oct 31, 2023

Yeah, our permissions FAQ has documented this for a very long time and yet we always get "bug" reports for it, so I am all in favour of this change ;)

@KormexGit
Copy link

#2890 Related

@iampremo iampremo transferred this issue from another repository Jan 9, 2024
@YYDan YYDan changed the title Expand "unsafe directory" warning to cover OneDrive and other cloud sync drives Project Saving: Expand "unsafe directory" warning to cover OneDrive/Dropbox/iCloud/Google Drive and other cloud sync drives Jan 9, 2024
@stuckie stuckie modified the milestones: 2024.2, 2024.4 Jan 16, 2024
@ParodyKnaveBob
Copy link

Due to Windows just loving to set OneDrive folders for defaults, might I add to the feature request that a warning directly advise to change the IDE Preferences when relevant:

image

@YYDan
Copy link
Collaborator

YYDan commented Mar 4, 2024

Yes, I suggested this also

@CalumLaverock
Copy link

This has been done by adding checks when you try to create a new project (a warning asking if you're sure will show if you try to create a project in a cloud storage drive), try to Save As a project (same warning will show), and a warning will be shown when you open a project that is saved in a cloud storage location. The default "My Projects" path has also been set to be within the user profile folder rather than within MyDocuments as OneDrive likes to take over MyDocuments now as per #4372, and a warning will be shown on startup if you have your "My Projects" folder within a cloud storage location.

@github-project-automation github-project-automation bot moved this from Todo to Done in Team Workload Apr 1, 2024
@gurpreetsinghmatharoo gurpreetsinghmatharoo added the documentation Improvements or additions to documentation are required by this issue label Apr 2, 2024
@YYBartT YYBartT self-assigned this Apr 12, 2024
YYBartT added a commit to YoYoGames/GameMaker-Manual that referenced this issue Apr 15, 2024
…over OneDrive/Dropbox/iCloud/Google Drive and other cloud sync drives

YoYoGames/GameMaker-Bugs#2859

* Added a "warning" note snippet and linked it
* Also added a couple of separate "warning" notes (with slightly different text)
@YYBartT
Copy link

YYBartT commented Apr 15, 2024

Warning notes have now been added to the manual.

@YYBartT YYBartT moved this from Done to Ready for QA in Team Workload Apr 15, 2024
@Emc1923
Copy link

Emc1923 commented Apr 16, 2024

Verified warning added as of IDE v2024.400.0.541 Runtime v2024.400.0.560.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation are required by this issue feature request New feature (or a request for one)
Projects
Archived in project
Development

No branches or pull requests

10 participants