When both repo and flatpak apps are installed we can't determine which to choose
$ flatpak info org.mozilla.firefox
Firefox - Mozilla Firefox Web Browser
ID: org.mozilla.firefox
Ref: app/org.mozilla.firefox/x86_64/stable
Arch: x86_64
Branch: stable
Version: 88.0.1
License: MPL-2.0
Origin: flathub
...
$ flatpak info org.mozilla.Firefox
Firefox - Web Browser
ID: org.mozilla.Firefox
Ref: app/org.mozilla.Firefox/x86_64/stable
Arch: x86_64
Branch: stable
Version: 88.0.1
License: GPL-3.0+
Origin: fedora
...
$ rpm -q firefox
firefox-88.0.1-1.fc34.x86_64
How to deal with the situation? Same for the default application dialog: