-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix minimized windows being focused when a focused window is closed #3698
Fix minimized windows being focused when a focused window is closed #3698
Conversation
0048a5b
to
fa1e09b
Compare
I think mir/src/miral/basic_window_manager.cpp Lines 1655 to 1658 in fa1e09b
|
fa1e09b
to
478811a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few things, but it does make sense! ApplicationSelector
is a sad implementation that will be removed some day soon
Does this fix #3309 ? According to 3309, saviq expects gnome-chess to be focused in the following situation instead of gnome-terminal: Screencast.from.2024-12-17.09-05-36.webm |
The error in the video is that both terminals get raised in the first place, which they shouldn't (can't tell right now if pre-existing). |
Looks like I got caught up in all the different sub-bugs ;) mir/src/miral/basic_window_manager.cpp Lines 291 to 292 in 3a82632
Can you test on your end as well? In case my testing setup broke in some other way (I use gnome-terminal and qtcreator since some GTK apps (kgx and gnome-chess) refuse to run inside miriway). I think this was meant to alt-tab between windows of the same application if no other applications are display. For example, I you had multiple gnome-terminals open The bug with alt-tabbing raising all windows of a specific app is still there. I'm looking into it. |
Actually, it isn't that both get raised, but rather that |
Unfortunately this has broken the following for me. Here is a repro:
However, the bug is that Screencast.from.2025-01-07.09-44-04.webmAll of this being said, we do have imminent plans to deprecate the Maybe I'd like to get @Saviq 's opinion, but I would be in favor of not working on improving this code, and instead focus on implementing a proper window switcher |
Agreed, we shouldn't worry about Alt+Tab-broken behaviour, unless trivial to fix. |
72892c3
to
ccd6e4e
Compare
fa432b4
to
cc27301
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One final thing :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's land it!
Closes #3408