Coder Social home page Coder Social logo

Comments (10)

KristjanESPERANTO avatar KristjanESPERANTO commented on June 12, 2024

Does the problem also occur if you deactivate all modules except for the clock?

from magicmirror.

TheEpicTen avatar TheEpicTen commented on June 12, 2024

I'll have a look in about an hour.

from magicmirror.

TheEpicTen avatar TheEpicTen commented on June 12, 2024

Well my mirror no longer starts. I have a solution, but not enough time to do it today. I'll work on it tomorrow

from magicmirror.

TheEpicTen avatar TheEpicTen commented on June 12, 2024

So the only time this issue occurs is when something is playing and shown on the onspotify module. I'll put this issue on that repo.

from magicmirror.

Fabrizz avatar Fabrizz commented on June 12, 2024

I can reproduce this as it only happens on the machine that I use to develop. Im sure that its related on how chromium readers things (In this case I thing its related to css filters and opacity interactions).

I cannot find issues similar to this as some times MM2 appears drawn over other tab in my machine and that REALLY makes no sense.

Im sure that there is a way of using flags to change how rendering works in electron and or other browsers. Changing the viewport size fixes this as its just a rendering artifact.

EDIT: will try to reproduce, and maybe open a bug on the chromium bug tracker(?

from magicmirror.

Fabrizz avatar Fabrizz commented on June 12, 2024

Other pages

image

REALLY strange

image

On the same page

image
Happens instantly with my setup

from magicmirror.

TheEpicTen avatar TheEpicTen commented on June 12, 2024

Oh, interesting. I only get the doubles when mirror is the active window, they don’t appear otherwise. Can be fixed temporarily by reloading mm(Ctrl+r), but comes back very quickly. I’ll have a look later to make sure, but how do I change viewport size?

from magicmirror.

sdetweil avatar sdetweil commented on June 12, 2024

I don't understand viewport? MM IS the viewport.. full screen intended..

IF your module wants a smaller 'viewport' then it has to use html idoms to create another , like iframe
https://developer.mozilla.org/en-US/docs/Web/CSS/Viewport_concepts
and use css to customize its size

else it uses size to control the drawing area height, width ....

IF the module resurfaced from off screen/hidden, its resume() method would be called..

from magicmirror.

Fabrizz avatar Fabrizz commented on June 12, 2024

I don't understand viewport? MM IS the viewport.. full screen intended..

IF your module wants a smaller 'viewport' then it has to use html idoms to create another , like iframe
https://developer.mozilla.org/en-US/docs/Web/CSS/Viewport_concepts
and use css to customize its size

else it uses size to control the drawing area height, width ....

IF the module resurfaced from off screen/hidden, its resume() method would be called..

Nono, I'm just saying that a viewport change in the page (or a color change on the elements that have a filter) triggers a repainting, thus the bug disapears. (Just a visual thing)

I made the corresponding bug report on the chromium bug tracker.

The best way (hacky way) to make this disapear would be to change the colors a bit over time or not use that background effect.

I don't know if maybe instead of using css for opacity using the alpha channel in the color would be different, as that is not applied after

from magicmirror.

sdetweil avatar sdetweil commented on June 12, 2024

ok, we don't know about css when we do updateDom().. we check that the redendered content is the same or not.
so if style changed under the covers (animated background) that would be a browser shadow dom change I think. and outside our knowledge

from magicmirror.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.