I have a strange problem with my Elementary OS, Hera install. For some apps (3rd part and some Flathub)e.g. Matlab, Dynalist, Foxit Reader, Inkdrope, Signal (Flathub), Mega Sync (Flathub), Draw.io (Flathub) when I press right mouse click on their title bars, the system does not register it, the same if I press right-click button on the touchpad. However, when I do with two-finger tap on the touchpad it works.
Right-click works properly inside mentioned applications, only the title bar does not respond to it. I have tried with a different mouse as well, the same.
Any help would be appreciated. Thanks