notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

Run dialog: OK button should not be enabled if the EditBox is empty

Open
#12,037 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
29.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

STR:
Run -> Run.
Keep the EditBox empty.
Press OK.

Result:
An Explorer window opens.

Expected:
The OK button should not be enabled if the EditBox is empty.


Notepad++ v8.4.4 (64-bit)
Build time : Jul 31 2022 - 13:09:27
Path : C:---\Notepad++ Original.exe
Command Line :
Admin mode : ON
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 20H2
OS Build : 19042.985
Current ANSI codepage : 1255
Plugins :
ComparePlus (1)
HTMLTag (1.3.2)
MenuIcons (1.2.5)
PythonScript (2)
_CustomizeToolbar (4.2)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with Run -> Run while the EditBox is empty and confirm that pressing OK opens Explorer. Locate the Run dialog implementation and its EditBox/OK-button handling. Done means the OK button is disabled for an empty EditBox and no Explorer window opens from that state.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.