Menu

#2499 Border style issue on Windows

Cosmetic
closed-fixed
nobody
5
2026-02-24
2026-02-19
Anton T
No

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.

Discussion

  • Neil Hodgson

    Neil Hodgson - 2026-02-19
    • labels: --> scite, win32
     
  • Neil Hodgson

    Neil Hodgson - 2026-02-19

    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) {
    
     

    Related

    Bugs: #960

  • Neil Hodgson

    Neil Hodgson - 2026-02-20
    • status: open --> open-fixed
     
  • Neil Hodgson

    Neil Hodgson - 2026-02-20

    Committed fix with [2bf4ed].

     

    Related

    Commit: [2bf4ed]

  • Neil Hodgson

    Neil Hodgson - 2026-02-24
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB