Okay. I just reinstalled the keepassxc snap to make sure I wasn’t in devmode and connected up the
I can reproduce what you see with a (mostly) empty root directory:
This seems to be down to the AppArmor profile not letting the process list the root directory, so it only displays folders it knows it exists. If I type
/media/james into the “File name” box though, I can navigate to the removable volumes:
So again, this could be addressed by loosening up the AppArmor confinement so the file picker can drill down to the removable volumes, but we’d need to think carefully about whether that is desirable: it may reveal more information about the system than we want.
I know I must sound like a broken record bringing up portals here, but they really should help here. By moving the file picker out of process to an unconfined trusted helper, many of these problems go away. Since it is unconfined, it won’t get stuck trying to list the root directory. And since the portal is responsible for making the document available to the confined app, it would make it possible for an app like keepassxc to run without either the
removable-media interfaces and still be able to open files in those locations.