Bug 416455 - [content assist] Content assist popup takes up half my screen
Summary: [content assist] Content assist popup takes up half my screen
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.4   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2013-09-03 12:20 EDT by Pawel Piech CLA
Modified: 2013-09-20 18:03 EDT (History)
2 users (show)

See Also:


Attachments
Screenshot. (459.01 KB, image/png)
2013-09-03 12:20 EDT, Pawel Piech CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Piech CLA 2013-09-03 12:20:23 EDT
Created attachment 235112 [details]
Screenshot.

Version: 4.4.0
Build id: I20130828-1800

The content assist popup takes up half my screen (at least it doesn't do a full maximize).  I see this in 3.9 so I don't think it's e4's fault and I don't see it in other editrs, i.e. just JDT.

Let me know if you'd like me to debug it, just tell me where to set a bp and what to look for.
Comment 1 Noopur Gupta CLA 2013-09-04 04:29:16 EDT
I could not reproduce it on Mac with the latest Eclipse. 
Can you provide a concrete example where it happens?

> I see this in 3.9 so I don't think it's e4's fault
Did you mean 3.8?

It could be that you had resized the popup earlier.
If you resize it once, it keeps that size.
So you can resize it to the desired size or try it on a new workspace.
Comment 2 Dani Megert CLA 2013-09-04 04:31:02 EDT
(In reply to Pawel Piech from comment #0)
> The content assist popup takes up half my screen (at least it doesn't do a
> full maximize).  I see this in 3.9 so I don't think it's e4's fault and I
> don't see it in other editrs, i.e. just JDT.

Did you change your monitor setup or use the same workspace on a different machine?

Does it happen in a fresh workspace? If so, can you provide steps?

 
> Let me know if you'd like me to debug it, just tell me where to set a bp and
> what to look for.

Yes, please. This would be in org.eclipse.jface.text.contentassist.CompletionProposalPopup line 621.
Comment 3 Dani Megert CLA 2013-09-18 03:37:33 EDT
Pawel, I cannot reproduce this. Please reopen if you have steps to reproduce this or more data after debugging. Thanks.
Comment 4 Pawel Piech CLA 2013-09-20 18:03:56 EDT
Hey Dani,
I finally got a minute spare minute to debug this.  I do use multiple monitors and switch my screen layouts a lot.  It seems that in one of these switches the popup got maximized and the size was persisted.  

The bug is not so severe though, because I can resize it down and it stays that way.  I actually didn't even realize that I could resize the popup because the icon doesn't change on the borders.  This happened to me more than once though, so I'll keep watching for what triggers the popup to maximize, (likely something to do with the retina display).