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

Bug 473767

Summary: The content assist popup needs to be bigger
Product: [Modeling] Sirius Reporter: Stephane Begaudeau <stephane.begaudeau>
Component: CoreAssignee: Project inbox <sirius.core-inbox>
Status: CLOSED FIXED QA Contact: Jessy Mallet <jessy.mallet>
Severity: normal    
Priority: P3 CC: jessy.mallet, maxime.porhel, pierre-charles.david
Version: 3.0.0Keywords: triaged
Target Milestone: 3.1.0   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/52724
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=afe9f8bd54d7c6563389597d1c05fa9e4c2a51e2
Whiteboard:
Attachments:
Description Flags
Tooltips behavior with limited screen real estate none

Description Stephane Begaudeau CLA 2015-07-28 10:36:08 EDT
AQL users will be able to provide a better documentation for their Java services using dedicated annotations. Unfortunately this documentation is barely readable in Sirius while creating an odesign because the content assist popup is too small.

While it could be greatly improved by breaking tons of things in your Properties views by changing the field used to write expression from a SWT Text widget to a JFace TextViewer and thus switching from the JFace field assist API to the JFace text assist API, it would be easier to just change the size of the content assist popup from 300x100 to 500x300 in org.eclipse.sirius.editor.tools.api.assist.TypeContentProposalProvider.

See the following links for additional information:
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=473073
- https://bugs.eclipse.org/bugs/attachment.cgi?id=255477
Comment 1 Eclipse Genie CLA 2015-07-28 10:39:13 EDT
New Gerrit change created: https://git.eclipse.org/r/52724
Comment 2 Pierre-Charles David CLA 2015-08-05 03:30:52 EDT
The behavior will need to be checked on non-retina displays, I'm not sure how this behaves if there is not enough screen space to show all the tooltips. Are they clipped? or moved from their normal position to be completely visible?
Comment 3 Pierre-Charles David CLA 2015-08-05 03:39:05 EDT
Created attachment 255635 [details]
Tooltips behavior with limited screen real estate

See the screenshot for the behavior on a (relatively) low-resolution display, with completion triggered from a screen position on the far lower right of the screen. At least under Linux, SWT behaves correctly and moves the tooltips somewhere where they can be seen fully and without obstructing the expression being completer.
Comment 5 Pierre-Charles David CLA 2015-08-05 03:41:49 EDT
Merged as afe9f8bd54d7c6563389597d1c05fa9e4c2a51e2. Thanks Stéphane.
Comment 6 Jessy Mallet CLA 2015-09-29 03:56:13 EDT
Validated with Sirius 3.1.0.201509241504
Comment 7 Pierre-Charles David CLA 2015-10-16 09:12:55 EDT
Available in Sirius 3.1.0.