Skip to content

[BUG] Vertical scrollbar's hit detection does not extend to the edge of the screen when application is maximized #17883

@daverayment

Description

@daverayment

Is there an existing issue for this?

  • I have searched the existing issues

Is the issue reproducible in Notepad++ without plugin?

  • I have tried Notepad++ without plugin

Is the issue reproducible in portable version of Notepad++?

  • I have tried portable version of Notepad++

Does the issue affect SciTE?

  • I have tried SciTE

Description of the Issue

When Notepad++ is maximized, the vertical scrollbar should respond to mouse clicks at the very right-hand edge of the screen (Fitt's Law). This definitely used to work in previous versions of the application even with a non-zero border value, but at least the last two versions have broken this. I have not altered my settings previously, but I've just tried the settings in the Border section of Preferences, and the only way to restore the old functionality is to set Border to 0 and to check the No edge setting, but this has the effect of removing the border (obviously!), which compromises the look, removing the separation between tabs and document etc.

Steps To Reproduce

  1. Open a document in Notepad++ long enough for the vertical scrollbar to appear
  2. Maximize the Notepad++ window. The vertical scrollbar should be flush against the right-hand side of the screen
  3. Move your mouse over to the extreme right-hand side of the screen

Current Behavior

With anything other than Border 0 and No edge enabled, the user cannot select the vertical scrollbar from the extreme right-hand edge of the screen.

I think there may have been a special case in prior versions of Notepad++, as the vertical scrollbar's hit area extended to the edge of the screen, even without Border 0 and the No edge option set.

Expected Behavior

The vertical scrollbar may be interacted with at the very right-hand side of the screen.

Debug Information

Notepad++ v8.9.2   (64-bit)
Build time: Feb 13 2026 - 02:47:53
Scintilla/Lexilla included: 5.5.8/5.4.6
Boost Regex included: 1_90
pugixml included: 1.15
nlohmann JSON included: 3.12.0
Path: C:\Program Files\Notepad++\notepad++.exe
Command Line: "C:\Users\daver\noneofyourbusiness.txt"
Admin mode: OFF
Local Conf mode: OFF
Cloud Config: OFF
Periodic Backup: ON
Placeholders: OFF
Scintilla Rendering Mode: SC_TECHNOLOGY_DEFAULT (0)
Multi-instance Mode: monoInst
asNotepad: OFF
File Status Auto-Detection: cdEnabledNew (for current file/tab only)
Dark Mode: OFF
Display Info:
    primary monitor: 1920x1080, scaling 125%
    visible monitors count: 2
    installed Display Class adapters: 
        0001: Description - Intel(R) Iris(R) Xe Graphics
        0001: DriverVersion - 30.0.101.3111
OS Name: Windows 11 Pro (64-bit)
OS Version: 25H2
OS Build: 26200.7922
Current ANSI codepage: 1252
Plugins: 
    JsonTools (8.2)
    mimeTools (3.1)
    NppConverter (4.7)
    NppExport (0.4)

Anything else?

This issue existed on 8.9.1, too. I have just updated today to see if it was fixed in the newest release.

I have been a user for several years and have not changed the default Border values before. The Border was set to 2 pixels when I looked today, and No edge was not set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions