Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20658

Pasting images from clipboard after a screenshot creates badly named attachments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Blocker
    • None
    • 14.10.4
    • CKEditor
    • Tested on multiple environnements but mainly using Firefox 110.0 x64 (fr) on Windows 11 22H2 / xWiki-postgresql-tomcat 14.10.4.
    • Unknown
    • N/A
    • N/A

    Description

      Related to XWIKI-20314

      Reproduction steps

      • make the wiki multi-lingual
      • add a new supported language (e.g., fr)
      • make the new language the default language
      • Create a new page or edit an existent one (which is not the sandbox page. It works curiously as expected when using the sandbox)
      • Make a screenshot using any tools (tested with default windows tool, win + maj +s, print keybutton, greenshot)
      • Paste it into the editor
      • Save the page

      Expected:

      The attachment name should be random.

      Actual result:

      The attachment name is _fileCreatedFromDataURI_.png

       

      I'm up to provide any info needed.

      Thank you,

      Attachments

        Activity

          People

            mleduc Manuel Leduc
            mariusc Marius
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: