Bug 516062 - KDE Save Dialog Overwrites Manually Pasted Filename After Refresh
Summary: KDE Save Dialog Overwrites Manually Pasted Filename After Refresh
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Open/save dialogs (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-15 22:57 UTC by MisterE
Modified: 2026-02-16 10:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
recording of the issue (423.55 KB, video/webm)
2026-02-15 22:57 UTC, MisterE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MisterE 2026-02-15 22:57:32 UTC
Created attachment 189627 [details]
recording of the issue

SUMMARY
When opening the KDE “Save As” dialog, a manually pasted filename can be overwritten by the dialog’s automatic refresh shortly after it appears.
After the refresh completes, the filename field is reset to the default suggested name, discarding the user’s pasted input.


STEPS TO REPRODUCE
  * mkdir ~/example; cd ~/example
  * Create many files (large directories or slow/network mounts make the issue easier to reproduce):

  for i in {1..8000}; do
      size=$((RANDOM + 1))   # random grootte tussen 1 en 32768 bytes
      dd if=/dev/urandom of="file_$i.webp" bs=$size count=1 status=none
  done


  * Open https://www.opensuse.org/
  * Right-click an image → “Save Image As” → save it to ~/example (so the browser remembers this folder)
  * Copy some text to the clipboard, e.g. wanted_filename
  * Right-click the image again → “Save Image As”
  * Immediately press Ctrl+V to replace the suggested filename
  * Wait for the dialog refresh to complete → the filename field is reset to the default name

OBSERVED RESULT
See the included movie

EXPECTED RESULT
Filename field is reset to the default name

SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 16.0
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.12.0-160000.9-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: Mesa Intel® UHD Graphics 620


ADDITIONAL INFORMATION
Comment 1 Akseli Lahtinen 2026-02-16 10:06:06 UTC
I can sort of reproduce. We should skip modifying it on refresh when user has interacted with it.

Operating System: KDE Linux 2026-02-16
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 6.18.9-zen1-2-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600