[Bug] If the first character entered into the search box is a space, the preview window will close.
Maintainers usually reply within 4 days
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 67/100
Research direction
Start by tracing how the search box handles a leading space and Enter while a text preview is open; the issue does not name the relevant files or tests. Reproduce both behaviors in QuickLook 4.5.0 on Windows, then locate the search input and its key handling. Done means a leading space keeps the preview open and Enter in the search box does not open an external application.
Written by the indexing model from the issue text.
Description
If the first character entered into the search box is a space, the preview window will close.
Additionally, pressing the Enter key while in the search box causes the text to be opened in an external application.
To Reproduce
Steps to reproduce the behavior:
- Use the spacebar to preview a text file.
- Entering a space in the search box causes the preview window to close.
Expected behavior
Do not exit when a space is the first character in the search box.
Do nothing when the Enter key is pressed in the search box.
Desktop (please complete the following information):
- OS Version: Win11 25H2
- QuickLook Version: 4.5.0 from scoop
- Dominant language
- C#
- Stars
- 25.7k
- Forks
- 1.4k
- Avg merge
- 3d 19h
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from QL-Win/QuickLook
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Maintainers usually reply within 4 days
-
[MarkdownViewer] Mermaid classDiagram with <<annotation>> fails with "Syntax error in text"Possibly taken @suhyun-nam claimed this 11 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
QL-Win/QuickLook#2028 · 3 comments ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 57/100
Maintainers usually reply within 4 days
-
Emptying the Recycle Bin stops when the preview window is closedMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 57/100
Maintainers usually reply within 4 days
All issues in QL-Win/QuickLook
Similar issues
-
Support Flux ignore rules (drift detection ignore paths) in Microsoft.KubernetesConfiguration schemaOpen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Azure/azure-resource-manager-schemas#3921 ·
Maintainers usually reply within 1 day
-
text-align: justify is ignored in HTML to PDF conversionPossibly taken @PrzemyslawKlys claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area/backend type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
umbraco/Umbraco-CMS#24668 · 1 comment ·
Maintainers usually reply within 1 day