Bug 486575 - Editor completion proposals do not expand vertical space correctly
Summary: Editor completion proposals do not expand vertical space correctly
Status: NEW
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: All Windows 7
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Victor Rubezhny CLA
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2016-01-26 09:54 EST by Christian Pontesegger CLA
Modified: 2016-01-28 03:30 EST (History)
2 users (show)

See Also:


Attachments
truncated completion (3.58 KB, image/png)
2016-01-26 09:54 EST, Christian Pontesegger CLA
no flags Details
working completion (3.30 KB, image/png)
2016-01-26 09:54 EST, Christian Pontesegger CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Pontesegger CLA 2016-01-26 09:54:13 EST
Created attachment 259391 [details]
truncated completion

I added completion proposals which seem to get truncated in some cases. By truncation I mean parts of the text get replaced by '...'

This happens for entries not providing an image when there exist other entries that do provide an image. If all entries provide an image, the full text of the proposals is visible.

See attached images for examples.
Comment 1 Christian Pontesegger CLA 2016-01-26 09:54:36 EST
Created attachment 259392 [details]
working completion
Comment 2 Christian Pontesegger CLA 2016-01-26 09:56:34 EST
when entering a 2nd character that fits both proposals the truncated rendering is replaced by the full text
Comment 3 Dani Megert CLA 2016-01-26 10:56:34 EST
The pictures are from a JSP editor. Can you reproduce this in the Java editor using http://download.eclipse.org/eclipse/downloads/drops4/I20160126-0800/ ?
Comment 4 Christian Pontesegger CLA 2016-01-26 17:49:00 EST
(In reply to Dani Megert from comment #3)
> The pictures are from a JSP editor.

Taken from the JSDT editor.

> Can you reproduce this in the Java editor

Would make some effort to move these proposals to another editor. Is the rendering of completion proposals really done differently for each editor?
Comment 5 Dani Megert CLA 2016-01-27 04:49:08 EST
(In reply to Christian Pontesegger from comment #4)
> (In reply to Dani Megert from comment #3)
> > The pictures are from a JSP editor.
> 
> Taken from the JSDT editor.
> 
> > Can you reproduce this in the Java editor
> 
> Would make some effort to move these proposals to another editor. Is the
> rendering of completion proposals really done differently for each editor?

I don't know what the JSDT editor is doing. They should be able to investigate this, or move back with a test case based on pure Eclipse SDK.
Comment 6 Christian Pontesegger CLA 2016-01-28 03:30:16 EST
Tested this today on linux, where I do not see this behavior. Currently only Windows 7 is affected