COSMIC is the new rust-based DE that's still in alpha right? I wasn't using that.
I'm pretty sure it's a window manager issue. gksudo (?) requests focus, and then while you're typing something happens and your keyboard loses focus on the password field and keystrokes go to an app behind that window.
there were also other fun things like running an app in a debugger, then setting a breakpoint in that app triggered by a UI event, would then immediately cause the entire desktop environment to lockup to mouse events. you'd have to use the keyboard to trigger the "application unresponsive" window and then tab to "close".
> COSMIC is the new rust-based DE that's still in alpha right? I wasn't using that.
I'm not referring to that, I'm referring to the "COSMIC" extensions to GNOME that PopOS adds to reshape GNOME into their vision of a desktop environment (the vision is what they call COSMIC). Those COSMIC extensions are the predecessor to the COSMIC DE, which is a standalone instantiation and elaboration of that vision, and have been part of PopOS and enabled by default for a very long time. The COSMIC extensions are extremely extensive, substantially changing several huge aspects of gnome, as well as being written in typescript, then compiled to JavaScript and then translated into GJS with a — I kid you not — a sed script. So I think it's entirely possible that your problems could have been caused by those extensive extensions, and not the gnome window manager itself. Especially since other users of gnome haven't shared your experiences.
There's also the fact that pop OS's version of gnome is now more than 2 years behind and they still haven't updated it, since they are holding back waiting for cosmic de to be ready instead, so you may have been experiencing a bug that has long been fixed for everyone else. System 76 seems to try to do their best to update a lot of the packages in pop os's repos, but they can't keep everything artificially up to date since they aren't tracking Upstream Ubuntu updates anymore, either, since all of their resources are going to Cosmic de, so a whole bunch of packages including for instance node are two years out of date on PopOS, not just gnome, incidentally.