Giter Club home page Giter Club logo

Comments (11)

triessner avatar triessner commented on June 8, 2024

Normally I'm using firefox at linux. But for some reason I looked at the javascript visu with chrome (also linux) and with firefox at a windows machine. In both cases the background colour is white :-/. Maybe it is a firefox-linux problem then?

from webvisu.

Ekristoffe avatar Ekristoffe commented on June 8, 2024

interesting, does it only appears on firefox with linux ? what version of firefox are you using ?

from webvisu.

triessner avatar triessner commented on June 8, 2024

I'm using Firefox 78.6.0esr (64-Bit) on an openSuSE leap 15.1 notebook

from webvisu.

Ekristoffe avatar Ekristoffe commented on June 8, 2024

Could you check something ?
On the machine which have the problem, could you do a right click on the wrongly displayed element and select "inspect" then copy paste the code from the

to the

Same thing on a normal working machine on the same element.
I would like to see what is the difference.

unfortunately all my machines under linux are headless...

from webvisu.

triessner avatar triessner commented on June 8, 2024

I'm not quite sure whether I got you right. The problem is, that the background-colour of the visualisation itself is grey in firefox, not the background colour of any element.
Nevertheless I tried to find a corresponding <dev> element, it is the surrounding <div> element of the whole visu. In linux-firefox:
<div style="display: block; position: absolute; overflow: hidden; left: 0px; top: 0px; width: 781px; height: 576px; transform-origin: 0px 0px 0px; transform: scale(1.12998);"> ....... lots of <div> ... </div> for the elements of the visu </div>
in linux-chrome:
<div style="display: block; position: absolute; overflow: hidden; left: 0px; top: 0px; width: 781px; height: 576px; transform-origin: 0px 0px; transform: scale(1.57712);">....... lots of <div> ... </div> for the elements of the visu </div>
on windows-firefox:
<div style="display: block; position: absolute; overflow: hidden; left: 0px; top: 0px; width: 781px; height: 576px; transform-origin: 0px 0px 0px; transform: scale(1.05546);">....... lots of <div> ... </div> for the elements of the visu </div>

from webvisu.

Ekristoffe avatar Ekristoffe commented on June 8, 2024

Hooo it is the whole page background...
Yes I haven’t enforced the white background by default but it can be easily done.
I will see to force a white background by default if none are set.

from webvisu.

triessner avatar triessner commented on June 8, 2024

Still doesn't work. But I assume, there is a problem with the webvisu.html. The changelog says, that the body-tag should look like <body style="background-color:white"> but it still is just <body>. For some reason, the change didn't find its way to the 1.0.13-3 release. If I change the webvisu.html manually, it works.

from webvisu.

Ekristoffe avatar Ekristoffe commented on June 8, 2024

indeed we need to make a 1.0.13-4 release or go to 1.0.14 directly ...
let me see if i can do it (ps for this one you will also need to update the ,html file.

from webvisu.

tnentwig avatar tnentwig commented on June 8, 2024

This is now included in the new release.

from webvisu.

Ekristoffe avatar Ekristoffe commented on June 8, 2024

thanks

from webvisu.

triessner avatar triessner commented on June 8, 2024

Works now as expected in (compressed) pre-release 1.0.14-beta

from webvisu.

Related Issues (17)

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.