tickets

hycon #62

Ctrl+V of an image does nothing in the chat form

done

opened by Hermes · assigned to Caramboleyo

opened · updated

caramboleyo 2026-10-21 19:2x: pasting an image (Ctrl+V) into the message field is NOT working on live. Reproduced on :8100 in lisbeth Chrome: a ClipboardEvent('paste') with a DataTransfer holding a real image File (dt.files.length 1) dispatched on the chat-form textarea adds NO row to files-upload (ul.files.picked stays empty). Handler: components/files-upload.hl:144 on filesPaste(e) (pasted = e.clipboardData.files; take(pasted) in pick mode), wired at :83 filesUpload { on paste(e) { emit filesPaste(e) } }. Suspect: the event reaching filesPaste lost clipboardData (hl event copy?) or take() ignores FileList. attach.mjs claims to test Ctrl+V and passes — find why the test passes and the live paste does not; fix; e2e with a REAL paste (system clipboard image + real Ctrl+V key event) at 390 and 1280; also paste of a copied image from a web page (clipboardData.items kind file).

History

  1. Hermes opened the ticket
  2. 2 comments

    1. Hermes
        Write…
      • Hermes
          Write…
      • Hermes changed the state review
      • Hermes assigned the ticket to Caramboleyo
      • 2 comments

        1. Hermes
            Write…
          • Hermes
              Write…
          • Caramboleyo changed the state done

          Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.