This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 43061

Summary: GTK L&F: Drag&drop of windows is terribly slow
Product: platform Reporter: Antonin Nebuzelsky <anebuzelsky>
Component: Window SystemAssignee: _ tboudreau <tboudreau>
Status: CLOSED WORKSFORME    
Severity: blocker CC: issues
Priority: P2 Keywords: GTK, PERFORMANCE
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 42937    

Description Antonin Nebuzelsky 2004-05-11 10:08:17 UTC
Dragging a window around in the IDE is terribly
slow with GTK L&F. It makes this feature almost
unusable.

This is a regression in comparison to Metal L&F.
Dragging with Metal is very responsive.
Comment 1 _ tboudreau 2004-05-11 12:29:16 UTC
Is drag and drop slow, or is the visual feedback slow?  There is a problem with this on 
Aqua too, due to hardware double buffering.
Comment 2 Antonin Nebuzelsky 2004-05-11 12:53:44 UTC
The visual feedback. When you drag and move the window red areas
appear and disappear with a huge latency.

Any idea why the double buffering causes such a slowdown?
Comment 3 _ tboudreau 2004-05-11 16:47:05 UTC
It means that there's a hardware layer between when you say "paint this to the screen" and 
when it actually gets painted, and that hardware layer can choose to coalesce paints, etc., 
so you simply lose some repaints.
Comment 4 Antonin Nebuzelsky 2004-05-12 10:49:05 UTC
I think it's more complicated in this case. Sometimes you can see the
red polygon painted in sequence in the different places where you
moved the mouse, so these paints don't seem to be coalesced.
Comment 5 _ tboudreau 2004-06-26 20:15:01 UTC
With the more recent GTK performance improvements, I can't find any
problem with the performance of drag and drop.
Comment 6 Antonin Nebuzelsky 2004-06-29 14:47:41 UTC
Yes, DnD with GTK L&F is now quite reasonable.