Bug 517346 - The open representation progress bar is not shown
Summary: The open representation progress bar is not shown
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 5.1.0   Edit
Assignee: Project inbox CLA
QA Contact: Julien Dupont CLA
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-05-29 04:12 EDT by Laurent Fasani CLA
Modified: 2017-11-08 03:37 EST (History)
3 users (show)

See Also:


Attachments
Sample project to reproduce the issue (6.88 KB, application/zip)
2017-08-22 03:05 EDT, Pierre-Charles David CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Fasani CLA 2017-05-29 04:12:53 EDT
scenario
1- open a sirius session with a representation
2- open the representation with contextual menu(or by double clicking)
->issue: the ProgressMonitorDialog is opened BUT the inner progress bar is never displayed

tip: opening multiple representations, with contextual menu, better points out the issue

Today the representation opening is relatively quick but, in next version, with the representation lazy loading, the representation resource will be loaded when opening the representation. The progress bar will, then, be more useful than ever.
Comment 1 Eclipse Genie CLA 2017-05-31 08:19:33 EDT
New Gerrit change created: https://git.eclipse.org/r/98311
Comment 3 Pierre-Charles David CLA 2017-08-22 03:05:50 EDT
Created attachment 269928 [details]
Sample project to reproduce the issue

Steps to reproduce:
1. Import the attached project and open it.
2. In the aird editor, select the 5 existing diagrams under the root semantic element, and right click > Open.

Before the patch, the cursor stays busy during the diagram's opening, and a "Progress" popup may appear after a while, but no progress bar is visible. After the patch, a proper progress monitor is visible and moves correctly after each editor opens.
Comment 4 Pierre-Charles David CLA 2017-08-22 03:07:27 EDT
Fixed by 8dbdc50237d03c09354ec0934778c2a1be86183f. Not sure we can create an automated test for this, so we'll leave it at that.
Comment 5 Pierre-Charles David CLA 2017-11-08 03:37:24 EST
Available in Sirius 5.1.0, see https://wiki.eclipse.org/Sirius/5.1.0.