Bug 481684

Summary: Attempting to connect to an ftp address that returns an error shows a button with no label
Product: [Frameworks and Libraries] frameworks-kio Reporter: Antti Savolainen <antti.savo>
Component: FTPAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs, kfm-devel, olib141
Priority: NOR Keywords: qt6
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Antti Savolainen 2024-02-22 16:44:08 UTC
SUMMARY
Demonstrative video: https://youtu.be/B1GHFhJZ39o
If I attempt to connect to an ftp connection that returns any error, the dialogue to confirm the error has no label. In this case I created a vsftpd server and deleted /srv/ftp so that the default location doesn't exist. The other error that I was able to trigger this with was to set the ftp folder to have 777 permissions and the server refusing to serve because of the permissions.

STEPS TO REPRODUCE
1. Install vsftpd, set anonymous mode to YES in the config file and start the daemon
2. Delete /srv/ftp
3. Attempt to connect through dolphin

OBSERVED RESULT
No label on one of the buttons

EXPECTED RESULT
I assume the button should read Cancel

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0