Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
Fear na Boinne
41 discussion posts
My PC regularly screws up my window positioning, because my main monitor is sometimes slow with providing the required information, and then it resizes all windows to the size of the tiny statistics monitor built into my case.
(My main is a 4k screen, the stats screen is 1024x600)

Sometimes Windows even moves all windows to that tiny screen, leaving me with an empty main display, and a headache of dragging all windows that happen to NOT be in a previously saved Window Position Profile manually back to the main screen...

It would be great if I could automatically save all positions at either an X amount of idle time, or when the PC shuts down or goes into sleep or hibernation.

Two issues with that:
1) No Triggers for shutdown, sleep or hibernation, but I could probably work around that, as in 90% of the cases, I trigger those through a press on my streamdeck, so I could add something there to trigger DisplayFusion events.
2) No way to automatically save (and overwrite) a Window Position Profile that I can find...

Does anyone know of a way to achieve #2? (#1 would be nice to know, but #2 is what I'd like to know most!)

PS: I know about 'Move all apps to monitor X', but that doesn't fix the resizing issue, and I do want the apps that belong on the 2nd screen to remain on there... Also, there's no 'ignore monitor splits' versions for that set of functions...
Aug 17, 2024  • #1
User Image
JLJTGR
107 discussion posts
Add a new scripted function with the following and change the profile name to what you want...

Code

using System;
public static class DisplayFusionFunction
{
    public static void Run(IntPtr windowHandle)
    {
        BFS.DisplayFusion.SaveWindowPositionProfile("Some Profile Name");
    }
}
Aug 18, 2024  • #2
User Image
Fear na Boinne
41 discussion posts
Sorry for the delay, I've been busy with travel (work), a.s.o., so I haven 't been able to look at this in a while.

I'll have a try and see what I can do with this!

Thanks for the effort! 8)
Sep 10, 2024  • #3
User Image
Fear na Boinne
41 discussion posts
It appears to be working, but I have not yet had a need to test it, because since then the monitors and windows have been behaving...
Sep 13, 2024  • #4
Keith Lammers (BFS)'s profile on WallpaperFusion.com
You could try this out as well. It says it's for docking/undocking, but would also apply to any other monitor changes that happen, like if you regularly power off a monitor or whatever:

https://www.displayfusion.com/HelpGuide/AutomaticallySavingAndRestoringWindowPositionsOnDockUndock/
Sep 13, 2024  • #5
User Image
Fear na Boinne
41 discussion posts
That looks interested... Thanks for that
Sep 13, 2024  • #6
User Image
Fear na Boinne
41 discussion posts
Quote:
You could try this out as well. It says it's for docking/undocking, but would also apply to any other monitor changes that happen, like if you regularly power off a monitor or whatever:

https://www.displayfusion.com/HelpGuide/AutomaticallySavingAndRestoringWindowPositionsOnDockUndock/


I just tried this today, and it doesn't seem to trigger on Monitor Profile changes, even if I do the Monitor Profile change manually!

Additionally, I have multiple profiles, so I can use different splits. When I turn off/on my main monitor, it doesn't select the previously active profile with these monitors, but the one without splits.
Dec 18, 2024 (modified Dec 18, 2024)  • #7
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Quote:
When I turn off/on my main monitor, it doesn't select the previously active profile with these monitors, but the one without splits.


We are releasing DisplayFusion 11.0.4 shortly and it will fix up this issue.

For the other issue, could you re-test it after updating to 11.0.4 when it's released? If it's still an issue, can you check the DisplayFusion Monitor Config window and tell me if it shows "Detected Profile" in the top-left corner after you've loaded a profile?

Thanks!
Dec 20, 2024  • #8
User Image
Fear na Boinne
41 discussion posts
Quote:
We are releasing DisplayFusion 11.0.4 shortly and it will fix up this issue.

For the other issue, could you re-test it after updating to 11.0.4 when it's released? If it's still an issue, can you check the DisplayFusion Monitor Config window and tell me if it shows "Detected Profile" in the top-left corner after you've loaded a profile?


I will test once it is released and let you know.

The 2nd problem is because I have 3 profiles for the 2 monitor state:
1) single 4K + 1024x700
2) 2x2 1920x1080 split + 1024x700
3) 3840x520 , 3840x1440, 3840x200 split + 1024x700

And a single profile for single monitor:
4) 1024x700

I usually start from #2, when I turn of the main, it goes to #4, when I turn it on again, it selects #1.
Dec 20, 2024  • #9
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ah that's interesting. Did 11.0.4 help with the second issue? I'm wondering if it might have because of another fix we have in 11.0.4.

Thanks!
22 days ago  • #10
User Image
Fear na Boinne
41 discussion posts
I haven't properly tested everything yet, but #2 *seems* solved, because it now lists the 2x2 as detected and default...

Will get back after actual testing... Have other things to attend to before that tho!

And Happy New Year!
22 days ago  • #11
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Excellent, glad to hear it! Happy New Year to you as well :)
13 days ago  • #12
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)