Skip to content

Pasting via a clipboard manager inserts text into editor rather than console >>> box #378

@alankilborn

Description

@alankilborn

Recently a N++ user had trouble getting the Ditto clipboard manager to insert data into N++ at the right place (see the user complaint on the Community site HERE ). This was determined to be a problem with N++ (not Ditto) and was fixed (see the N++ ISSUE and PR ) in version 8.7.2.

I have a similar problem involving Ditto and attempting to have my paste target in N++ be the PythonScript console window's >>> box:

  • make sure the PS console window is "docked" into the main Notepad++ window¹
  • click inside the PS console's >>> box to give it input focus
  • in the Ditto main UI, double-click on one of its text entries (the goal being that the text of the entry should now be pasted into the PS >>> box)
  • observe that the text is inserted into the active editor's text buffer instead of the console's >>> box

¹: note that if the PS console window is "undocked", pasting via Ditto works fine!

Can something in the PS plugin be changed so that this (the normal Ditto usage paradigm) works?

Workaround:

  • in Ditto, go to Options... > General > Advanced and change Paste clip in active window after selection from (its default of True) to False
  • after that, double-clicking an entry in the Ditto UI places it in the Windows clipboard, for "normal" pasting elsewhere with Ctrl+v

My N++ debug info:

Notepad++ v8.7.5   (64-bit)
Build time : Dec 21 2024 - 05:13:03
Path : C:\NotepadPlusPlus\Portable\notepad++.exe
Command Line : -titleAdd="DUV"
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
Periodic Backup : OFF
Placeholders : ON
DirectWrite : ON
Multi-instance Mode : monoInst
File Status Auto-Detection : cdEnabledNew (for current file/tab only)
Dark Mode : OFF
OS Name : Windows 11 Pro (64-bit)
OS Version : 24H2
OS Build : 26100.3476
Current ANSI codepage : 1252
Plugins : 
    AnalysePlugin (1.13.49)
    BetterMultiSelection (1.5)
    ColumnsPlusPlus (1)
    DSpellCheck (1.4.24)
    EnhanceAnyLexer (1.0.1)
    Explorer (1.9.3)
    GotoLineCol (2.4.2)
    mimeTools (3.1)
    NavigateTo (2.6)
    NppConverter (4.6)
    NppEditorConfig (0.4)
    NppExec (0.8.3)
    NppExport (0.4)
    NppMultiReplace (1)
    PythonScript (3.0.21)
    _CustomizeToolbar (5.3)

Ditto version in use: 03.24.246.00 64bit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions