Bug 491830 - Window reloads when previews are enabled with some filetypes present
Summary: Window reloads when previews are enabled with some filetypes present
Status: RESOLVED FIXED
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (other bugs)
Version First Reported In: git-stable-Plasma/6.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-17 15:58 UTC by iodreamify
Modified: 2025-06-11 17:12 UTC (History)
4 users (show)

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


Attachments
video (890.47 KB, video/webm)
2024-08-17 15:58 UTC, iodreamify
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iodreamify 2024-08-17 15:58:30 UTC
Created attachment 172709 [details]
video

SUMMARY
When i open a open/save file dialog from any app and the folder i navigate to contains some filetypes(indicated in the video) the window will quickly reload when the mouse hovers in the general area. Logs indicate: 

сер 17 18:42:57 AsusTufA15 kioworker[6522]: kf.kio.core.connection: Socket not connected QLocalSocket::PeerClosedError
сер 17 18:42:57 AsusTufA15 kioworker[6522]: kf.kio.core: An error occurred during write. The worker terminates now.
сер 17 18:43:02 AsusTufA15 firefox[1696]: [Parent 1696, Main Thread] WARNING: Server is missing xdg_foreign support: 'glib warning', file /usr/src/debug/firefox/firefox-129.0.1/toolkit/xre/nsSigHandlers.cpp:187
сер 17 18:43:02 AsusTufA15 firefox[1696]: [Parent 1696, Main Thread] WARNING: Failed to export handle, could not set transient for: 'glib warning', file /usr/src/debug/firefox/firefox-129.0.1/toolkit/xre/nsSigHandlers.cpp:187
сер 17 18:43:02 AsusTufA15 firefox[1696]: Server is missing xdg_foreign support
сер 17 18:43:02 AsusTufA15 firefox[1696]: Failed to export handle, could not set transient for
сер 17 18:43:04 AsusTufA15 xdg-desktop-portal-kde[1097]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0 

 
This does not happen with file previews off. And it doesn't happen when the indicated files aren't present.
Most notably the very last line in the logs reoccurs every time. 

This is 100% reproducible with any individual file in the screenshot. 
STEPS TO REPRODUCE
1. Have any of the filetypes present in a directory
2. open an open/save file dialog from an app like firefox
3. have file previews enabled and window set to details mode
4. hover with mouse over the file list area and/or file names themselves 

OBSERVED RESULT
Window quickly reloads 

EXPECTED RESULT
Window doesn't reload

Operating System: Arch Linux 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.8.0-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 TraceyC 2025-06-10 23:05:19 UTC
In the video:

Firefox is using the KDE save dialog
Attempting to save to ~/Downloads
Directory has these types of files: zst, tgz, xz

I was not able to reproduce this with KWrite on git-master with the Save As dialog 
I also used the Browse button on this report in Firefox
The folder I navigated to had an xz file

It's been a while since this bug was filed, and this may have been fixed since then. I recall specifically seeing a fix for this or something very similar. Can you please re-test with Plasma 6.3.5 or later? If you can still reproduce the bug, please set this to REPORTED. Thanks!
Comment 2 iodreamify 2025-06-11 00:19:44 UTC
Retested with 

KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.9-arch1-1 (64-bit)

bug no longer happening. Closing report if there's no objection.
Comment 3 TraceyC 2025-06-11 17:12:00 UTC
Thanks for the update, and I'm glad to hear the bug is no longer happening for you.