Skip to content
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: Don't use last_focused state in handling notify::focus-window #1007

Merged
merged 1 commit into from
Jun 18, 2021

Conversation

lhotari
Copy link
Contributor

@lhotari lhotari commented Jun 18, 2021

Fixes #712

The solution is based on comments made by @sitepodmatt in #712 (comment) about the root cause of the issue.

This solution ignores last_focused state in handling notify::focus-window event.

@lhotari lhotari changed the title Don't use last_focused state in handling notify::focus-window fix: Don't use last_focused state in handling notify::focus-window Jun 18, 2021
Copy link

@cesarrew cesarrew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've manually changed the file "/usr/share/gnome-shell/extensions/pop-shell@system76.com/extension.js" with this fix and, after that, I could't reproduce the problem anymore. I't seems fixed. Thank you a lot @lhotari!

@jacobgkau jacobgkau requested a review from a team June 18, 2021 14:51
Copy link
Member

@jacobgkau jacobgkau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed this fixes #712. This does not fix #970 according to my testing.

Regression testing passed:
shell-pr1007-focal.txt
shell-pr1007-hirsute.txt

@jacobgkau jacobgkau requested a review from a team June 18, 2021 17:11
@mmstick mmstick merged commit 93634d6 into pop-os:master Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dialogs switch the stack to an incorrect window
4 participants