Skip to content

Uncommanded drag movement of Search divider by cursor  #12473

Open

Description

@jeronymite

Description of the Issue

Panel divider between source and items found in a search automatically moves down when cursor touches it

Steps to Reproduce the Issue

  1. Search for all occurrences of something in a file with many of the item
  2. Move the mouse cursor into the search results area, ensuring the cursor does not cross the divider (i.e. move outside the window)
  3. Move the cursor up to the divider
  4. As soon as the cursor reaches what should be the drag point to move the divider up/down, the divider is automatically moved down with the cursor
  5. The same effect occurs if moving down to reach the divider, but this example demonstrates the problem more obviously

Expected Behavior

Cursor should show drag up/down arrow and divider should not move unless grabbed and dragged up/down

Actual Behavior

As noted above

Debug Information

Notepad++ v8.4.6 (64-bit)
Build time : Sep 25 2022 - 19:51:39
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "C:\Users\mypc\AppData\Roaming\myapp\Trace_data.txt"
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 22H2
OS Build : 19045.2193
Current ANSI codepage : 1252
Plugins :
ComparePlugin (2.0.2)
DSpellCheck (1.4.23)
mimeTools (2.8)
NppConverter (4.4)
NppExport (0.4)
NppTextViz (0.4.2)
Remove Duplicate Lines (1.3)

Activity

  1. jeronymite commented on Nov 8, 2022

    @jeronymite
    Author

    Further testing shows that if the cursor is moved all the way to the bottom of the window and the divider moves with it and disappears, if one then moves the cursor (slowly) back up, the behaviour reverses and the divider moves up automatically with the cursor (uncommanded).
    And a final test: restarting the program seems to resolve the issue. But it may return?

  2. alankilborn commented on Nov 8, 2022

    @alankilborn
    Contributor

    @jeronymite I feel your pain, although I cannot currently reproduce your issue. I've had trouble along these lines on a very rare basis. I've found that a single click can work around it, i.e. stop the divider tracking the mouse.

  3. jeronymite commented on Nov 8, 2022

    @jeronymite
    Author

    Thanks, @alankilborn. Yes, I also thought a single click might be effective, and I'm glad it works for you. Sadly, in my case, only the restart worked. Always a challenge debugging a transient, non-reproducible-on-demand issue. If it happens again (sigh), I'll try to record it so it can at least be seen and hopefully better understood. Thanks again.

  4. iquat commented on Sep 3, 2024

    @iquat

    I encountered this issue only with upwards movement. I recorded a video of it. If I move the mouse quickly enough, the movement doesn't happen, but I have to be very quick for that.

    2024-09-03.07-59-09.mp4

    In the debug info below, I replaced "Command Line" so as not to leak company secrets.

    Notepad++ v8.6.9 (64-bit)
    Build time : Jul 12 2024 - 05:09:25
    Path : C:\Program Files\Notepad++\notepad++.exe
    Command Line : "c:\just\a\normal\path\to\a\file.log"
    Admin mode : OFF
    Local Conf mode : OFF
    Cloud Config : OFF
    Periodic Backup : ON
    OS Name : Windows 10 Enterprise (64-bit)
    OS Version : 22H2
    OS Build : 19045.4780
    Current ANSI codepage : 1252
    Plugins :
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)
    XmlTools (3.1.1.13)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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