godot icon indicating copy to clipboard operation
godot copied to clipboard

Files disappear randomly from favorites

Open KoBeWi opened this issue 3 years ago • 3 comments

Godot version

126e4d0

System information

Windows 10 x64

Issue description

When you add file to favorites, it will eventually disappear after opening the project few times. I don't know what is triggering it yet, might be related to opening the project in multiple editor instances at once.

Steps to reproduce

  1. Right-click file and add it to favorites
  2. Wait a couple of days (?)
  3. The file is no longer there

Minimal reproduction project

No response

KoBeWi avatar Jun 11 '22 15:06 KoBeWi

Noticed this in v3.5.rc4.mono.official [e047c5006] Windows 11 64bit

I am using one editor at a time.

Anecdotal notes:

  • it doesn't affect folders
  • it doesn't happen when reopening a project (through "Quit to project list")
    • it only happens on reboots over here

tricheco avatar Jun 30 '22 05:06 tricheco

Have also noticed this on 3.5 stable (Windows 10 x64) and some prior release candidates. Seems to only occur after a restart.

nion-ne avatar Aug 11 '22 08:08 nion-ne

noticed this in the 4.0 beta 1 as well

cosmoddd avatar Sep 19 '22 16:09 cosmoddd

Noticed this in version 3.5.1. It's even worse here, as randomly all my favorites are empty suddenly. I can close the editor and after reopening it all favorites are there, and sometimes I notice that they are all gone. Using macOS.

pink-ink avatar Nov 17 '22 14:11 pink-ink

(Using the Steam version) After opening a few of the included demo projects, and closing them with CTRL+SHIFT+Q to head back to the Project Manager, all my projects that where stored in a different location where gone from the list. This includes both favorited and non-favorited projects.

DamienKusters avatar Dec 02 '22 18:12 DamienKusters

(Using the Steam version) After opening a few of the included demo projects, and closing them with CTRL+SHIFT+Q to head back to the Project Manager, all my projects that where stored in a different location where gone from the list. This includes both favorited and non-favorited projects.

This is an unrelated issue, as favorite projects are stored differently: https://github.com/godotengine/godot/issues/40968

Calinou avatar Dec 02 '22 19:12 Calinou

Confirmed on Linux Ubuntu 22.04, so probably not OS-related.

It happens to me every day or even during a day after project reopen. Since favorites are stored locally on user machine I suppose, I don't see them on VCS so it takes me some time to realize that it happened, and I cannot describe a specific thing I did just before. I suppose I could temporarily track the favorite folders though, if I know its path.

hsandt avatar May 04 '23 18:05 hsandt

It's also happening in 4.1.1. I only had 1 favorite material, while I create a pipeline of assets, and the material keeps disappearing from Favorites.

damvcoool avatar Sep 15 '23 17:09 damvcoool

I confirm that it happens in 4.1.1. After some app reboots, randomly. MacOS.

luislodosm avatar Sep 26 '23 08:09 luislodosm

Facing this in Godot v4.1.1.stable - macOS 13.5.2

Doesn't seem to require app reboots.

My minimal reproduction steps:

  1. Create a new empty project
  2. Create a new script in the FileSystem dock and add it to favourites
  3. Create root node in your scene and save the scene
  4. The script is gone from favorites!

passivestar avatar Sep 29 '23 12:09 passivestar

Where are favorites stored? They must be outside project or we would have spot it with VCS diff (unless I inadvertently put them in .gitignore?). Once we get their location we can setup some diff tracking to stop the exact moment favorites are cleared.

I see a PR is in the works but it also says it's not sure to fix the issue; diff tracking could also help see if the PR solves the issue (if repro is reliable).

hsandt avatar Oct 15 '23 10:10 hsandt

Confirmed as issue on v4.1.1. Been fighting with it for the last week or so since I started using the Favorites folder. Windows 10

nikywilliams avatar Oct 15 '23 12:10 nikywilliams

I no longer have this problem btw, shouldn't this be closed with #82537 ?

passivestar avatar Feb 07 '24 11:02 passivestar

It should, but @KoBeWi used "Solves" which is not one of GitHub's auto-closing keywords, so it was missed. :upside_down_face:

Fixed by #82537.

akien-mga avatar Feb 07 '24 11:02 akien-mga

That's because I didn't intend to close this issue:

The issue seems older than that PR, so this probably doesn't solve the original problem.

I identified the bug I fixed as a regression from a PR newer than this issue. There's a chance it's still reproducible.

KoBeWi avatar Feb 07 '24 11:02 KoBeWi

Ah indeed. Should we reopen, or assume the older bug might also have been fixed and see if it ever pops up again in 4.2+?

akien-mga avatar Feb 07 '24 11:02 akien-mga

Leave it closed. If someone runs into it again, they can comment here or open a new issue.

KoBeWi avatar Feb 07 '24 11:02 KoBeWi