Skip to content

Find window loses focus making it impossible to use #1105

Description

@SanPollo

Operating System and Version

FreeBSD 15.1-RELEASE-p2

Distribution

FreeBSD packages

Description

Environment: XFCE on X.org

When invoking the Find window, either via Find or Replace in the Search menu, or using the shortcut keys, it immediately changes the focus back to the main Notepad Next window, making typing in either the Find or Replace text boxes impossible. Instead, the text is typed into the document.

Even if you click on the Find window, or in one of its text boxes, the focus immediately changes to the main window.

This affects both of my FreeBSD machines, which are configured the same (XFCE on X.org)

Image

Steps to Reproduce

  1. Create a new document.
  2. Type some text, for example, This is a test.
  3. Place the cursor somewhere, for example, after This
  4. Invoke the Find window, for example, by using [CTRL] + [F].
  5. Type the text to search for, for example, test

Debug Information

Notepad Next v0.14
Build Date/Time: Jun 22 2026 07:50:02
Qt: 6.11.1
OS: FreeBSD 15.1-RELEASE-p1
Locale: en_GB
CPU: x86_64
File Path: /usr/local/bin/NotepadNext
Arguments: /usr/local/bin/NotepadNext
Config File: /home/nick/.config/NotepadNext/NotepadNext.ini

Relevant part of NotepadNext.ini:

[FindReplaceDialog]
Backwards=false
DotMatchesNewline=false
MatchCase=false
RecentReplaceList=is a, isss a
RecentSearchList=isss a, is a
SearchMode=normal
TransparencyUsed=false
WholeWord=false
WrapAround=true
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\b\xff\0\0\x1N\0\0\v\xcd\0\0\x3\x1d\0\0\t\x4\0\0\x1k\0\0\v\xc8\0\0\x3\x18\0\0\0\x1\0\0\0\0\x6\x90\0\0\t\x4\0\0\x1k\0\0\v\xc8\0\0\x3\x18)

Additional Details

Expected behaviour
The word test appears in the Find box.

Actual behaviour
The word test is inserted into the main document.

Metadata

Metadata

Assignees

No one assigned

    Labels

    linuxRelated specifically to Linux-based OSs

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions