DeskFrame icon indicating copy to clipboard operation
DeskFrame copied to clipboard

[BUG] - Frames are the wrong size upon booting up computer and also upon clicking on a folder/application within the Frames.

Open Momonii opened this issue 8 months ago • 7 comments

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:

  1. Set up DeskFrames.
  2. 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.

Momonii avatar Mar 05 '26 19:03 Momonii

Hi, if you open the settings through the trayicon, then you have an option to reload every frame.

Image

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.

PinchToDebug avatar Mar 06 '26 00:03 PinchToDebug

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%?

Momonii avatar Mar 06 '26 00:03 Momonii

Yes it's definitely the scaling.

PinchToDebug avatar Mar 06 '26 00:03 PinchToDebug

Ah, alrighty then. Looking forward to seeing the new branch when it's ready. Best of luck with finishing it ^^

Momonii avatar Mar 06 '26 00:03 Momonii

Hi, if you open the settings through the trayicon, then you have an option to reload every frame.

Image

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.

innesst avatar May 05 '26 16:05 innesst

@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.

runatheviking avatar Jul 02 '26 11:07 runatheviking

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.

PinchToDebug avatar Jul 02 '26 13:07 PinchToDebug