DeskFrame icon indicating copy to clipboard operation
DeskFrame copied to clipboard

[BUG] - Frames positions lost after reboot

Open bthiebault opened this issue 1 year ago • 11 comments

Describe the bug Each time I restart my computer, the position of the frames is lost, and I have to reposition them manually:

Image

Expected behavior The Frames should stay at their original place:

Image

Desktop (please complete the following information): Édition Windows 11 Famille Unilingue Version 24H2 Installé le ‎09/‎11/‎2024 Build du système d’exploitation 26100.6584 Expérience Pack d’expérience de fonctionnalités Windows 1000.26100.234.0

Additional context It worked correctly in version 1.20 (as far as I can remember). I now use 1.25.0

bthiebault avatar Sep 21 '25 08:09 bthiebault

How many monitors do you have? What is the arrangement like? On which monitor did you place the frames? By saying that they lost their position, what do you mean? All stacked in the corner of the screen, or all of them are shifted by x pixel vertically/horizontally? (you can check in regedit: HKCU\software\deskframe\instances) Give me more details please.

PinchToDebug avatar Sep 21 '25 13:09 PinchToDebug

Hi, I only have one 4k screen. What I mean it's shown on the two screenshots I have left in the bug report: the frames overlap each other on the x axis, but not completely (see the first picture). I just had another positioning problem. I launched a game in full screen and when I quit the game, all the frames were on top of each other in the top left of the screen. I can't access my computer right now, so I can't check in regedit. I'll do it as soon as my son stops playing

bthiebault avatar Sep 21 '25 13:09 bthiebault

Same issue

Xunflash avatar Sep 23 '25 05:09 Xunflash

Same issue

I use a 2560x1600 monitor, and in my case, after rebooting, all frames are shifted to the left by several pixels, causing them to overlap.

Xunflash avatar Sep 23 '25 05:09 Xunflash

I have similar issue; two monitors (main 3440x1440 at 100% scale and to its right a 3840x2160 at 150% scale) and whenever the PC wakes from sleep, the frames I have (on the main 3440x1440 screen) get shoved up into the top-left corner on top of each other. Is this likely to be fixed by the same commit you just did?

bmadgett avatar Sep 25 '25 10:09 bmadgett

I was able to reproduce it only once. It might be fixed, I've checked the code but I didn't find anything that could've cause it.

PinchToDebug avatar Sep 25 '25 12:09 PinchToDebug

Don't know if it's relevant but I'll note that other normal open windows get moved about across the monitors sometimes when I wake the PC from sleep, it almost looks like Windows recognises the monitors in different orders sometimes and gets 'confused'? Both are Displayport so I'd have hoped they were reliable detected in the same order each time but it doesn't look like it. So maybe when your frames get refreshed after sleep, at that moment the monitor they're supposed to be on isn't properly recognised by Windows yet, so they end up squashed to one side?

Even just a failsafe "restore frame positions to last good saved position" button I could hit when this happens would be useful.

Edit: it's not waking from sleep as such, I've just returned to my PC where it's been awake but monitors off, turned the monitors on and the frames are over on the side again. So I think it's monitor detection rather than Sleep behavior, somehow. Perhaps a Locked frame could check its actual window position vs where it "thinks" it's supposed to be Locked in place, and adjust itself automatically to the correct location if they don't match? (I'm thinking a second or two after waking up, they'd pop to the correct places if they were arranged wrong at wakeup).

bmadgett avatar Sep 25 '25 13:09 bmadgett

I've tested with games that had different resolutions than the desktop and alt+tabbing resizes the desktop resolution and it didn't change the position of the frames. I've also tested monitor sleep/wake and that didn't cause it either.

PinchToDebug avatar Sep 25 '25 13:09 PinchToDebug

I made a new release it might be solved.

PinchToDebug avatar Sep 25 '25 19:09 PinchToDebug

I have installed the last release and the bug is still there: after a reboot, all my frames are shifted to the left (all but the two in the corners). See screenshot below:

Image

bthiebault avatar Sep 28 '25 07:09 bthiebault

I installed the update and it works! Thanks for the good work

bthiebault avatar Sep 30 '25 12:09 bthiebault