Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
twno1
8 discussion posts
Hi, DisplayFusion is a great app!!

So... After adding a second screen, there is a problem with window alignment.
I set my main screen "Landscape" on the left, second screen "Portrait" on the right.
Using DisplayFusion to do window alignment, there is always a small gap between two screens on both screens. There is also an overlap between two apps on the main screen.

How can I manage this problem?

By the way, there is also a problem with windows builtin window alignment on the second screen but no problem on main screen...(3rd picture)
• Attachment [protected]: 9EG5lYELrM.png [315,292 bytes]
• Attachment [protected]: rrfMI7fF1y.png [661,661 bytes]
• Attachment [protected]: xRNdPTdC0B.jpg [414,595 bytes]
Nov 27, 2019 (modified Nov 27, 2019)  • #1
User Image
twno1
8 discussion posts
I can think of a solution that is using a custom scripted function that move window to a specific x,y location of "all" screens (not working area) and size the window.
But I don't know how to do that, can someone help me with this?
Nov 27, 2019 (modified Nov 27, 2019)  • #2
User Image
twno1
8 discussion posts
So when using "Window Position Profiles", setting the window bounds to "X=3833, Y=0, W=1094, H=925" can move the window to exactly position I need.
How can I translate this to scripted function?
Nov 27, 2019  • #3
User Image
twno1
8 discussion posts

Code

using System;
using System.Drawing;

public static class DisplayFusionFunction
{
    public static void Run(IntPtr windowHandle)
    {        
        BFS.Window.SetSizeAndLocation(windowHandle, 3833, 0, 1094, 925);
    }
}


Here is the code I modified from a scripted function, but it still has the gap.
Nov 27, 2019  • #4
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Could you send me a copy of your troubleshooting info? Here are the steps:

  • Open the Settings > Troubleshooting tab
  • Click the "Export Info to File" button
  • Reply with the file attached
Nov 28, 2019  • #5
User Image
twno1
8 discussion posts
Here is the file. Thanks!!
• Attachment [protected]: DisplayFusionDebugInfo.zip [27,358 bytes]
Nov 28, 2019  • #6
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks! Can you do a test for me? If the windows that are supposed to be on the portrait monitor are on the landscape monitor, and you load the Window Position Profile, does it work?
Nov 28, 2019  • #7
User Image
twno1
8 discussion posts
Yes! The X fits my need, no gap. However, the screen arrangement has to be top aligned if Y remains 0.
Nov 28, 2019  • #8
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, thanks! I'll need to check in with our developers on this. The gap when using custom/scripted functions is expected, as it's a workaround for a Windows 10 scaling bug. That workaround is used when using monitors of different scaling levels.

What I'm not clear on is why there's no gap with the Window Position Profiles. When I load mine, I run into the scaling bug, so it seems that the Window Position Profiles should have that gap as well, but I'm surprised to hear that they work completely on your system.

I'll update this thread when I've got some more news.

Thanks!
Nov 29, 2019  • #9
Keith Lammers (BFS)'s profile on WallpaperFusion.com
We've just released a new DisplayFusion beta version and this issue should be all fixed up. Please let us know if you run into any trouble after updating.

Thanks!
May 8, 2020  • #10
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)