| Summary: | Diagram rendering issues on Neon | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Laurent Redor <laurent.redor> | ||||||||||
| Component: | Diagram | Assignee: | Project Inbox <sirius.diagram-inbox> | ||||||||||
| Status: | CLOSED WORKSFORME | QA Contact: | Laurent Redor <laurent.redor> | ||||||||||
| Severity: | normal | ||||||||||||
| Priority: | P3 | CC: | laurent.fasani, maxime.porhel, pierre-charles.david, sravankumarl | ||||||||||
| Version: | 3.1.0 | Keywords: | triaged | ||||||||||
| Target Milestone: | 4.0.0 | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows 10 | ||||||||||||
| Whiteboard: | |||||||||||||
| Bug Depends on: | 494035 | ||||||||||||
| Bug Blocks: | |||||||||||||
| Attachments: |
|
||||||||||||
Created attachment 261888 [details]
diagramWithAndWithoutAutoScale.png
Created attachment 261889 [details]
screenshotWithAndWithoutAutoSize.png
Created attachment 261923 [details]
Screenshot under Linux (Ubuntu 16.04) with 3200×1800 resolution
The problem does not seem to happen under Linux. Attached is a screenshot of the sample project made with the Neon RC1 Modeling package, on the following system:
- Ubuntu 16.04, under Gnome
- Sreen resolution: 3200×1800
- Font scaling: 120% (org.gnome.desktop.interface.text-scaling-factor)
- java.runtime.version=1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14
- org.eclipse.swt.internal.deviceZoom=100
- org.eclipse.swt.internal.gtk.version=3.18.9
To complete comment 1, more information of configuration: * Windows 10 * Resolution : 3840x2160 * Font size modification : 250% (recommanded) * org.eclipse.swt.internal.deviceZoom=200 * java.runtime.version=1.8.0_77-b03 * org.eclipse.draw2d.sdk (3.10.100.201605020204) "Draw2d" * org.eclipse.gmf.runtime.sdk (1.10.0.201605032009) "Graphical Modeling Framework Runtime SDK" (In reply to Pierre-Charles David from comment #3) > Created attachment 261923 [details] > Screenshot under Linux (Ubuntu 16.04) with 3200×1800 resolution > > The problem does not seem to happen under Linux. Attached is a screenshot of > the sample project made with the Neon RC1 Modeling package, on the following > system: > - Ubuntu 16.04, under Gnome > - Sreen resolution: 3200×1800 > - Font scaling: 120% (org.gnome.desktop.interface.text-scaling-factor) > - java.runtime.version=1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14 > - org.eclipse.swt.internal.deviceZoom=100 > - org.eclipse.swt.internal.gtk.version=3.18.9 Is it possible for you to try it on unity with a scaling factor of 2 Issue not reproduced with deviceZoom = 200 on MacOSX (In reply to Sravan Kumar Lakkimsetti from comment #5) > Is it possible for you to try it on unity with a scaling factor of 2 I try on a virtual box and I reproduce the problem with Ubuntu 15.10. The problem no longer exists since RC3 (since fix of bug 494035). OK with Sirius RC3 Available in Sirius 4.0.0. |
Created attachment 261887 [details] sampleProject.zip As explain in bugzilla 494035, there is rendering problem due to new SWT auto-scaling feature. This problem also exists in Sirius (as it is based on GMF). Example on an EcoreTools diagram with this OS Configuration: * Windows 10 * Resolution : 3840x2160 * Font size modification : 250% (recommanded) Attachments: * diagramWithAndWithoutAutoScale.png: Result of export as image of the sample diagram: ** On top, the diagram with auto-scale (standard configuration) ** On bottom, the diagram without auto-scale (argument -Dswt.enable.autoScale=false). * screenshotWithAndWithoutAutoSize.png: Screenshot of the editor itself in the same conditions as above. * sampleProject.zip: Contains the diagram used to reproduce the problem On Sirius side, with the "-Dswt.enable.autoScale=false", the result is worse, except for GMF Note background Color.