bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/24651] JMenu layout problem with nested menus


From: hendrich at informatik dot uni-hamburg dot de
Subject: [Bug swing/24651] JMenu layout problem with nested menus
Date: 8 Nov 2005 19:03:55 -0000


------- Comment #18 from hendrich at informatik dot uni-hamburg dot de  
2005-11-08 19:03 -------
Subject: Re:  JMenu layout problem with nested menus

Hello Roman, hello Lillian,

my personal breaking point is reached now... I'll stop testing cvs
for a while. (I have a few Robot-based tests lying around, but they
are useless while classpath reports wrong window positions. I can
submit them later.)


> I fixed this in the morning.

Well, but your fix seems to incur a *MAJOR* performance regression.
Showing the popup menu on my imageviewer application was
almost instantaneous with classpath+jamvm on last week's version,
but takes about five seconds now. Unuseable. (Admittedly, the
PR24651b testcase is fast enough, but in more complex app things
grind to a halt). I have no idea why showing the menu should be so slow...

... unless showing the menu involves an invalidate() somehow,
because my app has the imagecanvas inside a JScrollPane inside
a JSplitPane (with a slow JTree on the other split pane), and this
combination might be the reason for the slowdown.
Also, changing the zoom-factor of the currently displayed image took
a few milliseconds in last week's version, but requires several seconds 
now, too.

This makes about ten bug reports with testcases, for menu and
popup menu alone, and the result is worse than in 0.18. Any ideas?

- Norman


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24651





reply via email to

[Prev in Thread] Current Thread [Next in Thread]