mzur / gnome-shell-wsmatrix

GNOME shell extension to arrange workspaces in a two-dimensional grid with workspace thumbnails
GNU General Public License v3.0
464 stars 58 forks source link

fix popup timeout source id is not found on destroy #195

Closed ebeem closed 2 years ago

ebeem commented 2 years ago

fixes #176

ebeem commented 2 years ago

can't reproduce, but for some reason this._initialDelayTimeoutId is = 0 sometimes and this causes the opacity to stay 0

    _showImmediately() {
        if (this._initialDelayTimeoutId === 0)
            return;

        GLib.source_remove(this._initialDelayTimeoutId);
        this._initialDelayTimeoutId = 0;

        Main.osdWindowManager.hideAll();
        this.opacity = 255;
    }