From f2bd10e8aa232f1b81a38f7071fb326d655f96e7 Mon Sep 17 00:00:00 2001 From: KoBruh <42637159+KoBruh@users.noreply.github.com> Date: Tue, 20 Oct 2026 12:12:47 +1100 Subject: [PATCH 01/12] Fix ABM_SETSTATE taskbar handle --- src/TaskbarController.Core.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/TaskbarController.Core.cs b/src/TaskbarController.Core.cs index 21a84fe..97e6434 100644 --- a/src/TaskbarController.Core.cs +++ b/src/TaskbarController.Core.cs @@ -73,11 +73,6 @@ public void ApplyVisibility(bool show) { if (!NativeMethods.IsWindow(h)) continue; - // Match Buttery Taskbar's least-invasive visibility model: one - // synchronous ShowWindow call, with Explorer left in control of the - // taskbar's own auto-hide/XAML animation and position. Do not pair - // this with SetWindowPos or force the bar back onto the monitor; those - // operations can fight Explorer mid-animation and create a flash. NativeMethods.ShowWindow(h, show ? NativeMethods.SW_SHOWNOACTIVATE : NativeMethods.SW_HIDE); } } @@ -131,8 +126,12 @@ public uint GetAppbarState() private void SetAppbarState(uint state) { + IntPtr primaryTaskbar = NativeMethods.FindWindow("Shell_TrayWnd", null); + if (primaryTaskbar == IntPtr.Zero) return; + NativeMethods.APPBARDATA data = new NativeMethods.APPBARDATA(); data.cbSize = (uint)Marshal.SizeOf(typeof(NativeMethods.APPBARDATA)); + data.hWnd = primaryTaskbar; data.lParam = new IntPtr((long)state); NativeMethods.SHAppBarMessage(NativeMethods.ABM_SETSTATE, ref data); } From 88a3ff3f4d61d7e15285857a95948ac64405c8bf Mon Sep 17 00:00:00 2001 From: KoBruh <42637159+KoBruh@users.noreply.github.com> Date: Tue, 20 Oct 2026 12:13:06 +1100 Subject: [PATCH 02/12] Sync appbar handle fix into setup payload --- bootstrap/payload/TaskbarController.Core.cs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/bootstrap/payload/TaskbarController.Core.cs b/bootstrap/payload/TaskbarController.Core.cs index 21a84fe..d3d18a1 100644 --- a/bootstrap/payload/TaskbarController.Core.cs +++ b/bootstrap/payload/TaskbarController.Core.cs @@ -72,12 +72,6 @@ public void ApplyVisibility(bool show) foreach (IntPtr h in _taskbars) { if (!NativeMethods.IsWindow(h)) continue; - - // Match Buttery Taskbar's least-invasive visibility model: one - // synchronous ShowWindow call, with Explorer left in control of the - // taskbar's own auto-hide/XAML animation and position. Do not pair - // this with SetWindowPos or force the bar back onto the monitor; those - // operations can fight Explorer mid-animation and create a flash. NativeMethods.ShowWindow(h, show ? NativeMethods.SW_SHOWNOACTIVATE : NativeMethods.SW_HIDE); } } @@ -131,8 +125,12 @@ public uint GetAppbarState() private void SetAppbarState(uint state) { + IntPtr primaryTaskbar = NativeMethods.FindWindow("Shell_TrayWnd", null); + if (primaryTaskbar == IntPtr.Zero) return; + NativeMethods.APPBARDATA data = new NativeMethods.APPBARDATA(); data.cbSize = (uint)Marshal.SizeOf(typeof(NativeMethods.APPBARDATA)); + data.hWnd = primaryTaskbar; data.lParam = new IntPtr((long)state); NativeMethods.SHAppBarMessage(NativeMethods.ABM_SETSTATE, ref data); } From 30a823133d5095264077e5c27dacd1aa84201a1e Mon Sep 17 00:00:00 2001 From: KoBruh <42637159+KoBruh@users.noreply.github.com> Date: Tue, 20 Oct 2026 12:13:27 +1100 Subject: [PATCH 03/12] Bump test build to v1.0.1 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 3eefcb9..7dea76e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.0 +1.0.1 From ed755d861e70038ff1db503a2d6eec271d2c5d6c Mon Sep 17 00:00:00 2001 From: KoBruh <42637159+KoBruh@users.noreply.github.com> Date: Tue, 20 Oct 2026 12:13:33 +1100 Subject: [PATCH 04/12] Set assembly version to 1.0.1 --- src/SlipperyTaskbar.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SlipperyTaskbar.csproj b/src/SlipperyTaskbar.csproj index 7df1bfa..e7233a2 100644 --- a/src/SlipperyTaskbar.csproj +++ b/src/SlipperyTaskbar.csproj @@ -13,8 +13,8 @@ true true false - 1.0.0 - 1.0.0.0 + 1.0.1 + 1.0.1.0 Slippery Taskbar Hide the Windows 11 taskbar until the Windows key or shell UI intentionally reveals it. From 8af613b16e13e4032a938536e802d2526966b004 Mon Sep 17 00:00:00 2001 From: KoBruh <42637159+KoBruh@users.noreply.github.com> Date: Tue, 20 Oct 2026 12:13:45 +1100 Subject: [PATCH 05/12] Label diagnostics as v1.0.1 --- src/SlipperyContext.Diagnostics.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SlipperyContext.Diagnostics.cs b/src/SlipperyContext.Diagnostics.cs index 1081993..662670c 100644 --- a/src/SlipperyContext.Diagnostics.cs +++ b/src/SlipperyContext.Diagnostics.cs @@ -20,7 +20,7 @@ private void CopyDiagnostics() { StringBuilder b = new StringBuilder(); b.AppendLine("Slippery Taskbar C# diagnostics"); - b.AppendLine("Build: 1.0.0"); + b.AppendLine("Build: 1.0.1"); b.AppendLine("Runtime: " + Environment.Version); b.AppendLine("OS: " + Environment.OSVersion); b.AppendLine("Executable: " + Application.ExecutablePath); From bea4e4fea95cb03279fca8c95429ff04baba40a2 Mon Sep 17 00:00:00 2001 From: KoBruh <42637159+KoBruh@users.noreply.github.com> Date: Tue, 20 Oct 2026 12:13:57 +1100 Subject: [PATCH 06/12] Sync v1.0.1 diagnostics into setup payload --- bootstrap/payload/SlipperyContext.Diagnostics.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/payload/SlipperyContext.Diagnostics.cs b/bootstrap/payload/SlipperyContext.Diagnostics.cs index 1081993..662670c 100644 --- a/bootstrap/payload/SlipperyContext.Diagnostics.cs +++ b/bootstrap/payload/SlipperyContext.Diagnostics.cs @@ -20,7 +20,7 @@ private void CopyDiagnostics() { StringBuilder b = new StringBuilder(); b.AppendLine("Slippery Taskbar C# diagnostics"); - b.AppendLine("Build: 1.0.0"); + b.AppendLine("Build: 1.0.1"); b.AppendLine("Runtime: " + Environment.Version); b.AppendLine("OS: " + Environment.OSVersion); b.AppendLine("Executable: " + Application.ExecutablePath); From 914557a15d453b5a608b4f7a69d137a7920da2e1 Mon Sep 17 00:00:00 2001 From: KoBruh <42637159+KoBruh@users.noreply.github.com> Date: Tue, 20 Oct 2026 13:08:05 +1100 Subject: [PATCH 07/12] x --- tmp | 1 + 1 file changed, 1 insertion(+) create mode 100644 tmp diff --git a/tmp b/tmp new file mode 100644 index 0000000..c1b0730 --- /dev/null +++ b/tmp @@ -0,0 +1 @@ +x \ No newline at end of file From e454b8ccdba5a706124d367961a291469ee7c600 Mon Sep 17 00:00:00 2001 From: KoBruh <42637159+KoBruh@users.noreply.github.com> Date: Tue, 20 Oct 2026 13:08:15 +1100 Subject: [PATCH 08/12] Remove accidental temporary file --- tmp | 1 - 1 file changed, 1 deletion(-) delete mode 100644 tmp diff --git a/tmp b/tmp deleted file mode 100644 index c1b0730..0000000 --- a/tmp +++ /dev/null @@ -1 +0,0 @@ -x \ No newline at end of file From 6a4e8bd048ef7b817c1bdd2d50349ba28b28938c Mon Sep 17 00:00:00 2001 From: KoBruh <42637159+KoBruh@users.noreply.github.com> Date: Tue, 20 Oct 2026 13:08:24 +1100 Subject: [PATCH 09/12] x --- tmp2 | 1 + 1 file changed, 1 insertion(+) create mode 100644 tmp2 diff --git a/tmp2 b/tmp2 new file mode 100644 index 0000000..c1b0730 --- /dev/null +++ b/tmp2 @@ -0,0 +1 @@ +x \ No newline at end of file From b36a4588dcce72fc185c5d4f5e3d856b8c9e7515 Mon Sep 17 00:00:00 2001 From: KoBruh <42637159+KoBruh@users.noreply.github.com> Date: Tue, 20 Oct 2026 13:08:32 +1100 Subject: [PATCH 10/12] Remove accidental temporary file --- tmp2 | 1 - 1 file changed, 1 deletion(-) delete mode 100644 tmp2 diff --git a/tmp2 b/tmp2 deleted file mode 100644 index c1b0730..0000000 --- a/tmp2 +++ /dev/null @@ -1 +0,0 @@ -x \ No newline at end of file From edd1caa2612242a6740e6fb669abe7e93d5ea926 Mon Sep 17 00:00:00 2001 From: KoBruh <42637159+KoBruh@users.noreply.github.com> Date: Tue, 20 Oct 2026 13:29:05 +1100 Subject: [PATCH 11/12] test --- tmp-policy-marker | 1 + 1 file changed, 1 insertion(+) create mode 100644 tmp-policy-marker diff --git a/tmp-policy-marker b/tmp-policy-marker new file mode 100644 index 0000000..c1b0730 --- /dev/null +++ b/tmp-policy-marker @@ -0,0 +1 @@ +x \ No newline at end of file From f9813b12f139eaa748b6a208fb9bf07584aae50b Mon Sep 17 00:00:00 2001 From: KoBruh <42637159+KoBruh@users.noreply.github.com> Date: Tue, 20 Oct 2026 13:29:13 +1100 Subject: [PATCH 12/12] Remove temporary marker --- tmp-policy-marker | 1 - 1 file changed, 1 deletion(-) delete mode 100644 tmp-policy-marker diff --git a/tmp-policy-marker b/tmp-policy-marker deleted file mode 100644 index c1b0730..0000000 --- a/tmp-policy-marker +++ /dev/null @@ -1 +0,0 @@ -x \ No newline at end of file