Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 519286

Summary: Missing scrollbar in dialog
Product: [Modeling] Sirius Reporter: Melanie Bats <melanie.bats>
Component: PropertiesAssignee: Pierre-Charles David <pierre-charles.david>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: julien.dupont, pierre-charles.david
Version: 5.0.0Keywords: triaged
Target Milestone: 5.1.0   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/103819
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c0f82b784766cf1fdf7896edcf367cb43f1f8702
Whiteboard: backport properties dialog ux
Attachments:
Description Flags
Sample project to reproduce the issue none

Description Melanie Bats CLA 2017-07-06 05:13:38 EDT
When a dialog contains many groups and widgets, at the openning, there is no vertical scrollbar allowing to access the unvisible elements. If a refresh is done for example by collapsing and re-expending a group, then the scrollbar appears.
Comment 1 Pierre-Charles David CLA 2017-08-29 04:26:23 EDT
Created attachment 270005 [details]
Sample project to reproduce the issue

Steps to reproduce:
1. Import the attached project.
2. Open the session and the single diagram inside.
3. Double-click on the green class on the diagram (the only element on it): a very tall dialog window should open. Unless you have a very high resolution, the dialog should be taller than your screen. If that's not the case, close the session, open the VSM and in the "Open Properties Dialog" double-click tool create additional copies of "GroupX" elements (don't forget to add them to the page).
4. Try to scroll inside the dialog to reveal the hidden parts: it does not work (KO).
5. Collapse one of the sections, and try again to scroll: still KO.
6. Expand the section you collapsed and try again to scroll: now it works.
Comment 2 Eclipse Genie CLA 2017-08-29 04:29:11 EDT
New Gerrit change created: https://git.eclipse.org/r/103819
Comment 3 Pierre-Charles David CLA 2017-08-29 04:30:23 EDT
(In reply to Eclipse Genie from comment #2)
> New Gerrit change created: https://git.eclipse.org/r/103819

This fixes the issue for dialog. @Mélanie, do you remember if you tried the "wizard" case too? It's not mentioned in the original report.
Comment 5 Pierre-Charles David CLA 2017-08-30 08:13:29 EDT
Fixed by c0f82b784766cf1fdf7896edcf367cb43f1f8702.
Comment 6 Pierre-Charles David CLA 2017-11-08 03:37:14 EST
Available in Sirius 5.1.0, see https://wiki.eclipse.org/Sirius/5.1.0.