[BUG] - One saved desktop frame disappears after restarting
Describe the bug
When restarting the application or the computer,
- With 3 frames created → only 2 are restored
- With 2 frames created → only 1 is restored
Note that the disappeared frame IS LIKELY the one having files (files dropped into the frame); not folder.
Video
https://github.com/user-attachments/assets/cfb6d9e4-e947-4e62-bdd5-391c3c9ea78e
To Reproduce
- Create 2 or 3 frames on the desktop (all on the primary monitor).
- Close the app or restart the computer.
- Launch the app again — exactly one frame will be missing.
Expected behavior
All previously saved frames should be restored after restart.
Environment
- OS: Windows 10 Pro 22H2 (build 19045.5965)
- Display setup: Dual monitors; all frames placed on the main monitor (portrait orientation)
- Scaling: 100% (no custom scaling)
Additional context
App version: 1.32.8 The missing frame is consistent (always one frame lost, regardless of how many were saved).
Hi, I'll fix it tomorrow! (The issue is that the files are dropped into the frame from the same folder thus created with the same folder's uid.)
Hi, I'll fix it tomorrow! (The issue is that the files are dropped into the frame from the same folder thus created with the same folder's uid.)
This is likely why the issue occurs. To make frames truly independent (loose coupling), it would be ideal if each new frame generated its own unique identifier — for example, based on the source folder path + frame creation timestamp (or any other method that guarantees uniqueness). Thank alot.
That's exactly what I'm planning to do!
The issue was that the registry key's name was "File frame" because the Instance.Name wasn't changed, so it was overwritten. https://github.com/PinchToDebug/DeskFrame/commit/fd2db97c8d817f2ed9e5968634a1805290c8f8cc
I'll release a new version tomorrow.