Bug 46590 - Resizing the Preferences dialog is really slow
Summary: Resizing the Preferences dialog is really slow
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Billy Biggs CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2003-11-13 11:27 EST by Matt Lavin CLA
Modified: 2005-04-21 11:22 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Lavin CLA 2003-11-13 11:27:07 EST
When the preferences dialog is resized it takes a too long to re-layout the
contents of the page.  

I know that this a vauge bug report, and I appologize, but the repainting,
layout on Eclipse under GTK is really bad and at least one bug needs to address
that.

This is not a computer speed issue since every other app on the machine resizes
quickly.
Comment 1 Debbie Wilson CLA 2003-11-17 15:10:52 EST
Which build of 3.0 are you using?
Comment 2 Matt Lavin CLA 2003-11-17 15:16:16 EST
I'm using 3.0M4
Comment 3 Grant Gayed CLA 2004-02-13 12:17:20 EST
This performs fine for me in the 3.0M7 candidate; the only difference I notice 
from windows is that the widgets are a little more jumpy (ie.- probably more 
resize event coalescing happening on gtk).  Are there any steps that lead to it 
becoming slow to resize (eg.- showing some particular page(s))?

Also, there have been performance enhancements made since 3.0M4, so please try 
3.0M7 on your machine and report here if it still seems slow.  If it does seem 
slow then it would also be helpful (if possible) if you could provide some 
profiling information.  If you don't have a profiler available then we can use 
one here, though its results may not be as helpful since the redrawing seems 
fine.
Comment 4 Tod Creasey CLA 2005-03-07 11:57:18 EST
Adding my name to the cc list as we are now tracking performance issues more
closely. Please remove the performance keyword if this is not a performance bug.
Comment 5 Mike Wilson CLA 2005-04-21 10:17:56 EDT
In its current form, this PR is not very useful. Need to identify if there is still work to be done here, and 
if so, is it for the UI team (i.e. in the preference dialog code) or the SWT team.
Comment 6 Tod Creasey CLA 2005-04-21 10:40:34 EDT
This is still an issue on my laptop on GTK.

STEPS
1) Open the preferences dialog to the Java Formatter page
2) Resize - there is a noticable lag in painting
Comment 7 Billy Biggs CLA 2005-04-21 11:22:41 EDT
Tod, the behaviour you are seeing is because you are using GTK+ 2.2.4 (RHEL3). 
GTK+ deferrs resizing to the idle loop, and so the window will not update until
you stop moving your mouse.  This is reproducable also using gedit.  Note that
the resizing responsiveness changes in GTK+ version 2.4 and higher.  The code
formatting preference page resizes smoothly for me under GTK+ 2.4.13.

Given that this bug report is rather abstract, and that there are behaviour
differences in GTK+ version that can account for the described behaviour, I am
going to close this as WONTFIX.  I do believe that resizing performance is
something worth measuring, but it is better done first by getting some numbers
from the UI performance tests.