jamesoliverband / umlet

Automatically exported from code.google.com/p/umlet
0 stars 0 forks source link

Elements not drawn correctly #211

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open http://umletino.com/
2. Have a look on the Sidebar

What is the expected output? What do you see instead?
Expected: I see the class templates
Instead: Everything except for a few elements with dashed borders is not drawn. 
See screenshot. If I insert the complex class template into the drawing, it 
also does not get drawn.

What version of the product are you using? On what operating system?
Version 13.1, Fedora 20, Firefox 33.0

Original issue reported on code.google.com by andreas....@googlemail.com on 9 Nov 2014 at 9:51

Attachments:

GoogleCodeExporter commented 9 years ago
Seems like you're really unlucky :(
I've tried it with Windows7 and Ubuntu12.04 and both work.

If you have the time, perhaps you can go to umletino.com and before clicking on 
"Start UMLetino NOW!" enable the web-console (ctrl+shift+K).
Then start UMLetino and check if there is an error message shown in the console.

If you see an error message, please post it here to help us finding the bug.
(perhaps it has to do with you driver-setup which is the reason for Issue 177)

Thanks!

Original comment by AFDiaX on 9 Nov 2014 at 10:24

GoogleCodeExporter commented 9 years ago
No errors are shown in the console.

I have the same problem on my notebook with Fedora 20, Firefox 33 and Intel 
graphics, so the graphics driver is not responsible for this problem.

The application works correctly in Google Chrome 38, so it seems to be a 
problem with Firefox on Linux.

Original comment by andreas....@googlemail.com on 9 Nov 2014 at 10:34

GoogleCodeExporter commented 9 years ago
Thanks, I guess I have found the issue.

Firefox needs its own setting for dashed lines (mozDash) and solid lines work 
if it's set to null on Windows and Ubuntu12.04

It seems like it doesn't work on your system though, therefore I will set it to 
mozDash=[0] for solid lines, as this setting also work on Windows and hopefully 
will also work on your setup (because dashed lines seem to work and they set it 
to mozDash=[0.5] or so)

Thanks again for your help!
fixed in r1284

Original comment by AFDiaX on 9 Nov 2014 at 11:01

GoogleCodeExporter commented 9 years ago

Original comment by AFDiaX on 9 Nov 2014 at 11:01

GoogleCodeExporter commented 9 years ago
Finally I can reproduce the issue on Ubuntu 14.04 with FF33

It seems that FF33+ doesn't use ctx.mozDash anymore, but instead use 
ctx.setLineDash.
The problem is that FF33+ doesn't interpret ctx.setLineDash([0]) as solid line 
(like every other browser)
Therefore solid lines are drawn using ctx.setLineDash([]) instead which works 
on every browser (as far as I have checked)

fixed in r1285

(r1284 has been reverted to let ctx.mozDash work for older FF versions as 
expected)

Original comment by AFDiaX on 9 Nov 2014 at 12:19

GoogleCodeExporter commented 9 years ago
EDIT: the issue with ctx.setLineDash([0]) only occurs on Linux; Windows FF33+ 
can parse this as solid line

Original comment by AFDiaX on 9 Nov 2014 at 12:20