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

Moving windows between screens doesn't work. #4

Open
adamcik opened this issue Feb 11, 2019 · 1 comment
Open

Moving windows between screens doesn't work. #4

adamcik opened this issue Feb 11, 2019 · 1 comment

Comments

@adamcik
Copy link

adamcik commented Feb 11, 2019

I get the following traceback from the background page:

background.js:311 Uncaught (in promise) TypeError: allDisplays[n].area is not a function
    at resolve (chrome-extension://aikaaejchodabfpkipfonnekofgepakh/background.js:311:36)
    at new Promise (<anonymous>)
    at moveDisp (chrome-extension://aikaaejchodabfpkipfonnekofgepakh/background.js:309:12)
    at Map (chrome-extension://aikaaejchodabfpkipfonnekofgepakh/background.js:351:58)
    at chrome-extension://aikaaejchodabfpkipfonnekofgepakh/background.js:360:61
    at EventImpl.dispatchToListener (extensions::event_bindings:403:22)
    at Event.publicClassPrototype.(anonymous function) [as dispatchToListener] (extensions::utils:138:26)
    at EventImpl.dispatch_ (extensions::event_bindings:387:35)
    at dispatchArgs (extensions::event_bindings:260:26)
    at dispatchEvent (extensions::event_bindings:269:7)

Editing this line to not call .area() in the developer tools seems to fix the problem. Not sure if this problem has been here all along or if Chrome display APIs changed at some point.

@adamcik
Copy link
Author

adamcik commented Feb 11, 2019

And for reference, this was on a pixelbook running:

Google Chrome | 72.0.3611.0 (Official Build) dev (64-bit)
Revision | 1e634547d9fe9e14027b66ae5d1e938b14a7ddf0-refs/branch-heads/3611@{#1}
Platform | 11265.0.0 (Official Build) dev-channel eve

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

No branches or pull requests

1 participant