Skip to content

[BUG] Graphical bug when moving a long line and undoing the move #15817

@Jeroen-van-der-Meer

Description

@Jeroen-van-der-Meer

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

Apologies in advance if this issue is a duplicate.

A graphical glitch occurs when moving a long line of text to a different area by dragging the mouse and then undoing the move. Specifically, the location to which you moved the text will appear in a solid pink color (#FF00FE). The solid color disappears if you resize the screen or update the lines surrounding the solid pink bar.

Steps To Reproduce

  1. Create a text file with three lines. Keep the first and third line entirely blank. Fill up the second line with enough text until it starts overflowing the screen:
    {6A05F4EC-38F6-479B-9126-193469471ED3}
  2. Select the first and second line, but not the third:
    {CA510BF8-9343-4DA5-8C2F-46E7F76200FC}
  3. Using your mouse, drag the selected area to line 3:
    {2A3F3174-CB15-438C-8E61-1EB9A3CC46EE}
  4. Undo with ctrl-Z:
    {9B433175-EEC1-4AD9-A2A2-32758BD359A0}

Current Behavior

Move is undone but a colored bar is left below the line you pasted your text to.

Expected Behavior

Move is properly undone.

Debug Information

Notepad++ v8.7   (64-bit)
Build time : Sep 17 2024 - 17:06:31
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 11 Enterprise (64-bit)
OS Version : 23H2
OS Build : 22631.4460
Current ANSI codepage : 1252
Plugins : 
    mimeTools (3.1)
    NppConverter (4.6)
    NppExec (0.7.1)
    NppExport (0.4)

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    scintilla dependentCan't be considered for N++ implementation unless/until Scintilla changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions