I use Fedora 42 KDE. When creating an archive with "Compress to..." I select type "Zip archive", then set a password at "Passwort Protection" and I can see the option "Ask for password before showing the list of files in the archive" which is grayed out, but enabled. When I create the archive, it will show all the directories and filenames before a password is entered. I am unsure if that option is even supported for ZIP files, because when I choose type "7-zip archive" it is not grayed out and it works. If this option is not supported, it should still be grayed out (instead of being removed), but then the tick should be removed so that the user knows that filenames are not encrypted.