• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Unable to parse files in directory upon change event from <input type="file" webkitdirectory>, since update to 96.0.4693.20

    Opera for Windows
    3
    6
    950
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • szfzafa
      szfzafa last edited by szfzafa

      I've been using an extension named LocalGalleryViewer(https://chrome.google.com/webstore/detail/localgalleryviewerextensi/opheklanmaieaeneebdohfpbjkhcgilk) which loads image files from a local directory and show in a gallery slideshow. But I found it not working since Opera update to 96.0.4693.20.

      The extension uses an input element
      <input type="file" multiple="" webkitdirectory="" id="fileURL" value="choose directory">
      with event listener on change event and let the user to choose directory and parse all image files within.

      Previously, in Opera 95.0.4635.84 or earlier versions, a prompt will appear to confirm whether to upload multiple files to this site or not, and then the FileList e.target.files will always contain all files recursively in the chosen directory. Same goes for Chromium or Chrome either in corresponding versions or latest verions.
      图像_2023-07-02_004636124.png
      图像_2023-07-02_005310036.png

      However, when it comes to Opera 96.0.4693.20 or later versions, there will be no prompt, and the FileList e.target.files will contain one and only file - the chosen directory itself.
      图像_2023-07-02_005214469.png

      So what happened since Opera 96? I'm not reading any related changes in the changelog for 96. https://blogs.opera.com/desktop/changelog-for-96/
      I'm also reporting this as a bug in the official Jira: https://opera.atlassian.net/servicedesk/customer/portal/9/BS-61513
      Looking forward to your earlier reply.

      Reply Quote 0
        1 Reply Last reply
      • szfzafa
        szfzafa last edited by

        The Automatic response said "Your request status has changed to Done."
        Why was my issue closed?👿 😠

        Reply Quote 0
          1 Reply Last reply
        • szfzafa
          szfzafa last edited by

          Anyone?

          Reply Quote 0
            leocg 1 Reply Last reply
          • leocg
            leocg Moderator Volunteer @szfzafa last edited by

            @szfzafa The problem still happens in Opera One?

            Reply Quote 0
              szfzafa 1 Reply Last reply
            • szfzafa
              szfzafa @leocg last edited by

              @leocg Yes.

              Reply Quote 0
                1 Reply Last reply
              • vabs
                vabs last edited by

                We are also facing the same issue. The multi-file upload works on all other browsers.
                As the OP mentioned, in Opera it is only selecting the directory.

                Reply Quote 1
                  1 Reply Last reply
                • Locked by  leocg leocg 
                • First post
                  Last post

                Computer browsers

                • Opera for Windows
                • Opera for Mac
                • Opera for Linux
                • Opera beta version
                • Opera USB

                Mobile browsers

                • Opera for Android
                • Opera Mini
                • Opera Touch
                • Opera for basic phones

                • Add-ons
                • Opera account
                • Wallpapers
                • Opera Ads

                • Help & support
                • Opera blogs
                • Opera forums
                • Dev.Opera

                • Security
                • Privacy
                • Cookies Policy
                • EULA
                • Terms of Service

                • About Opera
                • Press info
                • Jobs
                • Investors
                • Become a partner
                • Contact us

                Follow Opera

                • Opera - Facebook
                • Opera - Twitter
                • Opera - YouTube
                • Opera - LinkedIn
                • Opera - Instagram

                © Opera Software 1995-