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
fpdragon
10 discussion posts
I just noticed a problem with the window position save feature.
I'm using multipe windows of the Vivaldi Browser but same problem should also apply to Chrome Browser and many other tools.

The main problem is that these tools have dynamic window names. Depending on the selected tab or even the website themselves make the window title change and DisplayFusion can't identify the window any more.

I noticed that the name can be disabled under DisplayFusion->Settings->Window Position Profiles->Edit.
But then only the "Process Filename" and "Window Class" is used for identifying the window and multiple windows of the same browser are stacket on the same position. And that's what I'm trying to do. Spreading several Browserwindows to differnt positons. Even the trigger function seems to not support "Save Window Positions" without saving the Window Names.

So the question is if there is an other, better way to identify windows. Maybe PID would be a good idea since it does not change as long as don't restart the tool? Or just matching at least one PID to identify a window again?

Or is there a different approach?

And I guess DisplayFusion currently has no support for saving and restoring multiple browser windows?

thx
Apr 20, 2020  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
You can use the "Save Window Positions" and "Restore Window Positions from Last Save" functions on the Settings > Functions tab. You can set a hotkey on them, or enable them as titlebar buttons.

Those functions use window handles, which are unique for every window, but the downside is that if you close/re-open the window, or restart the computer, the positions are lost, because Windows generates a new random handle when it re-opens.

Hope that helps!
Apr 20, 2020  • #2
User Image
fpdragon
10 discussion posts
window handles are perfectly fine for my use.

Now I see... there are two types of window position features:

1.)
"Save Window Positions" & "Restore Window Positions From Last Save"
This uses window handles and works even with dynamic window names.
But there is only one "memory" or stack for one position snapshot of the desktop?! I can only save on position snapshot for one display profile?!

2.)
"Window Position Profiles"
Can only be loaded from Triggers but can't be saved.
Support multiple snapshots.
No handle support. Instead a combination of "Process Filename", "Window Class" and "Window Text" is used. That's problematic for windows mit dynamic Window Texts.

So the question is... Why? Why can't I just have Window Position Profiles with window handle identification and full Trigger support (Save and Load)?

Or is it possible to grab the "Save Window Positions" data and backup and restore it somehow to implement profiles myself?

That would be great! xD :)

Thanks.
Apr 20, 2020  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
The problem with saving multiple profiles using the window handles, is that the window handles change every time the window closes/re-opens, or if the computer is restarted. So having multiple profiles would only be useful if you never closed the applications.

Could you describe your workflow here? Maybe there's a solution we can come up with that would work :)
Apr 21, 2020  • #4
User Image
fpdragon
10 discussion posts
Yes of course.

I am using a laptop either with a docking station and external monitors or as a laptop itself.

When docked I want to create multiple virtual desktops and I want to spread arround all my windows on the different monitors.

When I take the laptop for a walk all these windows will be shown on the notebooks screen and shall have differen position. When I dock again I want to restore the window positions for multi screen.

I also can think of multiple setups for screen settings and window position save.
Laptop Mode
Dock Private
Dock Work
Dock Gaming
...

All with diffent layouts and window positions.
Switching between them does not automatically mean that the laptop or any app has restartet. They shall be just moved to the position where they were before I left this screen profile the last time.
So I think the handle identification would be just fine as long as I could differentiate different profiles.
Apr 22, 2020  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ah ok, I understand! At the moment it's not technically possible to do that because we store the values in the window properties themselves. If we do change that in the future though, we'll definitely let you know :)
Apr 24, 2020  • #6
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)