Bug 501308 - VLC fails to play media files from an SMB share after restarting Dolphin
Summary: VLC fails to play media files from an SMB share after restarting Dolphin
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.12.3
Platform: NixOS Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-10 17:36 UTC by Marie
Modified: 2025-03-10 17:36 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marie 2025-03-10 17:36:52 UTC
SUMMARY
When trying to open media files with VLC from an mDNS-discovered non-public SMB share with Dolphin and restarting Dolphin once, VLC fails to open the files.
This only happens when you don't save the credentials when asked.
I noticed that VLC receives a kio_fuse path before restarting.
After the restart it receives an smb:// url, which fails since the share requires credentials.

STEPS TO REPRODUCE
1. Remove saved SMB share from dolphin
2. Close dolphin
3. Delete SMB share credentials in KWalletManager
4. Open Dolphin
5. View the share in the dolphin SMB discovery, login *without* saving the credentials
6. Try to play a media file with VLC from the share, it receives a kio_fuse mounted path
7. Restart dolphin
8. Try to play a media file again, it receives an smb:// url and fails to play it

OBSERVED RESULT
VLC receives a smb:// url

EXPECTED RESULT
VLC should receive a kio_fuse path

SOFTWARE/OS VERSIONS
Operating System: NixOS 25.05
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.6 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 7950X3D 16-Core Processor
Memory: 62.4 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XT

ADDITIONAL INFORMATION
I think there's something wrong with the special handling of VLC,
maybe Dolphin thinks after a restart that the share is now a public one, since the credentials were not saved?
I was not able to reproduce it when I clicked that credentials should be saved.
Also only reproducible when using the SMB network discovery.