Finder works fine and attaching files from browser popups. But whenever I'm in a native linux program and click attach file and it opens a new window to find the file, and it doesn't display most of my directories/folders and no files at all!! (check pic). For example on telegram I click the paperclick to attach a file and as you see in that picture, no files show up.
File Manager displays only files that the software can use or open, for example a game don't show pictures or videos, you'll see only data files, configuration files and so on. Moreover, remember to choose the option you want from that rectangle on low right corner.
No that's definitely not the issue. Because a) I know it should find the file type (e.g. I'm attaching a picture in a notes app) and b) I can switch over to windows load the same program click attach and find the picture to attach in the same place. It's quite literally not showing any compatible file types whatsoever. But thanks for the suggestion.