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

panel-launchers: close the menu before destroying when removing launcher #5976

Merged
merged 1 commit into from Nov 22, 2016

Conversation

itzexor
Copy link
Contributor

@itzexor itzexor commented Nov 16, 2016

There may be a better/more correct fix for this. I'm not sure if this was introduced with the popupMenu.js changes or if it has existed for a while unnoticed.

If we destroy the menu while it is open then a callback set by pushModal removes
the grab when it recieves the actor's destroy signal. Shortly after, we attempt to
remove it again in popupMenu.js via the menu state change signal and fail. Closing
the menu before destroying the actor avoids this issue.

Fixes #5968

If we destroy the menu while it is open then a callback set by pushModal removes
the grab when it recieves the actor's destroy signal. Shortly after, we attempt to
remove it again in popupMenu.js via the menu state change signal and fail. Closing
the menu before destroying the actor avoids this issue.

Fixes linuxmint#5968
@NikoKrause
Copy link
Member

I'm not sure if this was introduced with the popupMenu.js changes or if it has existed for a while unnoticed.

I can reproduce this on LM 18 Cinnamon 2.8.8

@clefebvre clefebvre merged commit 989dce4 into linuxmint:master Nov 22, 2016
@itzexor itzexor deleted the panel-launchers-fix branch November 12, 2017 10:44
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.

Cinnamon widgets unable to gain focus
3 participants