Strange issue with GTK apps

I’m using gnome builder to make a basic app. However, there is a weird glitch. When I open any dialog (I tested them) e.g. an AdwAboutDialog (yes, the one pre-generated by gnome builder) all my app.something keyboard accels stop working (for example app.quit). I tried to see if this is intended behaviour, but apps like gnome text viewer don’t have this problem.

PS Please don’t get mad at me, I’m relatively new to GTK

Hi,

Do you use flatpak to build the app?
If yes, which “runtime-version” is used?
If it’s the “master” one, then you use the latest development dependencies, that may include Making sure you're not a bot!, which indeed limits keyboard events propagation from dialogs.

I suppose your gnome-text-editor uses an older libadwaita dependency, or it’s an old version still using AdwAboutWindow instead of AdwDialogWindow.

So should I use 4.16 or 47 Sdk?

The “47” sdk is a stable one, use it for publishing apps (typically on flathub).

The “master” sdk is the development one, used by developers to test against the latest/upcoming libraries versions.
The current “master” content is close to what will be released soon in the stable “48” sdk.