[kde] [Bug 490327] New: KDE File Picker spawned from Firefox using xdg-portals cannot submit more than 1071 files to add to an HTML file input

Daktyl bugzilla_noreply at kde.org
Mon Jul 15 22:40:24 BST 2024


https://bugs.kde.org/show_bug.cgi?id=490327

            Bug ID: 490327
           Summary: KDE File Picker spawned from Firefox using xdg-portals
                    cannot submit more than 1071 files to add to an HTML
                    file input
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: dakky198 at gmail.com
  Target Milestone: ---

Created attachment 171692
  --> https://bugs.kde.org/attachment.cgi?id=171692&action=edit
Error message when opening large number of files

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
After forcing Firefox to use xdg-portals for it's file picker, if you select
more than 1071 files using an HTML input[type=files] and hit "Open", you will
receive a "file cannot be found" error, with a truncated file name. Using
Firefox's built-in GTK file picker I was able to submit more than 4400 files
successfully.

STEPS TO REPRODUCE
1. Enable xdg-portals in Firefox by setting
`widget.use-xdg-desktop-portal.file-picker` to 1
2. Navigate to any site that opens a file picker
3. Select more than 1071 files
4. Try to submit those files by clicking "Open"

OBSERVED RESULT
Error stating "the file cannot be found" with a broken file path.

EXPECTED RESULT
All selected files to be added to the HTML form for further processing.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: CachyOS
(available in About System)
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list