janelia-flyem / dvid-console

Web console and API help for DVID
3 stars 1 forks source link

Node UUID text size out of whack #13

Closed DocSavage closed 8 years ago

DocSavage commented 9 years ago

The UUID text label for each node is too large for the node in MB-6 (emdata1:8500). It's possible that this occured when I zoomed in to see the DAG.

neomorphic commented 9 years ago

Unable to replicate. Can you add a screenshot?

DocSavage commented 9 years ago

Here's a grab from my Chrome version 44.0.2403.130 (64-bit) on MacOS 10.9.5. bad_dag_formatting

The above happened when I visited using a new tab without any resizing or manipulation. This was emdata1:8500, MB-6 repo.

neomorphic commented 9 years ago

That looks bad. I am using the same version of chrome, but can't replicate it. Maybe I can stop by and look at your machine. Might be specific to you?

neomorphic commented 9 years ago

Have you got a user stylesheet that is overriding the font size of <text> nodes?

DocSavage commented 9 years ago

nHere's what I get on the javascript console for the browser: ReferenceError: A store named a already exists, double check your store names or pass in your own custom identifier for each store at Object.e as warn at a.k.value ( http://emdata1.int.janelia.org:8500/js/bundle.min.js:4:22804) at Object.28.../actions/LogActions ( http://emdata1.int.janelia.org:8500/js/bundle.min.js:4:13010) at e (http://emdata1.int.janelia.org:8500/js/bundle.min.js:2:254) at http://emdata1.int.janelia.org:8500/js/bundle.min.js:2:305 at Object.18.../actions/LogActions ( http://emdata1.int.janelia.org:8500/js/bundle.min.js:3:278) at e (http://emdata1.int.janelia.org:8500/js/bundle.min.js:2:254) at http://emdata1.int.janelia.org:8500/js/bundle.min.js:2:305 at Object.16.../actions/ServerActions ( http://emdata1.int.janelia.org:8500/js/bundle.min.js:2:25010) at e (http://emdata1.int.janelia.org:8500/js/bundle.min.js:2:254)

I'll try to delete caches. Maybe it's cached some javascript that was an older version of the library and is holding onto it even after it's been updated upstream.

On Mon, Aug 17, 2015 at 11:16 AM, Jody Clements notifications@github.com wrote:

Have you got a user stylesheet that is overriding the font size of nodes?

— Reply to this email directly or view it on GitHub https://github.com/janelia-flyem/dvid-console/issues/13#issuecomment-131858184 .

DocSavage commented 9 years ago

Deleting cache and even opening it in incognito window makes no difference.

neomorphic commented 9 years ago

I managed to replicate the text size, but only by modifying the stylesheet in the developer console. It seems something else is changing it on your browser.

DocSavage commented 9 years ago

After some testing, it looks like this is a second monitor issue. If the browser is dragged from the MacBook Pro screen (font OK) to the second monitor, the font for the nodes will increase incorrectly. This problem occurs for MacBook Pro with MacOS X 10.9, but not MacOS X with 10.10, which suggests it might be OS version specific.

DocSavage commented 8 years ago

There are still errors after upgrading to El Capitan. Now I can't even see DAG. Image of errors in javascript console attached. This is with Mac Google Chrome 48.0.2564.97 (64-bit). Tested with Firefox (Dev Edition and Standard) and Safari as well -- no issues with those browsers, so it's just Google Chrome.

bad_dvid_console

neomorphic commented 8 years ago

This is because Chrome deprecated and then removed a function that the dagre-d3 code relies on to draw the connection lines. I am looking for a patch, but nothing is working so far.

neomorphic commented 8 years ago

Release 1.11.1 fixes this by updating the version of the dagre-d3 library.