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

Windows don't receive input events #110

Closed
dtolnay opened this issue May 4, 2019 · 10 comments
Closed

Windows don't receive input events #110

dtolnay opened this issue May 4, 2019 · 10 comments
Labels
bug Undesirable behavior

Comments

@dtolnay
Copy link
Contributor

dtolnay commented May 4, 2019

After a workspace switch (switch-to-workspace-N keybinding) I occasionally end up in a state where all the right windows are visible but when I try interacting with them, my mouse and keyboard inputs go to the desktop instead. For example if I right click anywhere in one of the windows, I get the desktop's right click menu; if I left click drag, I get the desktop's selection rectangle. Any idea what might be going wrong?

The broken state is persistent, so if I switch to a different workspace I can still interact with that one, but if I switch back to the broken one it is always still broken.

@hedning
Copy link
Member

hedning commented May 4, 2019

What commit and gnome shell version are you on?

It sounds like there's an error somewhere that's triggers before the real windows are shown (animations are done using clones due to the real windows having too many restrictions on positioning).

I'd check out the log. So something like this:

journalctl --pager-end $(which gnome-shell)

And search for JS ERROR.

@hedning hedning added the bug Undesirable behavior label May 4, 2019
@hedning
Copy link
Member

hedning commented May 4, 2019

Since it's persistent I'm guessing there's a property somewhere wrongly set to invalid value like undefined.

@dtolnay
Copy link
Contributor Author

dtolnay commented May 4, 2019

This is with dtolnay-contrib@2cda258 + gnome-shell 3.32.0. Here is the log around the right timestamp. Sorry if it turns out to be from my local tweaks! Possibly a race condition exposed by dropping some of the animation times to 0.

JS ERROR: Error calling onComplete: TypeError: this.monitor.clickOverlay is undefined
fixOverlays@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820:9
moveDone@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:769:9
_callOnFunction@resource:///org/gnome/gjs/modules/tweener/tweener.js:208:13
_updateTweenByIndex@resource:///org/gnome/gjs/modules/tweener/tweener.js:342:9
_updateTweens@resource:///org/gnome/gjs/modules/tweener/tweener.js:355:18
_onEnterFrame@resource:///org/gnome/gjs/modules/tweener/tweener.js:370:10
_emit@resource:///org/gnome/gjs/modules/signals.js:128:27
_onNewFrame@resource:///org/gnome/shell/ui/tweener.js:238:9
ClutterFrameTicker</<@resource:///org/gnome/shell/ui/tweener.js:209:13

JS ERROR: TypeError: space.monitor.clickOverlay is undefined
focus_handler@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2257:5
dynamic_function_ref/<@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/utils.js:90:9

JS ERROR: TypeError: space.monitor.clickOverlay is undefined
focus_handler@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2257:5
insertWindow@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2017:9
window_created/signal<@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1665:17

JS ERROR: Error calling onComplete: TypeError: this.monitor.clickOverlay is undefined
fixOverlays@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820:9
moveDone@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:769:9
_callOnFunction@resource:///org/gnome/gjs/modules/tweener/tweener.js:208:13
_updateTweenByIndex@resource:///org/gnome/gjs/modules/tweener/tweener.js:342:9
_updateTweens@resource:///org/gnome/gjs/modules/tweener/tweener.js:355:18
_onEnterFrame@resource:///org/gnome/gjs/modules/tweener/tweener.js:370:10
_emit@resource:///org/gnome/gjs/modules/signals.js:128:27
_onNewFrame@resource:///org/gnome/shell/ui/tweener.js:238:9
ClutterFrameTicker</<@resource:///org/gnome/shell/ui/tweener.js:209:13

JS ERROR: Error calling onComplete: TypeError: this.monitor.clickOverlay is undefined
fixOverlays@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820:9
moveDone@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:769:9
move_to@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2154:9
ensureViewport@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2121:5
layout@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:437:13
onComplete@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2010:17
_callOnFunction@resource:///org/gnome/gjs/modules/tweener/tweener.js:208:13
_updateTweenByIndex@resource:///org/gnome/gjs/modules/tweener/tweener.js:342:9
_updateTweens@resource:///org/gnome/gjs/modules/tweener/tweener.js:355:18
_onEnterFrame@resource:///org/gnome/gjs/modules/tweener/tweener.js:370:10
_emit@resource:///org/gnome/gjs/modules/signals.js:128:27
_onNewFrame@resource:///org/gnome/shell/ui/tweener.js:238:9
ClutterFrameTicker</<@resource:///org/gnome/shell/ui/tweener.js:209:13

JS ERROR: Error calling onComplete: TypeError: this.monitor.clickOverlay is undefined
fixOverlays@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820:9
moveDone@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:769:9
_callOnFunction@resource:///org/gnome/gjs/modules/tweener/tweener.js:208:13
_updateTweenByIndex@resource:///org/gnome/gjs/modules/tweener/tweener.js:342:9
_updateTweens@resource:///org/gnome/gjs/modules/tweener/tweener.js:355:18
_onEnterFrame@resource:///org/gnome/gjs/modules/tweener/tweener.js:370:10
_emit@resource:///org/gnome/gjs/modules/signals.js:128:27
_onNewFrame@resource:///org/gnome/shell/ui/tweener.js:238:9
ClutterFrameTicker</<@resource:///org/gnome/shell/ui/tweener.js:209:13

@hedning
Copy link
Member

hedning commented May 4, 2019

Huh, that's strange, the clickoverlays are made on startup/reload and when changing monitors. Something could have gone wrong there, though the fact that this only affects a single workspace would indicate that Space.setMonitor have been passed a monitor without a clickOverlay, which I'm again not quite sure how would happen.

I'm able to reproduce most of the effects (though I'm not getting the background menu) by forcing space.monitor.clickOverlay = undefined.

I'd try to do a restart and see if that fixes things. I'm unable to find an immediate reason why the clickOverlay would be invalid like that.

@dtolnay
Copy link
Contributor Author

dtolnay commented May 4, 2019

Ah, I can reproduce it reliably by turning my monitor off and on. The current workspace remains usable but other workspaces are not. Here is all of journalctl $(which gnome-shell) showing the monitor off, monitor on, switching some workspaces, killing gnome-shell with CtrlAltBackspace, and logging in again:

Log
May 04 11:32:56 rust gnome-shell[127757]: [AppIndicatorSupport-FATAL] unable to update overlay icon
May 04 11:32:56 rust gnome-shell[127757]: [AppIndicatorSupport-FATAL] unable to update overlay icon
May 04 11:32:56 rust gnome-shell[127757]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 560]: reference to undefined property 0
May 04 11:32:56 rust gnome-shell[127757]: JS ERROR: TypeError: monitor is null
                                          setMonitor@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:940:9
                                          monitorsChanged/<@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1226:17
                                          monitorsChanged@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1225:13
                                          _monitorsChanged@resource:///org/gnome/shell/ui/layout.js:537:9
May 04 11:32:56 rust gnome-shell[127757]: JS ERROR: TypeError: space.monitor is null
                                          resizeHandler@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1781:20
May 04 11:32:56 rust gnome-shell[127757]: meta_monitor_manager_get_logical_monitor_from_number: assertion '(unsigned int) number < g_list_length (manager->logical_monitors)' failed
May 04 11:32:56 rust gnome-shell[127757]: meta_workspace_get_work_area_for_monitor: assertion 'logical_monitor != NULL' failed
May 04 11:32:56 rust gnome-shell[127757]: [AppIndicatorSupport-FATAL] unable to update overlay icon
May 04 11:32:56 rust gnome-shell[127757]: [AppIndicatorSupport-FATAL] unable to update overlay icon
May 04 11:32:56 rust gnome-shell[127757]: JS WARNING: [/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js 820]: reference to undefined property "clickOverlay"
May 04 11:32:56 rust gnome-shell[127757]: JS ERROR: TypeError: this.monitor.clickOverlay is undefined
                                          fixOverlays@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820:9
                                          moveDone@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:769:9
                                          move_to@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2154:9
                                          ensureViewport@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2121:5
                                          layout@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:437:13
                                          setMonitor@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:968:9
                                          monitorsChanged/<@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1226:17
                                          monitorsChanged@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1225:13
                                          _monitorsChanged@resource:///org/gnome/shell/ui/layout.js:537:9
May 04 11:32:56 rust gnome-shell[127757]: JS ERROR: TypeError: this.monitor.clickOverlay is undefined
                                          fixOverlays@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820:9
                                          move_to@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2175:5
                                          resizeHandler@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1780:16
May 04 11:32:56 rust gnome-shell[127757]: JS ERROR: Error calling onComplete: TypeError: this.monitor.clickOverlay is undefined
                                          fixOverlays@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820:9
                                          moveDone@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:769:9
                                          _callOnFunction@resource:///org/gnome/gjs/modules/tweener/tweener.js:208:13
                                          _updateTweenByIndex@resource:///org/gnome/gjs/modules/tweener/tweener.js:342:9
                                          _updateTweens@resource:///org/gnome/gjs/modules/tweener/tweener.js:355:18
                                          _onEnterFrame@resource:///org/gnome/gjs/modules/tweener/tweener.js:370:10
                                          _emit@resource:///org/gnome/gjs/modules/signals.js:128:27
                                          _onNewFrame@resource:///org/gnome/shell/ui/tweener.js:238:9
                                          ClutterFrameTicker</<@resource:///org/gnome/shell/ui/tweener.js:209:13
May 04 11:32:56 rust gnome-shell[127757]: JS ERROR: Error calling onComplete: TypeError: this.monitor.clickOverlay is undefined
                                          fixOverlays@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820:9
                                          moveDone@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:769:9
                                          _callOnFunction@resource:///org/gnome/gjs/modules/tweener/tweener.js:208:13
                                          _updateTweenByIndex@resource:///org/gnome/gjs/modules/tweener/tweener.js:342:9
                                          _updateTweens@resource:///org/gnome/gjs/modules/tweener/tweener.js:355:18
                                          _onEnterFrame@resource:///org/gnome/gjs/modules/tweener/tweener.js:370:10
                                          _emit@resource:///org/gnome/gjs/modules/signals.js:128:27
                                          _onNewFrame@resource:///org/gnome/shell/ui/tweener.js:238:9
                                          ClutterFrameTicker</<@resource:///org/gnome/shell/ui/tweener.js:209:13
May 04 11:33:02 rust gnome-shell[127757]: JS WARNING: [/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js 2257]: reference to undefined property "clickOverlay"
May 04 11:33:02 rust gnome-shell[127757]: JS ERROR: TypeError: space.monitor.clickOverlay is undefined
                                          focus_handler@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2257:5
                                          dynamic_function_ref/<@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/utils.js:90:9
May 04 11:33:03 rust gnome-shell[127757]: JS ERROR: TypeError: space.monitor.clickOverlay is undefined
                                          focus_handler@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2257:5
                                          dynamic_function_ref/<@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/utils.js:90:9
May 04 11:33:04 rust gnome-shell[127757]: JS ERROR: TypeError: space.monitor.clickOverlay is undefined
                                          focus_handler@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2257:5
                                          dynamic_function_ref/<@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/utils.js:90:9
May 04 11:33:05 rust gnome-shell[127757]: JS ERROR: TypeError: space.monitor.clickOverlay is undefined
                                          focus_handler@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2257:5
                                          dynamic_function_ref/<@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/utils.js:90:9
May 04 11:33:29 rust gnome-shell[127757]: JS ERROR: Error calling onComplete: TypeError: this.monitor.clickOverlay is undefined
                                          fixOverlays@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820:9
                                          moveDone@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:769:9
                                          onComplete@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1580:32
                                          _callOnFunction@resource:///org/gnome/gjs/modules/tweener/tweener.js:208:13
                                          _updateTweenByIndex@resource:///org/gnome/gjs/modules/tweener/tweener.js:342:9
                                          _addTweenOrCaller@resource:///org/gnome/gjs/modules/tweener/tweener.js:603:13
                                          addTween@resource:///org/gnome/gjs/modules/tweener/tweener.js:612:12
                                          addTween@resource:///org/gnome/shell/ui/tweener.js:34:5
                                          animateToSpace@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1561:9
                                          switchWorkspace@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1375:9
                                          actionMoveWorkspace@resource:///org/gnome/shell/ui/windowManager.js:2187:13
                                          _showWorkspaceSwitcher@resource:///org/gnome/shell/ui/windowManager.js:2161:13
May 04 11:33:29 rust gnome-shell[127757]: JS WARNING: [/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js 1378]: reference to undefined property "clickOverlay"
May 04 11:33:29 rust gnome-shell[127757]: JS ERROR: TypeError: toSpace.monitor.clickOverlay is undefined
                                          switchWorkspace@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1378:9
                                          actionMoveWorkspace@resource:///org/gnome/shell/ui/windowManager.js:2187:13
                                          _showWorkspaceSwitcher@resource:///org/gnome/shell/ui/windowManager.js:2161:13
May 04 11:33:29 rust gnome-shell[127757]: JS ERROR: TypeError: space.monitor.clickOverlay is undefined
                                          focus_handler@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2257:5
                                          dynamic_function_ref/<@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/utils.js:90:9
                                          actionMoveWorkspace@resource:///org/gnome/shell/ui/windowManager.js:2187:13
                                          _showWorkspaceSwitcher@resource:///org/gnome/shell/ui/windowManager.js:2161:13
May 04 11:33:34 rust gnome-shell[127757]: JS ERROR: Error calling onComplete: TypeError: this.monitor.clickOverlay is undefined
                                          fixOverlays@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820:9
                                          moveDone@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:769:9
                                          onComplete@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1580:32
                                          _callOnFunction@resource:///org/gnome/gjs/modules/tweener/tweener.js:208:13
                                          _updateTweenByIndex@resource:///org/gnome/gjs/modules/tweener/tweener.js:342:9
                                          _addTweenOrCaller@resource:///org/gnome/gjs/modules/tweener/tweener.js:603:13
                                          addTween@resource:///org/gnome/gjs/modules/tweener/tweener.js:612:12
                                          addTween@resource:///org/gnome/shell/ui/tweener.js:34:5
                                          animateToSpace@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1561:9
                                          switchWorkspace@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1375:9
                                          actionMoveWorkspace@resource:///org/gnome/shell/ui/windowManager.js:2187:13
                                          _showWorkspaceSwitcher@resource:///org/gnome/shell/ui/windowManager.js:2161:13
May 04 11:33:34 rust gnome-shell[127757]: JS ERROR: TypeError: toSpace.monitor.clickOverlay is undefined
                                          switchWorkspace@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1378:9
                                          actionMoveWorkspace@resource:///org/gnome/shell/ui/windowManager.js:2187:13
                                          _showWorkspaceSwitcher@resource:///org/gnome/shell/ui/windowManager.js:2161:13
May 04 11:33:34 rust gnome-shell[127757]: JS ERROR: TypeError: space.monitor.clickOverlay is undefined
                                          focus_handler@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2257:5
                                          dynamic_function_ref/<@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/utils.js:90:9
                                          actionMoveWorkspace@resource:///org/gnome/shell/ui/windowManager.js:2187:13
                                          _showWorkspaceSwitcher@resource:///org/gnome/shell/ui/windowManager.js:2161:13
May 04 11:33:36 rust gnome-shell[127757]: JS ERROR: TypeError: space.monitor.clickOverlay is undefined
                                          focus_handler@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2257:5
                                          dynamic_function_ref/<@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/utils.js:90:9
May 04 11:33:36 rust gnome-shell[127757]: JS ERROR: TypeError: space.monitor.clickOverlay is undefined
                                          focus_handler@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2257:5
                                          dynamic_function_ref/<@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/utils.js:90:9
May 04 11:33:38 rust gnome-shell[127757]: Object Clutter.Actor (0x55c93412ae50), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: == Stack trace for context 0x55c93169b260 ==
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #0   55c932200d08 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/stackoverlay.js:306 (7f29b0b9aca0 @ 23)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #1   55c932200c28 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/stackoverlay.js:313 (7f29b0b9ac10 @ 115)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #2   55c932200b80 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/stackoverlay.js:125 (7f29b0b9a550 @ 23)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #3   55c932200ab8 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820 (7f29b0b76d30 @ 97)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #4   55c932200a18 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:769 (7f29b0b76940 @ 266)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #5   7fff57960a40 b   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1580 (7f29b0b7a940 @ 261)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #6   7fff57962000 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:208 (7f29d00d0670 @ 54)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #7   7fff57962150 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:342 (7f29d00d0700 @ 1742)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #8   7fff57962250 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:603 (7f29d00d0a60 @ 1485)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #9   7fff57962310 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:612 (7f29d00d0af0 @ 17)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #10   7fff579623c0 b   resource:///org/gnome/shell/ui/tweener.js:34 (7f29d00c8550 @ 38)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #11   55c932200888 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1561 (7f29b0b7a8b0 @ 686)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #12   7fff57963540 b   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1375 (7f29b0b7a310 @ 364)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #13   7fff57964210 b   self-hosted:983 (7f29c0650c10 @ 515)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #14   55c9322006d0 i   resource:///org/gnome/shell/ui/windowManager.js:2187 (7f29c04e1280 @ 110)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #15   55c932200610 i   resource:///org/gnome/shell/ui/windowManager.js:2161 (7f29c04e1160 @ 1067)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #16   7fff57966d40 b   self-hosted:981 (7f29c0650c10 @ 474)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: == Stack trace for context 0x55c93169b260 ==
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #0   55c932200d08 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/stackoverlay.js:306 (7f29b0b9aca0 @ 23)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #1   55c932200c28 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/stackoverlay.js:313 (7f29b0b9ac10 @ 115)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #2   55c932200b80 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/stackoverlay.js:126 (7f29b0b9a550 @ 44)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #3   55c932200ab8 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820 (7f29b0b76d30 @ 97)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #4   55c932200a18 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:769 (7f29b0b76940 @ 266)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #5   7fff57960a40 b   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1580 (7f29b0b7a940 @ 261)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #6   7fff57962000 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:208 (7f29d00d0670 @ 54)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #7   7fff57962150 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:342 (7f29d00d0700 @ 1742)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #8   7fff57962250 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:603 (7f29d00d0a60 @ 1485)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #9   7fff57962310 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:612 (7f29d00d0af0 @ 17)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #10   7fff579623c0 b   resource:///org/gnome/shell/ui/tweener.js:34 (7f29d00c8550 @ 38)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #11   55c932200888 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1561 (7f29b0b7a8b0 @ 686)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #12   7fff57963540 b   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1375 (7f29b0b7a310 @ 364)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #13   7fff57964210 b   self-hosted:983 (7f29c0650c10 @ 515)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #14   55c9322006d0 i   resource:///org/gnome/shell/ui/windowManager.js:2187 (7f29c04e1280 @ 110)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #15   55c932200610 i   resource:///org/gnome/shell/ui/windowManager.js:2161 (7f29c04e1160 @ 1067)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #16   7fff57966d40 b   self-hosted:981 (7f29c0650c10 @ 474)
May 04 11:33:38 rust gnome-shell[127757]: Object Clutter.Actor (0x55c93412a460), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: == Stack trace for context 0x55c93169b260 ==
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #0   55c932200860 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/stackoverlay.js:121 (7f29b0b9a4c0 @ 24)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #1   7fff57963540 b   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1378 (7f29b0b7a310 @ 416)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #2   7fff57964210 b   self-hosted:983 (7f29c0650c10 @ 515)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #3   55c9322006d0 i   resource:///org/gnome/shell/ui/windowManager.js:2187 (7f29c04e1280 @ 110)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #4   55c932200610 i   resource:///org/gnome/shell/ui/windowManager.js:2161 (7f29c04e1160 @ 1067)
May 04 11:33:38 rust org.gnome.Shell.desktop[127757]: #5   7fff57966d40 b   self-hosted:981 (7f29c0650c10 @ 474)
May 04 11:33:38 rust gnome-shell[127757]: Object Clutter.Actor (0x55c933f4d880), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
May 04 11:33:38 rust gnome-shell[127757]: clutter_actor_set_size: assertion 'CLUTTER_IS_ACTOR (self)' failed
May 04 11:33:38 rust gnome-shell[127757]: JS ERROR: TypeError: monitor.clickOverlay is undefined
                                          switchWorkspace@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1392:13
                                          actionMoveWorkspace@resource:///org/gnome/shell/ui/windowManager.js:2187:13
                                          _showWorkspaceSwitcher@resource:///org/gnome/shell/ui/windowManager.js:2161:13
May 04 11:33:40 rust gnome-shell[127757]: JS ERROR: TypeError: this.monitor.clickOverlay is undefined
                                          fixOverlays@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820:9
                                          moveDone@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:769:9
                                          move_to@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2154:9
                                          ensureViewport@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2121:5
                                          animateToSpace@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1549:13
                                          switchWorkspace@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1375:9
                                          actionMoveWorkspace@resource:///org/gnome/shell/ui/windowManager.js:2187:13
                                          _showWorkspaceSwitcher@resource:///org/gnome/shell/ui/windowManager.js:2161:13
May 04 11:33:40 rust gnome-shell[127757]: JS ERROR: TypeError: space.monitor.clickOverlay is undefined
                                          focus_handler@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2257:5
                                          dynamic_function_ref/<@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/utils.js:90:9
                                          actionMoveWorkspace@resource:///org/gnome/shell/ui/windowManager.js:2187:13
                                          _showWorkspaceSwitcher@resource:///org/gnome/shell/ui/windowManager.js:2161:13
May 04 11:33:42 rust gnome-shell[127757]: JS ERROR: TypeError: space.monitor.clickOverlay is undefined
                                          focus_handler@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2257:5
                                          dynamic_function_ref/<@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/utils.js:90:9
May 04 11:33:42 rust gnome-shell[127757]: JS ERROR: TypeError: space.monitor.clickOverlay is undefined
                                          focus_handler@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2257:5
                                          dynamic_function_ref/<@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/utils.js:90:9
May 04 11:33:46 rust gnome-shell[127757]: JS ERROR: Error calling onComplete: TypeError: this.monitor.clickOverlay is undefined
                                          fixOverlays@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820:9
                                          moveDone@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:769:9
                                          onComplete@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1580:32
                                          _callOnFunction@resource:///org/gnome/gjs/modules/tweener/tweener.js:208:13
                                          _updateTweenByIndex@resource:///org/gnome/gjs/modules/tweener/tweener.js:342:9
                                          _addTweenOrCaller@resource:///org/gnome/gjs/modules/tweener/tweener.js:603:13
                                          addTween@resource:///org/gnome/gjs/modules/tweener/tweener.js:612:12
                                          addTween@resource:///org/gnome/shell/ui/tweener.js:34:5
                                          animateToSpace@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1561:9
                                          switchWorkspace@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1375:9
                                          actionMoveWorkspace@resource:///org/gnome/shell/ui/windowManager.js:2187:13
                                          _showWorkspaceSwitcher@resource:///org/gnome/shell/ui/windowManager.js:2161:13
May 04 11:33:46 rust gnome-shell[127757]: JS ERROR: TypeError: toSpace.monitor.clickOverlay is undefined
                                          switchWorkspace@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1378:9
                                          actionMoveWorkspace@resource:///org/gnome/shell/ui/windowManager.js:2187:13
                                          _showWorkspaceSwitcher@resource:///org/gnome/shell/ui/windowManager.js:2161:13
May 04 11:33:46 rust gnome-shell[127757]: JS ERROR: TypeError: space.monitor.clickOverlay is undefined
                                          focus_handler@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2257:5
                                          dynamic_function_ref/<@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/utils.js:90:9
                                          actionMoveWorkspace@resource:///org/gnome/shell/ui/windowManager.js:2187:13
                                          _showWorkspaceSwitcher@resource:///org/gnome/shell/ui/windowManager.js:2161:13
May 04 11:33:48 rust gnome-shell[127757]: JS WARNING: [/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js 195]: reference to undefined property "clickOverlay"
May 04 11:33:48 rust gnome-shell[127757]: JS ERROR: TypeError: this.monitor.clickOverlay is undefined
                                          Navigator@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:195:9
                                          getNavigator@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:316:17
                                          show@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:58:26
                                          preview_navigate@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:322:5
                                          asKeyHandler/<@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/keybindings.js:204:20
May 04 11:33:49 rust gnome-shell[127757]: JS WARNING: [/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js 167]: reference to undefined property "navigator"
May 04 11:33:49 rust gnome-shell[127757]: JS ERROR: TypeError: this.navigator is undefined
                                          _finish@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:167:9
                                          _keyReleaseEvent@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:132:17
May 04 11:33:49 rust gnome-shell[127757]: JS ERROR: TypeError: this.navigator is undefined
                                          _finish@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:167:9
                                          _keyReleaseEvent@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:132:17
May 04 11:33:49 rust gnome-shell[127757]: JS ERROR: TypeError: this.navigator is undefined
                                          _finish@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:167:9
                                          _keyReleaseEvent@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:132:17
May 04 11:33:50 rust gnome-shell[127757]: JS ERROR: TypeError: this.navigator is undefined
                                          _finish@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:167:9
                                          _keyReleaseEvent@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:132:17
May 04 11:33:51 rust gnome-shell[127757]: JS ERROR: TypeError: this.navigator is undefined
                                          _finish@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:167:9
                                          _keyReleaseEvent@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:132:17
May 04 11:33:52 rust gnome-shell[127757]: JS ERROR: TypeError: this.navigator is undefined
                                          _finish@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:167:9
                                          _keyReleaseEvent@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:132:17
May 04 11:33:52 rust gnome-shell[127757]: JS ERROR: TypeError: this.navigator is undefined
                                          _finish@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:167:9
                                          _keyReleaseEvent@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:132:17
May 04 11:33:54 rust gnome-shell[127757]: JS ERROR: TypeError: this.navigator is undefined
                                          _finish@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:167:9
                                          _keyReleaseEvent@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:132:17
May 04 11:33:54 rust gnome-shell[127757]: JS ERROR: TypeError: this.navigator is undefined
                                          _finish@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:167:9
                                          _keyReleaseEvent@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:132:17
May 04 11:33:55 rust gnome-shell[127757]: JS ERROR: TypeError: this.navigator is undefined
                                          _finish@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:167:9
                                          _keyReleaseEvent@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:132:17
May 04 11:33:55 rust gnome-shell[127757]: JS ERROR: TypeError: this.navigator is undefined
                                          _finish@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:167:9
                                          _keyReleaseEvent@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:132:17
May 04 11:34:04 rust gnome-shell[127757]: gnome-shell: Fatal IO error 0 (Success) on X server :0.
May 04 11:34:05 rust org.gnome.Shell.desktop[8477]: Window manager warning: Overwriting existing binding of keysym ffb5 with keysym ffb5 (keycode 54).
May 04 11:34:05 rust org.gnome.Shell.desktop[8477]: Window manager warning: Overwriting existing binding of keysym ffb5 with keysym ffb5 (keycode 54).
May 04 11:34:05 rust gnome-shell[8477]: g_dir_open_with_errno: assertion 'path != NULL' failed
May 04 11:34:05 rust gnome-shell[8477]: g_filename_to_utf8: assertion 'opsysstring != NULL' failed
May 04 11:34:05 rust gnome-shell[8477]: g_dir_open_with_errno: assertion 'path != NULL' failed
May 04 11:34:05 rust gnome-shell[8477]: g_filename_to_utf8: assertion 'opsysstring != NULL' failed
May 04 11:34:05 rust gnome-shell[8477]: Getting invalid resource scale property
May 04 11:34:05 rust gnome-shell[8477]: Error setting property 'Powered' on interface org.bluez.Adapter1: GDBus.Error:org.bluez.Error.Blocked: Blocked through rfkill (g-io-error-quark, 36)
May 04 11:34:05 rust gnome-shell[8477]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
May 04 11:34:06 rust gnome-shell[8477]: JS WARNING: [resource:///org/gnome/shell/ui/windowManager.js 1618]: reference to undefined property "MetaWindowXwayland"
May 04 11:34:06 rust org.gnome.Shell.desktop[8477]: Window manager warning: Overwriting existing binding of keysym ffb5 with keysym ffb5 (keycode 54).
May 04 11:34:11 rust gnome-shell[9219]: g_dir_open_with_errno: assertion 'path != NULL' failed
May 04 11:34:11 rust gnome-shell[9219]: g_filename_to_utf8: assertion 'opsysstring != NULL' failed
May 04 11:34:11 rust gnome-shell[9219]: g_dir_open_with_errno: assertion 'path != NULL' failed
May 04 11:34:11 rust gnome-shell[9219]: g_filename_to_utf8: assertion 'opsysstring != NULL' failed
May 04 11:34:11 rust gnome-shell[9219]: Telepathy is not available, chat integration will be disabled.
May 04 11:34:11 rust gnome-shell[9219]: loading default theme (Adwaita)
May 04 11:34:11 rust gnome-shell[9219]: #paperwm init: 1556994851581#
May 04 11:34:11 rust gnome-shell[9219]: #paperwm, init tiling

@hedning
Copy link
Member

hedning commented May 4, 2019

This might work:

modified   tiling.js
@@ -1222,6 +1222,8 @@ class Spaces extends Map {
         };
 
         if (this.overrideSettings.get_boolean('workspaces-only-on-primary')) {
+            if (!primary)
+                return;
             this.forEach(space => {
                 space.setMonitor(primary, false);
             });

@hedning
Copy link
Member

hedning commented May 4, 2019

Really pretty strange. Main.layoutManager.primaryMonitor simply isn't set, which obviously breaks a bunch of things.

Do you have several monitors? If there's only one I guess the sane thing to do is check if there's no monitors and not do any monitor work if that's the case. If you've several I'm pretty confused as there should be one primary monitor at all times.

@dtolnay
Copy link
Contributor Author

dtolnay commented May 4, 2019

With if (!primary) return;, none of the keybindings work after turning on the monitor and I can't switch workspaces or interact with windows in the current workspace either (log below).

I am using one monitor.

Log
May 04 12:02:49 rust gnome-shell[9219]: meta_monitor_manager_get_logical_monitor_from_number: assertion '(unsigned int) number < g_list_length (manager->logical_monitors)' failed
May 04 12:02:49 rust gnome-shell[9219]: meta_workspace_get_work_area_for_monitor: assertion 'logical_monitor != NULL' failed
May 04 12:02:49 rust org.gnome.Shell.desktop[9219]: == Stack trace for context 0x55e957bc1260 ==
May 04 12:02:49 rust org.gnome.Shell.desktop[9219]: #0   55e95a6874a0 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/stackoverlay.js:306 (7fd19159aca0 @ 23)
May 04 12:02:49 rust org.gnome.Shell.desktop[9219]: #1   55e95a6873c0 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/stackoverlay.js:313 (7fd19159ac10 @ 115)
May 04 12:02:49 rust org.gnome.Shell.desktop[9219]: #2   55e95a687318 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/stackoverlay.js:125 (7fd19159a550 @ 23)
May 04 12:02:49 rust org.gnome.Shell.desktop[9219]: #3   55e95a687250 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820 (7fd191576d30 @ 97)
May 04 12:02:49 rust org.gnome.Shell.desktop[9219]: #4   55e95a6871b0 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:769 (7fd191576940 @ 266)
May 04 12:02:49 rust org.gnome.Shell.desktop[9219]: #5   55e95a6870e0 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2156 (7fd19157baf0 @ 163)
May 04 12:02:49 rust org.gnome.Shell.desktop[9219]: #6   55e95a687020 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1782 (7fd19157b160 @ 341)
May 04 12:02:49 rust org.gnome.Shell.desktop[9219]: == Stack trace for context 0x55e957bc1260 ==
May 04 12:02:49 rust org.gnome.Shell.desktop[9219]: #0   55e95a6874a0 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/stackoverlay.js:306 (7fd19159aca0 @ 23)
May 04 12:02:49 rust org.gnome.Shell.desktop[9219]: #1   55e95a6873c0 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/stackoverlay.js:313 (7fd19159ac10 @ 115)
May 04 12:02:49 rust org.gnome.Shell.desktop[9219]: #2   55e95a687318 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/stackoverlay.js:126 (7fd19159a550 @ 44)
May 04 12:02:49 rust org.gnome.Shell.desktop[9219]: #3   55e95a687250 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820 (7fd191576d30 @ 97)
May 04 12:02:49 rust org.gnome.Shell.desktop[9219]: #4   55e95a6871b0 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:769 (7fd191576940 @ 266)
May 04 12:02:49 rust org.gnome.Shell.desktop[9219]: #5   55e95a6870e0 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2156 (7fd19157baf0 @ 163)
May 04 12:02:49 rust org.gnome.Shell.desktop[9219]: #6   55e95a687020 i   /home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1782 (7fd19157b160 @ 341)
May 04 12:02:49 rust gnome-shell[9219]: Object Clutter.Actor (0x55e95a4a5bd0), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
May 04 12:02:49 rust gnome-shell[9219]: Object Clutter.Actor (0x55e95a593710), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
May 04 12:02:49 rust gnome-shell[9219]: meta_monitor_manager_get_logical_monitor_from_number: assertion '(unsigned int) number < g_list_length (manager->logical_monitors)' failed
May 04 12:02:49 rust gnome-shell[9219]: meta_workspace_get_work_area_for_monitor: assertion 'logical_monitor != NULL' failed
May 04 12:02:50 rust gnome-shell[9219]: [AppIndicatorSupport-FATAL] unable to update overlay icon
May 04 12:02:50 rust gnome-shell[9219]: [AppIndicatorSupport-FATAL] unable to update overlay icon
May 04 12:02:50 rust gnome-shell[9219]: JS WARNING: [/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js 820]: reference to undefined property "clickOverlay"
May 04 12:02:50 rust gnome-shell[9219]: JS ERROR: TypeError: this.monitor.clickOverlay is undefined
                                        fixOverlays@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820:9
                                        moveDone@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:769:9
                                        move_to@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2156:9
                                        ensureViewport@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2123:5
                                        layout@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:437:13
                                        setMonitor@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:968:9
                                        monitorsChanged/<@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1228:17
                                        monitorsChanged@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1227:13
                                        _monitorsChanged@resource:///org/gnome/shell/ui/layout.js:537:9
May 04 12:02:50 rust gnome-shell[9219]: JS ERROR: TypeError: this.monitor.clickOverlay is undefined
                                        fixOverlays@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820:9
                                        move_to@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:2177:5
                                        resizeHandler@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:1782:16
May 04 12:02:50 rust org.gnome.Shell.desktop[9219]: Window manager warning: Overwriting existing binding of keysym 6f with keysym 6f (keycode 20).
May 04 12:02:50 rust gnome-shell[9219]: JS ERROR: Error calling onComplete: TypeError: this.monitor.clickOverlay is undefined
                                        fixOverlays@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820:9
                                        moveDone@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:769:9
                                        _callOnFunction@resource:///org/gnome/gjs/modules/tweener/tweener.js:208:13
                                        _updateTweenByIndex@resource:///org/gnome/gjs/modules/tweener/tweener.js:342:9
                                        _updateTweens@resource:///org/gnome/gjs/modules/tweener/tweener.js:355:18
                                        _onEnterFrame@resource:///org/gnome/gjs/modules/tweener/tweener.js:370:10
                                        _emit@resource:///org/gnome/gjs/modules/signals.js:128:27
                                        _onNewFrame@resource:///org/gnome/shell/ui/tweener.js:238:9
                                        ClutterFrameTicker</<@resource:///org/gnome/shell/ui/tweener.js:209:13
May 04 12:02:50 rust gnome-shell[9219]: JS ERROR: Error calling onComplete: TypeError: this.monitor.clickOverlay is undefined
                                        fixOverlays@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:820:9
                                        moveDone@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/tiling.js:769:9
                                        _callOnFunction@resource:///org/gnome/gjs/modules/tweener/tweener.js:208:13
                                        _updateTweenByIndex@resource:///org/gnome/gjs/modules/tweener/tweener.js:342:9
                                        _updateTweens@resource:///org/gnome/gjs/modules/tweener/tweener.js:355:18
                                        _onEnterFrame@resource:///org/gnome/gjs/modules/tweener/tweener.js:370:10
                                        _emit@resource:///org/gnome/gjs/modules/signals.js:128:27
                                        _onNewFrame@resource:///org/gnome/shell/ui/tweener.js:238:9
                                        ClutterFrameTicker</<@resource:///org/gnome/shell/ui/tweener.js:209:13
May 04 12:02:52 rust gnome-shell[9219]: JS WARNING: [/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js 195]: reference to undefined property "clickOverlay"
May 04 12:02:52 rust gnome-shell[9219]: JS ERROR: TypeError: this.monitor.clickOverlay is undefined
                                        Navigator@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:195:9
                                        getNavigator@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:316:17
                                        show@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:58:26
                                        preview_navigate@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:322:5
                                        asKeyHandler/<@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/keybindings.js:204:20
May 04 12:02:52 rust gnome-shell[9219]: JS WARNING: [/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js 167]: reference to undefined property "navigator"
May 04 12:02:52 rust gnome-shell[9219]: JS ERROR: TypeError: this.navigator is undefined
                                        _finish@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:167:9
                                        _keyReleaseEvent@/home/david/.local/share/gnome-shell/extensions/paperwm@hedning:matrix.org/navigator.js:132:17

hedning added a commit that referenced this issue May 4, 2019
@hedning
Copy link
Member

hedning commented May 4, 2019

Right, hopefully just returned too late. This returns before doing anything: 2620b13

Edit: added logging to make sure monitors-changed actually gets run when the monitor is turned on

@jtaala
Copy link
Collaborator

jtaala commented Mar 3, 2023

Currently haven't been able to reproduce this - is this still happening for you? Closing now but please comment if it's still happening and we'll reopen.

@jtaala jtaala closed this as not planned Won't fix, can't repro, duplicate, stale Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesirable behavior
Projects
None yet
Development

No branches or pull requests

3 participants