[BUG] - Frames are the wrong size upon booting up computer and also upon clicking on a folder/application within the Frames.
Description: Frames are the wrong size upon booting up computer. Opening the frame settings appears to fix this issue until the next boot. The issue also re-appears when clicking on an application or folder within the frame; also resolved by opening the frame settings.
To Reproduce: Steps to reproduce the behavior:
- Set up DeskFrames.
- Reboot computer.
Expected behavior Frames are the correct size and position when turning on your computer or opening applications/folders for the first time.
Screenshots / Screenrecording
https://github.com/user-attachments/assets/47ede5b8-cdc4-4077-a9cc-ae0e69491c22
https://github.com/user-attachments/assets/304671ec-b3d7-4b87-99a4-e14cfbccd955
Desktop:
- OS Version 25H2
- OS Build 26200.7922
Additional context I am using a single 1440p monitor with 125% scale for icons, text, and other items, and nothing which would change the look of Windows or how it functions.
Hi, if you open the settings through the trayicon, then you have an option to reload every frame.
There's a branch with proper DPI scaling but it's not finished. I only have 1 monitor and my PC isn't powerful enough to debug it in a virtual machine with multiple virtual screens.
Clicking reload frames appears to cause this same issue again, also with the same solution. I also only have 1 monitor, but are you saying this is caused by me having the scale for everything set to 125%?
Yes it's definitely the scaling.
Ah, alrighty then. Looking forward to seeing the new branch when it's ready. Best of luck with finishing it ^^
Hi, if you open the settings through the trayicon, then you have an option to reload every frame.
![]()
I have found myself for various reasons wanting to reload frames - a potential improvement would be to have "reload all" appear in the pop up menu when you right click the tray icon to make this easier / faster.
@PinchToDebug if you need help testing or bug fixing, I am a C# developer (in Unity w/ a little prior experience in windows UI development) and have a 1440p monitor and 4k monitor setup with different scaling setting on each. I would be happy to help in any way I can and am very appreciative of your work on this project.
For everyone else, as a work around for now, after reloading sometime I have to go in the system tray settings window and click on Manage Frame for each one for it to correctly position them. Also unlocking and relocking is necessary for one of my frames.
The issue is how Windows handles windows. Window position calculation is relative to the main display, and when the dpi/resolution changes, the whole positioning on other displays are getting shifted. Also since the application's parent is set to be the desktop the calculation of x,y positions is different from a normal window so it's pretty painful to deal with everything all at once.