Skip to content

Commit 021d63a

Browse files
committed
fix: restore dark sidebar theme and fix search icon (v1.3.3)
- Replace πŸ” emoji with Segoe MDL2 Assets E721 glyph β€” crisp at all DPI - Remove DwmExtendFrameIntoClientArea and transparent border override; acrylic backdrop now shows subtly through the 20%-transparent dark background instead of washing out the UI with a grey system tint
1 parent 875481c commit 021d63a

5 files changed

Lines changed: 20 additions & 14 deletions

File tree

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.3.3] - 2026-04-15
11+
12+
### Fixed
13+
- **Search icon** β€” Replaced the πŸ” emoji (rendered poorly on most DPI settings) with the
14+
native Segoe MDL2 Assets "Search" glyph (``). Crisp at all scales.
15+
- **Sidebar background preserved on Windows 11** β€” Acrylic backdrop no longer replaces the
16+
dark `#CC1A1A1A` theme with a washed-out grey system tint. The DWM backdrop type is
17+
applied without extending the frame or clearing the border background; acrylic adds subtle
18+
depth through the 20% transparency while the dark theme remains intact.
19+
1020
## [1.3.2] - 2026-04-15
1121

1222
### Fixed

β€Žinstaller/ClipHive.issβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#define MyAppName "ClipHive"
2-
#define MyAppVersion "1.3.2"
2+
#define MyAppVersion "1.3.3"
33
#define MyAppPublisher "ClipHive Contributors"
44
#define MyAppURL "https://github.com/levitasOrg/cliphive"
55
#define MyAppExeName "ClipHive.exe"

β€Žsrc/ClipHive/ClipHive.csprojβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1111
<RootNamespace>ClipHive</RootNamespace>
1212
<AssemblyName>ClipHive</AssemblyName>
13-
<Version>1.3.2</Version>
14-
<FileVersion>1.3.2.0</FileVersion>
13+
<Version>1.3.3</Version>
14+
<FileVersion>1.3.3.0</FileVersion>
1515
<Copyright>Copyright Β© 2026 ClipHive</Copyright>
1616
<Description>Lightweight clipboard history manager for Windows</Description>
1717
<Company>ClipHive</Company>

β€Žsrc/ClipHive/Views/SidebarWindow.xamlβ€Ž

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,14 @@
7474
<ColumnDefinition Width="*" />
7575
</Grid.ColumnDefinitions>
7676

77-
<!-- Search icon -->
77+
<!-- Search icon β€” Segoe MDL2 Assets "Search" glyph (E721) -->
7878
<TextBlock Grid.Column="0"
79-
Text="&#x1F50D;"
79+
Text="&#xE721;"
80+
FontFamily="Segoe MDL2 Assets"
8081
FontSize="14"
81-
Foreground="#A0A0A0"
82+
Foreground="#707070"
8283
VerticalAlignment="Center"
83-
Margin="6,0,4,0" />
84+
Margin="8,0,4,0" />
8485

8586
<!-- Search input area with overlay placeholder -->
8687
<Grid Grid.Column="1">

β€Žsrc/ClipHive/Views/SidebarWindow.xaml.csβ€Ž

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,12 @@ private void TryApplyAcrylicBackdrop()
9090

9191
var hwnd = new WindowInteropHelper(this).Handle;
9292

93-
// Extend the DWM frame across the entire client area so Acrylic fills it.
94-
var margins = new Win32.MARGINS { Left = -1, Right = -1, Top = -1, Bottom = -1 };
95-
Win32.DwmExtendFrameIntoClientArea(hwnd, ref margins);
96-
9793
// Apply Desktop Acrylic (transient popup style).
94+
// The dark #CC1A1A1A border background is kept β€” acrylic shows subtly
95+
// through the 20% transparency, adding depth without washing out the theme.
9896
int backdropType = Win32.DWMSBT_TRANSIENTWINDOW;
9997
Win32.DwmSetWindowAttribute(hwnd, Win32.DWMWA_SYSTEMBACKDROP_TYPE,
10098
ref backdropType, sizeof(int));
101-
102-
// Make the root border transparent so the Acrylic shows through.
103-
RootBorder.Background = System.Windows.Media.Brushes.Transparent;
10499
}
105100

106101
private IntPtr WndProc(IntPtr hwnd, int msg, IntPtr wParam,

0 commit comments

Comments
Β (0)