Community
Participate
Working Groups
Build ID: I20080918-0100 Steps To Reproduce: 1. Go to plugins list in about dialog. 2. Try scrolling with mouse scroll wheel. 3. List becomes corrupted (see screenshot). More information: No problem with scrolling using scroll bar, arrow keys, or page-up and page-down.
(In reply to comment #0) > 3. List becomes corrupted (see screenshot). Matt, it seems you forgot to attach it or the bugzilla fairies ate it.
Created attachment 114351 [details] Screenshot of problem First upload attempt failed ... trying again.
Looks fine to me on Windows XP with I20080918-0100 running on Sun 1.5.0_16-b02.
Matt, are you still seeing this? I can't reproduce it on I20081127-0900 on XP. And by the way, are you using a 32-bit build or a 64-bit build? I'm on a 32-bit machine here myself.
Yes I'm still seeing it. I just reproduced it in I20081202-1812. I'm running on 32-bit. I'm not sure if this is localized to my machine. If no one else can reproduce it, I'd assume it's just me.
(In reply to comment #5) > I'm not sure if this is localized to my machine. If no one else can reproduce > it, I'd assume it's just me. Well, Remy Suen doesn't really count as "no one else". :) I'd suggest trying reproduce it with pure SWT code. How about this main method? The image is a little big but maybe it doesn't matter if there's an image or not as you have artefacts on your text to according to your screenshot. public static void main(String[] args) { Display display = new Display(); String[] titles = { "Information", "Error", "Question", "Warning" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ String[] questions = { "who?", "what?", "where?", "when?", "why?" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ Shell shell = new Shell(display); shell.setLayout(new GridLayout()); Table table = new Table(shell, SWT.MULTI | SWT.BORDER | SWT.FULL_SELECTION); GridData data = new GridData(SWT.FILL, SWT.FILL, true, true); data.heightHint = 200; table.setLayoutData(data); table.setLinesVisible(true); table.setHeaderVisible(true); for (int i = 0; i < titles.length; i++) { TableColumn column = new TableColumn(table, SWT.NONE); column.setText(titles[i]); } int count = 128; for (int i = 0; i < count; i++) { TableItem item = new TableItem(table, SWT.NONE); item.setImage(0, display.getSystemImage(SWT.ICON_INFORMATION)); item.setText(0, "some info"); //$NON-NLS-1$ item.setText(1, "error #" + i); //$NON-NLS-1$ item.setText(2, questions[i % questions.length]); item.setText(3, "look out!"); //$NON-NLS-1$ } for (int i = 0; i < titles.length; i++) { table.getColumn(i).pack(); } shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
Thanks for the sample code Remy - I gave it a try. I do continue to get the artifacts. Removing the images did not make the problem go away either.
(In reply to comment #7) > Thanks for the sample code Remy - I gave it a try. I do continue to get the > artifacts. Removing the images did not make the problem go away either. Well, it's time to bother your other SWT friends down the hallway then I guess. :)
I can't duplicate it either. The About dialog got a new face recently, but if you were seeing a problem with the snippet Remi attached then its not the dialog, but something with SWT's painting? CCing Susan as the person who wrote the new About dialog.
I'm on a new box now, and I no longer have that problem. I do believe it was an issue with SWT, however I do not know what made my old machine have difficulty rendering, and (so far) no one else's.
> CCing Susan as the person who wrote the new About dialog. fyi..The problem was first observed on the old about dialog. The new code hosts the same table in a tabfolder vs. its own dialog, but that's the only substantive change. I assume the SWT snippet will be more helpful in tracking this down.
No Idea. Works for me.
This is a really old problem that I know happens but nobody here can make it happen (hence, nothing to debug). *** This bug has been marked as a duplicate of bug 137916 ***