Gnome should follow suit. I still have problems with context menus stealing focus and locking it to the window where they are opened.
When I right click in nautilus I have to close that menu before I can click anything not-nautilus.
It happens in every gnome application with 2 out of 3 mouse devices and it drives me nuts.
I still can't drag and drop if I alt-tab to a different window. All of these were introduced after 3.0, but have not been considered severe enough to fix.
> Whats the use-case of focusing windows? > Ticket closed This is what gnome will do.
Yep, been there. It's baffling just how strange Gnome devs' priorities are, not to mention how they interact with the community. Rest of the DEs seem to be more "Okay, community said this, let's try this with x or y." Gnome is more "We know best, no we're not listening to you" from all the interactions I've had with gnome devs.
"Can you tell me a use case for this?" for a feature for example present in every other DE. I forgot what the exact context was or I'd pull up the ticket. Something to do with the sorting of files from the header of the sort display or some such.
Yeah this is a bug: https://gitlab.gnome.org/GNOME/mutter/-/issues/4195
This happens on any GTK apps on KDE as well, so it seems to be a toolkit bug instead of compositor bug.
Apparently this happens only when you have a mouse that have those additional buttons that are exposed as a "keyboard" to the system :)
So half of all wireless Logitech mice then...
Focus stealing is when a window unexpectedly acquires focus. You’re describing something different, a window not relinquishing focus because of a chosen and consistent (not universally appreciated, but justifiable) behaviour for modals.
Not a modal dialog. A right click menu.
I have had so many focus issues on gnome that what I meant is that they should do a new take on the whole thing. The problem has gotten worse, not better, over the years.
I understood that.
It’s fairly normal to treat context menus as modals within their parent window. Not universal, but my feeling (which I don’t trust here) is that it has been generally preferred for quite some time. I think this has also become a stronger custom as popovers have become more common, and pure context menus have become less common. It then makes sense to formalise on that pattern. And then applying the modal-closing behaviour across all windows makes sense, even if it’s not the only reasonable option and you’d prefer not.