<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>DisplayFusion RSS: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=0192563b-a396-75cd-a0e4-73d955b649b7" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=0192563b-a396-75cd-a0e4-73d955b649b7</link>
<description>DisplayFusion RSS: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</description>
<lastBuildDate>Sun, 19 Apr 2026 09:12:20 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=0192563b-a396-75cd-a0e4-73d955b649b7</generator>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#21</link>
<pubDate>Thu, 23 Jan 2025 05:08:12 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#21</guid>
<category>DisplayFusion</category>
<description><![CDATA[Quote:
Oh yeah this is expected, the function needs to be run before the desktop is locked to get the correct bounds including the taskbar.
If you're looking to have the positions saved automatically before your screensaver kicks in, you can use a trigger that runs on a "System Idle" timer with...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>Oh yeah this is expected, the function needs to be run before the desktop is locked to get the correct bounds including the taskbar. <br/>
<br/>
If you're looking to have the positions saved automatically before your screensaver kicks in, you can use a trigger that runs on a "System Idle" timer with it set to save right before the screensaver starts (this guide explains further: <a href="https://www.displayfusion.com/HelpGuide/AutomaticallySaveAndRestoreWindowPositionsOnSleepResume/" target="_blank" rel="nofollow"><b>https://www.displayfusion.com/HelpGuide/AutomaticallySaveAndRestoreWindowPositionsOnSleepResume/</b></a>)<br/>
<br/>
If you're looking to have the positions saved right before you manually lock the desktop, you'll have to run the function manually as well.<br/>
<br/>
Thanks!</div></div><br/>
<br/>
They actually get the correct bound, just not when a windows was placed with SnapAssist. Neverthless, I modified the function subtract the 40px of the taskbar, this will be good enough and will fit my needs.<br/>
<br/>
Thanks.
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#20</link>
<pubDate>Wed, 22 Jan 2025 14:33:24 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#20</guid>
<category>DisplayFusion</category>
<description><![CDATA[Oh yeah this is expected, the function needs to be run before the desktop is locked to get the correct bounds including the taskbar.
If you're looking to have the positions saved automatically before your screensaver kicks in, you can use a trigger that runs on a "System Idle" timer with it set ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Oh yeah this is expected, the function needs to be run before the desktop is locked to get the correct bounds including the taskbar. <br/>
<br/>
If you're looking to have the positions saved automatically before your screensaver kicks in, you can use a trigger that runs on a "System Idle" timer with it set to save right before the screensaver starts (this guide explains further: <a href="https://www.displayfusion.com/HelpGuide/AutomaticallySaveAndRestoreWindowPositionsOnSleepResume/" target="_blank" rel="nofollow"><b>https://www.displayfusion.com/HelpGuide/AutomaticallySaveAndRestoreWindowPositionsOnSleepResume/</b></a>)<br/>
<br/>
If you're looking to have the positions saved right before you manually lock the desktop, you'll have to run the function manually as well.<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#19</link>
<pubDate>Fri, 17 Jan 2025 22:37:39 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#19</guid>
<category>DisplayFusion</category>
<description><![CDATA[Ok, I played around with the scripted functions (which I’m guessing are used) Restore Window Positions and Z-Order and Save Window Positions and Z-Order, and I’ve figured out what’s happening.
The issue occurs when the Save Window Positions function runs in a trigger with the event "Desktop Lock...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Ok, I played around with the scripted functions (which I’m guessing are used) <b>Restore Window Positions and Z-Orde</b>r and <b>Save Window Positions and Z-Order</b>, and I’ve figured out what’s happening.<br/>
<br/>
The issue occurs when the Save Window Positions function runs in a trigger with the event "Desktop Locked" and some windows were moved with Snap Assist.<br/>
<br/>
An output from my test script:<br/>
<br/>
<div class="Inline"><pre>An output from my test script:
Restoring window: IrfanView
Saved Bounds: {X=0,Y=0,Width=1280,Height=1440}
Current Bounds: {X=0,Y=0,Width=1280,Height=1400</pre></div><br/>
<br/>
The saved bounds are incorrect. Notice the extra 40 pixels (the taskbar)?<br/>
<br/>
This issue can be reproduced if you set up the trigger as shown in my screenshot.<br/>
<br/>
What happens:<br/>
<br/>
    Place an IrfanView window on the left using WIN+LEFT.<br/>
    Lock the PC; the window's location and size are saved.<br/>
    Unlock the PC (note that the window is still in its correct location).<br/>
    My test script prints the saved bounds (Height=1440) and the current bounds, which are correct (Height=1400).<br/>
<br/>
When the script is executed while the desktop is locked, the height simply return the height height of the monitor, the max height (1440p in my case). This also happens if you place a window in the corner with snap assist.<br/>
<br/>
You'll see a similar output (set the trigger as I did) with the following restore script:<br/>
<br/>
<div id="" class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code019da503276774308a88b4a493fa484b" class="ClipboardCopyControl"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019da503276774308a88b4a493fa484bJs'); return false;"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code019da503276774308a88b4a493fa484bJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Collections.Generic;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;

public static class DisplayFusionFunction
{
    [DllImport("user32.dll", SetLastError = true)]
    private static extern IntPtr GetWindow(IntPtr hWnd, uint uCmd);
    
    [DllImport("user32.dll", SetLastError = true)]
    private static extern bool SetWindowPos(
        IntPtr hWnd,
        IntPtr hWndInsertAfter,
        int X,
        int Y,
        int cx,
        int cy,
        uint uFlags);
    
    //some constants
    const uint GW_HWNDNEXT = 2;
    private const int SWP_NOSIZE = 0x0001;
    private const int SWP_NOMOVE = 0x0002;
    private const int SWP_NOACTIVATE = 0x0010;
    private const int SWP_NOSENDCHANGING = 0x0400;
    
    public static void Run(IntPtr windowHandle)
    {   
        // Get the saved window info
        Dictionary&lt;IntPtr, WindowInfo&gt; savedWindowInfo = new Dictionary&lt;IntPtr, WindowInfo&gt;();
        foreach (WindowInfo info in System.Text.Json.JsonSerializer.Deserialize&lt;List&lt;WindowInfo&gt;&gt;(BFS.ScriptSettings.ReadValue("WindowInfoList")))
        {
            if (savedWindowInfo.ContainsKey(info.HandleAsPtr()))
                continue;
            
            savedWindowInfo.Add(info.HandleAsPtr(), info);
        }
        
        // A list to store the windows
        List&lt;IntPtr&gt; windows = new List&lt;IntPtr&gt;();
        
        // Enumerate through the monitors, starting with the focused window, and moving down
        for (IntPtr window = BFS.Window.GetFocusedWindow(); ; window = GetWindow(window, GW_HWNDNEXT))
        {
            // Check to see if there are any windows left
            if (window == IntPtr.Zero)
                break;
            
            // we don't care about windows we have no info about
            if (!savedWindowInfo.ContainsKey(window))
                continue;
            
            // Store the window with its info
            windows.Add(window);
        }
        
        // Bubble sort!
        bool swapped;
        for (int i = 0; i &lt; windows.Count - 1; i++)
        {
            swapped = false;
            for (int j = 0; j &lt; windows.Count - i - 1; j++)
            {
                WindowInfo a = savedWindowInfo[windows[j]];
                WindowInfo b = savedWindowInfo[windows[j + 1]];
                if (a.ZOrder &lt;= b.ZOrder)
                    continue;
                
                swapped = true;
                SwapWindowZOrder(a.HandleAsPtr(), b.HandleAsPtr());
                windows[j] = b.HandleAsPtr();
                windows[j + 1] = a.HandleAsPtr();
            }
            
            if (!swapped)
                break;
        }
        
        // Restore state and positions
        foreach (IntPtr window in windows)
        {
            WindowInfo saved = savedWindowInfo[window];
            WindowInfo current = new WindowInfo(window, 0); // we don't care about the z-order here
            
            // Debugging for IrfanView
            string title = BFS.Window.GetText(window) ?? string.Empty;
            if (title == "IrfanView")
            {
                BFS.Dialog.ShowMessageInfo($"Restoring window: IrfanView\nSaved Bounds: {saved.Bounds}\nCurrent Bounds: {current.Bounds}");
            }

            if (saved.State != current.State)
            {
                if (saved.State == FormWindowState.Normal)
                    BFS.Window.Restore(window);
                if (saved.State == FormWindowState.Minimized)
                    BFS.Window.Minimize(window);
                if (saved.State == FormWindowState.Maximized)
                    BFS.Window.Maximize(window);
            }
            
            if (saved.Bounds != current.Bounds)
            {
                BFS.Window.SetSizeAndLocation(window, saved.Bounds.X, saved.Bounds.Y, saved.Bounds.Width, saved.Bounds.Height);

                // Debugging after restoring position and size
                if (title == "IrfanView")
                {
                    Rectangle newBounds = BFS.Window.GetBounds(window);
                    BFS.Dialog.ShowMessageInfo($"Restored window: IrfanView\nNew Bounds: {newBounds}");
                }
            }
        }
    }
    
    // A method to swap two window z orders
    private static void SwapWindowZOrder(IntPtr a, IntPtr b)
    {
        SetWindowPos(a, b, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE | SWP_NOSENDCHANGING);
        SetWindowPos(b, a, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE | SWP_NOSENDCHANGING);
    }
    
    private static bool IsDisplayFusionWindowOrHiddenExplorerWindow(IntPtr window)
    {
        // Ignore any DisplayFusion windows (title bar buttons, etc.)
        // Ignore pesky hidden explorer.exe windows
        string windowClass = BFS.Window.GetClass(window);
        if ((windowClass.StartsWith("DF", StringComparison.OrdinalIgnoreCase)) ||
            (windowClass.Equals("EdgeUiInputTopWndClass", StringComparison.OrdinalIgnoreCase)) ||
            (windowClass.Equals("EdgeUiInputWndClass", StringComparison.OrdinalIgnoreCase)) ||
            (windowClass.Equals("NativeHWNDHost", StringComparison.OrdinalIgnoreCase)) ||
            (windowClass.Equals("ModeInputWnd", StringComparison.OrdinalIgnoreCase)) ||
            (windowClass.Equals("MetroGhostWindow", StringComparison.OrdinalIgnoreCase)) ||
            (windowClass.Equals("ImmersiveLauncher", StringComparison.OrdinalIgnoreCase)) ||
            (windowClass.Equals("ApplicationManager_ImmersiveShellWindow", StringComparison.OrdinalIgnoreCase)) ||
            (windowClass.Equals("Shell_TrayWnd", StringComparison.OrdinalIgnoreCase)) ||
            (windowClass.Equals("WorkerW", StringComparison.OrdinalIgnoreCase)) ||
            (windowClass.Equals("Progman", StringComparison.OrdinalIgnoreCase)) ||
            (windowClass.Equals("SearchPane", StringComparison.OrdinalIgnoreCase)))
        {
            return true;
        }
        
        return false;
    }
    
    public class WindowInfo
    {        
        public long Handle { get; set; }
        public FormWindowState State { get; set; }
        public Rectangle Bounds { get; set; }
        public int ZOrder { get; set; }
        
        // for JSON deserialization
        public WindowInfo() {}
        
        public WindowInfo(IntPtr handle, int zOrder)
        {
            this.Handle = handle.ToInt64();
            if (BFS.Window.IsMinimized(handle))
                this.State = FormWindowState.Minimized;            
            else if (BFS.Window.IsMaximized(handle))
                this.State = FormWindowState.Maximized;
            else
                this.State = FormWindowState.Normal;
            
            this.Bounds = BFS.Window.GetBounds(handle);
            this.ZOrder = zOrder;
        }
        
        public IntPtr HandleAsPtr()
        {
            return new IntPtr(this.Handle);
        }
    }
}</pre><textarea id="code019da503276774308a88b4a493fa484b" name="code019da503276774308a88b4a493fa484b" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
TLDR: Save windows position/size function on windows moved with SnapAssist return monitor height instead of window height when it's run and the desktop is locked (trigger)
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#18</link>
<pubDate>Fri, 17 Jan 2025 18:45:36 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#18</guid>
<category>DisplayFusion</category>
<description><![CDATA[I've tested this after unloading Start10 and disabling its service. I also closed 7+ Taskbar Inspector, but the issue still persists.
As mentioned earlier, the problem occurs on both monitors. It happens when I position windows at the edge of the screen using either WIN+Left/Right or by dragging...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I've tested this after unloading Start10 and disabling its service. I also closed 7+ Taskbar Inspector, but the issue still persists.<br/>
<br/>
As mentioned earlier, the problem occurs on both monitors. It happens when I position windows at the edge of the screen using either WIN+Left/Right or by dragging a window to the edge of one of my monitors (to make it occupy half the width of the screen). Placing a window in a corner using WIN+Arrow keys or the mouse also triggers this bug.<br/>
<br/>
Interestingly, if I programmatically set the windows to the same location and dimensions (height/width), the bug does not occur. In the screenshot, I opened the same image in IrfanView twice for comparison.<br/>
<br/>
In the image, the left window was positioned using Python, while the right window was placed using WIN+Right. The issue seems to be related to windows moved or resized using Snap Assist (<a href="https://support.microsoft.com/en-us/windows/snap-your-windows-885a9b1e-a983-a3b1-16cd-c531795e6241" target="_blank" rel="nofollow"><b>https://support.microsoft.com/en-us/windows/snap-your-windows-885a9b1e-a983-a3b1-16cd-c531795e6241</b></a>).<br/>
<br/>
Can you try to replicate the issue while making sure that you've used SnapAssist to move the window?
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#17</link>
<pubDate>Fri, 10 Jan 2025 14:10:20 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#17</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks for sending that over, still no luck reproducing it here. Can you try running without Start10 and see if the issue persists?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks for sending that over, still no luck reproducing it here. Can you try running without Start10 and see if the issue persists?
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#16</link>
<pubDate>Tue, 07 Jan 2025 04:02:56 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#16</guid>
<category>DisplayFusion</category>
<description><![CDATA[attached]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
attached
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#15</link>
<pubDate>Mon, 06 Jan 2025 14:43:51 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#15</guid>
<category>DisplayFusion</category>
<description><![CDATA[Can you send me a screenshot of the "Edit" window from your profile?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Can you send me a screenshot of the "Edit" window from your profile?
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#14</link>
<pubDate>Wed, 01 Jan 2025 05:32:44 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#14</guid>
<category>DisplayFusion</category>
<description><![CDATA[Yes, I'm using windows taskbar.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Yes, I'm using windows taskbar.
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#13</link>
<pubDate>Mon, 30 Dec 2024 16:01:05 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#13</guid>
<category>DisplayFusion</category>
<description><![CDATA[From your screenshot it looks like you're using Windows taskbars on your secondary monitors? So you're just using DisplayFusion to restore the windows, not using the DisplayFusion taskbars?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
From your screenshot it looks like you're using Windows taskbars on your secondary monitors? So you're just using DisplayFusion to restore the windows, not using the DisplayFusion taskbars?
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#12</link>
<pubDate>Sat, 21 Dec 2024 21:26:10 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#12</guid>
<category>DisplayFusion</category>
<description><![CDATA[In my last message, I meant increasing it from 3000ms to 30000ms (not 5k) didn't work.
A small clarification, for the second bug, when windows are on a corner (win+left/right + win+up/down), I mentionned that they are restored to full height. It seem to be a windows bug and NOT displayfusion, th...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
In my last message, I meant increasing it from 3000ms to 30000ms (not 5k) didn't work.<br/>
<br/>
A small clarification, for the second bug, when windows are on a corner (win+left/right + win+up/down), I mentionned that they are restored to full height. It seem to be a windows bug and NOT displayfusion, they will be restored to full height even when DisplayFusion is not running.<br/>
<br/>
---<br/>
<br/>
As for binding the function to a hotkey, it also didn't help. Are you not able to replicate my issue? I've uploaded a screenshot of my windows 10 taskbar settings, just in case. Closing 7+ Taskbar Tweaker which you might have noticed from my log also doesn't help btw.
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#11</link>
<pubDate>Fri, 20 Dec 2024 17:00:48 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#11</guid>
<category>DisplayFusion</category>
<description><![CDATA[If you attach a hotkey to the restore function and run it manually rather then through the trigger, does the same issue happen?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
If you attach a hotkey to the restore function and run it manually rather then through the trigger, does the same issue happen?
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#10</link>
<pubDate>Fri, 20 Dec 2024 00:17:37 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#10</guid>
<category>DisplayFusion</category>
<description><![CDATA[Increasing it from 3000 to 5000 30000 didn't help,]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Increasing it from 3000 to <del>5000</del> 30000 didn't help,
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#9</link>
<pubDate>Thu, 19 Dec 2024 15:20:20 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#9</guid>
<category>DisplayFusion</category>
<description><![CDATA[Yeah the taskbars will take a bit to reset the work area after unlocking. If you wait around 30 seconds and then load the function, does it still appear behind the taskbar?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Yeah the taskbars will take a bit to reset the work area after unlocking. If you wait around 30 seconds and then load the function, does it still appear behind the taskbar?
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#8</link>
<pubDate>Wed, 18 Dec 2024 20:24:01 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#8</guid>
<category>DisplayFusion</category>
<description><![CDATA[While testing, after unlocking my PC, I noticed that the taskbar sometimes get "loaded', by that I mean it's not present for maybe 1 sec after the unlocking and then I see it appear. The other times, I see it "flash", it's there when I unlock but I do see it dissapear for a few miliseconds and re...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
While testing, after unlocking my PC, I noticed that the taskbar sometimes get "loaded', by that I mean it's not present for maybe 1 sec after the unlocking and then I see it appear. The other times, I see it "flash", it's there when I unlock but I do see it dissapear for a few miliseconds and reappear.<br/>
<br/>
Could it be related to this?
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#7</link>
<pubDate>Wed, 18 Dec 2024 20:18:00 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#7</guid>
<category>DisplayFusion</category>
<description><![CDATA[Quote:
Ah yeah you won't have that setting then. When this happens, if you open a new window and maximize it on that monitor, does it go past the taskbar as well, or does it respect the taskbar work area?
Windows maximize correctly, and their positions are restored accurately when I close and r...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>Ah yeah you won't have that setting then. When this happens, if you open a new window and maximize it on that monitor, does it go past the taskbar as well, or does it respect the taskbar work area?</div></div><br/>
<br/>
Windows maximize correctly, and their positions are restored accurately when I close and reopen them, whether they're maximized or positioned on the left side (using Win+Left).<br/>
<br/>
I conducted additional tests to verify if the windows retain the correct height on my primary monitor and to check if the issue only occurs in the Win+Left area. The results are consistent. Even if I move the window from the corner and put it in the middle of my screen, it'll happen.<br/>
<br/>
I also discovered another issue: when I set the layout as shown in one of the screenshots, windows positioned in the corners (using Win+Left/Right followed by Win+Up/Down) have their height resized. Additionally, they also extend behind the taskbar.
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#6</link>
<pubDate>Wed, 18 Dec 2024 15:29:32 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[Ah yeah you won't have that setting then. When this happens, if you open a new window and maximize it on that monitor, does it go past the taskbar as well, or does it respect the taskbar work area?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Ah yeah you won't have that setting then. When this happens, if you open a new window and maximize it on that monitor, does it go past the taskbar as well, or does it respect the taskbar work area?
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#5</link>
<pubDate>Tue, 17 Dec 2024 21:49:39 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[I'm using Start10, I don't think the option you mentionned exist in my version. Here is what I have in regard to taskbar related options.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I'm using Start10, I don't think the option you mentionned exist in my version. Here is what I have in regard to taskbar related options.
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#4</link>
<pubDate>Tue, 17 Dec 2024 15:43:36 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks for sending that over. It looks like you have Start11 installed as well, do you have "Enhance the taskbar" enabled?
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks for sending that over. It looks like you have Start11 installed as well, do you have "Enhance the taskbar" enabled? <br/>
<br/>
Thanks!
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#3</link>
<pubDate>Tue, 17 Dec 2024 04:43:55 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[attached]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
attached
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>RE: &quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#2</link>
<pubDate>Fri, 04 Oct 2024 17:11:33 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Could you send me a copy of your troubleshooting info? Here are the steps:
Open the DisplayFusion Settings  Troubleshooting tab
Click the "Export Info to File" button
Reply with the file attached]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Could you send me a copy of your troubleshooting info? Here are the steps:<br/>
<br/>
<ul class="ListBullet">
<li>Open the DisplayFusion Settings > Troubleshooting tab</li>
<li>Click the "Export Info to File" button</li>
<li>Reply with the file attached</li></ul>
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
<item>
<title>&quot;Restore Windows Positions From Last Save&quot; not working correctly on second monitor</title>
<link>https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7</link>
<pubDate>Fri, 04 Oct 2024 06:33:22 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/restore-windows-positions-from-last-save-not-working-correctly-on-second-monitor/?ID=0192563b-a396-75cd-a0e4-73d955b649b7</guid>
<category>DisplayFusion</category>
<description><![CDATA[Although the windows are restored, for windows that are not maximized (for example put on the left with WIN+LEFT) in my second monitor, are restored with a slightly different height, making them appear behing the taskbar (windows taskbar not DF)]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Although the windows are restored, for windows that are not maximized (for example put on the left with WIN+LEFT) in my second monitor, are restored with a slightly different height, making them appear behing the taskbar (windows taskbar not DF)
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0192563b-a4c4-713c-a285-b5b33f3b0f3c"/>
</item>
</channel>
</rss>