deanoemcke / spaces

MIT License
66 stars 32 forks source link

Popups don't stay open on Ubuntu+Compiz #1

Closed themightychris closed 6 years ago

themightychris commented 6 years ago

The move-to-space and quick find popups flash open momentarily but disappear before they can be interacted with

jmason888 commented 6 years ago

I've had this problem on ChromeOS too:

Version:   Version 64.0.3270.0 (Official Build) dev (64-bit)
Platform:  10134.0.0 (Official Build) dev-channel gandof
Firmware:  Google_Gandof.6301.155.9

Exactly as above, the popup opens, but clicking in it dismisses the popup without doing anything.

Bao Ho posted a patch to the support pages (Apr 22, 2016, "Solution for the problem of space switch in linux", currently #37) which solves the problem for me. It adds the following after at line 77 of background.js:

if (windowId == chrome.windows.WINDOW_ID_NONE || windowId == spacesPopupWindowId) {
    return;
}
jmason888 commented 6 years ago

See PR #2.

Thank you @deanoemcke for the extension (and for open-sourcing it), and thank you @tri-bao for the patch.

themightychris commented 6 years ago

I can confirm this fix works for me!