Skip to content

Searching dropdown controls need vertical scrollbars in dropdown area #12459

@alankilborn

Description

@alankilborn

Description of the Issue

Many times I "drop down" the Find what combobox control, looking for a previous search that I know I did, and what I'm looking for doesn't seem to be there. Shrug, move on, retype that search term...

But, recently I got frustrated because I knew my search term should have been there, so I dug in and got to the bottom of this problem.

Steps to Reproduce the Issue

  1. It is easiest to create the problem by using a fresh extract of a portable N++, so that the following steps will work exactly.
  2. Open the Find window with Ctrl+f.
  3. Put a in Find what; press Enter to do a Find Next. Put b in Find what; press Enter to do a Find Next. Put c in Find what; press Enter to do a Find Next. Continue to put sequential letters of the alphabet and pressing Enter after, up to and including z. Put 1 in Find what; press Enter to do a Find Next. Put 2 in Find what; press Enter to do a Find Next. Continue with sequential digits and conclude with 0 (zero), remembering to press Enter after each one.
  4. The goal of the previous step is to have a in the oldest history (bottom entry in the dropdown when it is actually dropped) and 0 (zero) as the newest history (topmost entry in the dropdown when it is actually dropped).
  5. Put k in Find what (don't press Enter) and use the combobox's arrow to "drop it down"; observe:

image

  1. Point to the dropped area with the mouse, say where the yellow dot is shown. Use the mouse wheel to hopefully scroll.
  2. Use the keyboard up arrow repeatedly to move above the 4 entry a the top of the dropped box area. View that 5, 6, 7 etc. become visible after repeated up arrow presses (proving that more data than originally shown is there):

image

Expected Behavior

(At the time of the first screenshot above) I expect to see ALL possible choices in the initial dropping of the combobox, or I expect to see a scrollbar so that I can see there are more values that are simply out of my current view. Also, rotating the mouse wheel should scroll the box to show more entries.

Actual Behavior

(At the time of the first screenshot above) What I actually saw is misleading because it makes me think that I'm looking at all possible choices, when there are actually some I'm not being shown (the ones above the top displayed one). Scrolling the mouse wheel does nothing to bring unshown entries into view.

Debug Information

Notepad++ v8.4.6 (32-bit)
Build time : Sep 25 2022 - 19:55:26
Path : C:\...\npp.8.4.6.portable\notepad++.exe
Command Line : -multiInst
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 21H2
OS Build : 19044.2006
Current ANSI codepage : 1252
Plugins :
mimeTools (2.8)
NppConverter (4.4)
NppExport (0.4)

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