Bug 95833 - Code assist prompt redraw is flickering while typing new letters
Summary: Code assist prompt redraw is flickering while typing new letters
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2005-05-18 15:22 EDT by Olivier Thomann CLA
Modified: 2007-06-22 10:04 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2005-05-18 15:22:56 EDT
Using 0518-0010, the code assist window is flickering when you type letters to
reduce the number of proposals.
It can be quite annoying when reducing from a lot of proposals to just a few.
Comment 1 Dani Megert CLA 2005-05-19 04:50:53 EDT
I cannot reproduce using N20050519-0010.
- do you see this starting N20050518-0010 or even before?
- can you provide steps where you see it?
Comment 2 Olivier Thomann CLA 2005-05-19 10:13:04 EDT
Reopen.
Don't you get a very bad redraw of the list of proposals when you type letters
to reduce the number of proposals?

Try to code assist after a '.' where you expect a lot of proposals. Then type a
letter that would reduce the list to 1 or 2 items. It looks like the list is
completely clear and then filled with the 2 new entries.
This used to be smoother in the past.
Comment 3 Dani Megert CLA 2005-05-19 10:20:40 EDT
>Don't you get a very bad redraw of the list of proposals when you type letters
>to reduce the number of proposals?
Of course I do, that's why I closed it as worksforme ;-)

>Try to code assist after a '.' where you expect a lot of proposals.
Can you give a concrete example where you see this. I just tried with .a<code
assist> inside a test where there are many assert* and it looks good.

Tom, how is it for you under Linux-GTK?
Comment 4 Olivier Thomann CLA 2005-05-19 10:29:35 EDT
For example, go to:
org.eclipse.jdt.core.tests.dom.ASTConverter15Test.test0180

On the line:
ITypeBinding typeBinding = wildcardType.<code assist>resolveBinding();

and type 'i'. I cannot say I like the refresh of the list. It is up to you to
close it, but something this can be really ugly according to the number of
proposals.
Comment 5 Tom Hofmann CLA 2005-05-19 10:53:52 EDT
It's smoother than ever under GTK because we don't redraw on/off any more, but
simply remove the filtered proposals.
Comment 6 Dani Megert CLA 2005-05-20 04:52:29 EDT
>org.eclipse.jdt.core.tests.dom.ASTConverter15Test.test0180
I have almost the whole SDK in my workspace and you managed to provide an
example that's outside ;-). I'd be happy to get one that's in a non-test plug-in.
Comment 7 Olivier Thomann CLA 2005-05-20 10:18:44 EDT
This was simply an example. It is not difficult to reproduce.
Code assist at a location where you expect lot of proposals and then type a few
letter to reduce the number of proposals.
It looks that you don't want to change anything there anyway. So why an example
would be useful?
Comment 8 Dani Megert CLA 2007-06-22 09:59:22 EDT
Get rid of deprecated state.
Comment 9 Dani Megert CLA 2007-06-22 10:04:36 EDT
.