blenderskool / pigmnts

🎨 Color palette generator from an image using WebAssesmbly and Rust
https://pigmnts.web.app
MIT License
73 stars 4 forks source link

Pigmnts causes problems with Glowforge #30

Open jaykay109 opened 2 years ago

jaykay109 commented 2 years ago

When running the Pigmnts add-on, interactions on app.glowforge.com are negatively affected. Mouseover events on certain interface elements (such as the zoom in/out buttons) cause the entire screen to go white.

This may be a highly-specific problem, but it could also be an indication that the Pigmnts add-on causes issues on other sites.

Some of the errors from the console:

Error: Permission denied to access property "offsetParent" u https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 h https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 A https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 onLoad https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 e https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 e https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 q https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 W https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 hc https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 unstable_runWithPriority https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 qi https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 pc https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 tc https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 Ki https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 unstable_runWithPriority https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 qi https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 Ki https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 Vi https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 Zs https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 vo https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 i https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 ye https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 current https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 nrWrapper https://app.glowforge.com/:11 setTimeout handler*nrWrapper https://app.glowforge.com/:11 _e https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 s https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 u https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 v https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 v https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 ot https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 it https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 st https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 ut https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 N https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 U https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 Jt https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 Qt https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 unstable_runWithPriority https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 Zt https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 nrWrapper https://app.glowforge.com/:11 fs.js:3:18231

LOG_ERROR Rendering error in in div in ForwardRef in ForwardRef in ForwardRef in ForwardRef in ToolbarButton in forwardRef(ToolbarButton) in div in div in o in x in o in div in o in h in o in x in withContentfulPage(workspace) in x in x in div in Unknown in P8 in x in RouterContext in Router in l in i Error: Permission denied to access property "offsetParent" u https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 h https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 A https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 onLoad https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 e https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 e https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 q https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 W https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 hc https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 unstable_runWithPriority https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 qi https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 pc https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 tc https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 Ki https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 unstable_runWithPriority https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 qi https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 Ki https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 Vi https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 Zs https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 vo https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 i https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 ye https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 current https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 nrWrapper https://app.glowforge.com/:11 setTimeout handler*nrWrapper https://app.glowforge.com/:11 _e https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 s https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 u https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 v https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 v https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 ot https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 it https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 st https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 ut https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 N https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 U https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 Jt https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 Qt https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 unstable_runWithPriority https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 Zt https://cdn.glowforge.com/gf-web/vendor-v1-80b5a615c0f8bcf81ab9.js:2 nrWrapper https://app.glowforge.com/:11

Saga Stack: undefined fs.js:3:18231

blenderskool commented 2 years ago

Thanks for the report @jaykay109 Since I don't have access to app.glowforge.com, I can't make out what's happening. Is it possible for you to share a screen recording of the problem on my email address so that I can understand the issue better?

jaykay109 commented 2 years ago

@blenderskool I shared a quick recording with you via Google Drive. If I disable the Pigmnts add-on, the site behaves as normal, so I assume there is some kind of conflict. Thanks for your help!

blenderskool commented 2 years ago

Thanks @jaykay109. Will go through it 🙂