[bugs:#2499] Border style issue on Windows
Status: open
Group: Cosmetic
Created: Thu Feb 19, 2026 07:53 AM UTC by Anton Tameev
Last Updated: Thu Feb 19, 2026 07:53 AM UTC
Owner: nobody
Running SciTE on Windows.
When entering full screen mode (F11) and then back to normal (F11 again) I see explicit window border appears around main SciTE text area. Not flat as it was before.
Only restarting SciTE will bring the border style back to flat.
Have not tested it on GTK.
Version 5.5.8, last one.
Sent from sourceforge.net because scintill...@googlegroups.com is subscribed to https://sourceforge.net/p/scintilla/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/scintilla/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
This dates to [#960] and appears to be fixed by removing the WS_EX_CLIENTEDGE flag.
diff -r c111fc99bd9f win32/SciTEWin.cxx
--- a/win32/SciTEWin.cxx Thu Feb 19 09:38:09 2026 +1100
+++ b/win32/SciTEWin.cxx Fri Feb 20 08:01:39 2026 +1100
@@ -709,7 +709,7 @@
if (wStartButton)
::ShowWindow(wStartButton, SW_SHOW);
::SetWindowLongPtr(HwndOf(wContent),
- GWL_EXSTYLE, WS_EX_CLIENTEDGE);
+ GWL_EXSTYLE, 0);
if (winPlace.length) {
::SystemParametersInfo(SPI_SETWORKAREA, 0, &rcWorkArea, 0);
if (winPlace.showCmd == SW_SHOWMAXIMIZED) {
[bugs:#2499] Border style issue on Windows
Status: open
Group: Cosmetic
Labels: scite win32
Created: Thu Feb 19, 2026 07:53 AM UTC by Anton T
Last Updated: Thu Feb 19, 2026 07:53 AM UTC
Owner: nobody
Committed fix with [2bf4ed].
[bugs:#2499] Border style issue on Windows
Status: open-fixed
Group: Cosmetic
Labels: scite win32
Created: Thu Feb 19, 2026 07:53 AM UTC by Anton T
Last Updated: Thu Feb 19, 2026 09:03 PM UTC
Owner: nobody
[bugs:#2499] Border style issue on Windows
Status: closed-fixed
Group: Cosmetic
Labels: scite win32
Created: Thu Feb 19, 2026 07:53 AM UTC by Anton T
Last Updated: Fri Feb 20, 2026 10:13 PM UTC
Owner: nobody