code icon indicating copy to clipboard operation
code copied to clipboard

Dropping text file onto the textview should open it or insert its contents not its filename

Open jeremypw opened this issue 6 months ago • 1 comments

What Happened?

Dropping files from a filemanager (for example) onto the Code text view inserts the filename into the target document. Other Text editors (Gnome Text Editor, AbiWord) either opens the file as a document or insert the contents into the existing document.

Steps to Reproduce

  1. Drop a text file onto a Code document
  2. The filename is inserted

Expected Behavior

The contents of the file should be inserted, either into a new document or into the target document at the drop point (not sure which).

OS Version

8.x (Circe)

Session Type

Classic Session (X11, This is the default)

Software Version

Latest release (I have run all updates)

Log Output


Hardware Info

No response

jeremypw avatar Jun 16 '25 14:06 jeremypw

@danirabbit What is the desired behaviour for Code?

jeremypw avatar Jun 16 '25 14:06 jeremypw