Skip to content

[BUG] NPPM_DARKMODESUBCLASSANDTHEME: ListBox scrollbar doesn't show #16674

@pryrt

Description

@pryrt

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

When a DarkMode listbox control is subclassed by the NPPM_DARKMODESUBCLASSANDTHEME, the scroll bar doesn't show

In #16668, the screenshots showed this problem, and I didn't notice until @ozone10 pointed it out in this comment)

Steps To Reproduce

Follow STR from #16668:

  1. Download the DLL artifact from the CollectionInterface plugin's darkModeTabControl build and install in plugins\CollectionInterface\CollectionInterface.dll
  2. Run Notepad++ in Dark Mode
  3. Plugins > CollectionInterface > Collection Interface: Download, and look at the ListBox inside the UDL tab: there is space for the scrollbar, but it doesn't show up and cannot be dragged

Current Behavior

Scrollbar doesn't show in the scrollbar are, and you cannot drag it to scroll in the box.

Expected Behavior

Scrollbar should show and be draggable

Debug Information

Notepad++ v8.8.1   (64-bit)
Build time : Jun 11 2025 - 15:54:05
Scintilla/Lexilla included : 5.5.6/5.4.4
Boost Regex included : 1_85
Path : C:\usr\local\share\github\notepad-plus-plus\PowerEditor\visual.net\x64\Debug\Notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
Periodic Backup : ON
Placeholders : OFF
Scintilla Rendering Mode : SC_TECHNOLOGY_DIRECTWRITE (1)
Multi-instance Mode : monoInst
File Status Auto-Detection : cdEnabledNew (for current file/tab only)
Dark Mode : ON
Display Info : 
    primary monitor: 1920x1080, scaling 100%
    visible monitors count: 1
    installed Display Class adapters: 
        0000: Description - Intel(R) UHD Graphics 770
        0000: DriverVersion - 32.0.101.6556
OS Name : Windows 11 Home (64-bit)
OS Version : 24H2
OS Build : 26100.4061
Current ANSI codepage : 1252
Plugins : 
    CollectionInterface (1.0.99.99)

Anything else?

No response

Metadata

Metadata

Assignees

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