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 125330 - NB 6.0 slow and broken
Summary: NB 6.0 slow and broken
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on: 90907 125663 125664 125667 125669 125670
Blocks:
  Show dependency tree
 
Reported: 2008-01-16 00:28 UTC by clheiny
Modified: 2008-07-22 15:07 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description clheiny 2008-01-16 00:29:00 UTC
AAAAAAAAGGGGGGGGGggggggggggggghhhhhhhhhhhhhhhH!

I've been trying to use NB 6.0 for more than a month, and I'm giving up.  It's back to NB 5.5 for me.  Here's the issues:

* slooooooooooooooooooow.  Overall performance and responsiveness is so bad it makes using NB 6.0 unbearably painful.

* autoformatting of comments inserts extraneous blank lines.  Trying to type a one liner like
     /** This method does nothing right now.
      */
results in
    /** This method does nothing right now.
     *
     */
which might be your preferred style, but it's not mine, and if there's a way to turn it off, I didn't find it.

* autocompletion is so slow it's useless.  Slow autocomplete was a problem in 5.5, but now it's pretty much useless.  I
 just keep typing now.  This wouldn't a big deal, except sometime autocomplete kicks in and changes what I typed into
something else.  Which means I can't just think about what I'm about to type, I need to keep an eye on what was just
typed to make sure it doesn't change out from under me.

* all my templates with all the license and copyright info in them disappeared when I switched from NB 5.5 to 6.0.

* new file tabs are scattered randomly hither and yon.  The old way of at least having them in the order you opened the
file was a lot better.

* moving a tab takes forever, as the damn slow repaint draws (ever so slowly) orange outline after orange outline after
orange outline before finally putting the tab where you want it.  Maybe.

* picking a Swing component from the palette is both slow and unreliable.  You click on a component.  Many seconds
later, you might be able to try to drop it onto your container.  Or maybe not.

* useful stuff like auto generation of property change support seems to have disappeared with no readily discoverable
way to do the same thing.

* who decided I wanted to change my syntax coloring, anyway?  It's a nit, but I'd like a say in the matter.

* accelerator key meaning changed dramatically from 5.5 to 6.0.  It took me a while to figure out that what used to be
"fix imports" is now "uglify my code".  But that's not as bad as the fact that the accelerators only work sometimes. 
Will it actually fix my imports or launch the main program in the debugger?  Or do I have to use some other method? 
Suspense is good sometimes, but not when you're trying to code.

Oh well, that's enough for now.  I'll try 6.1 when it comes out.
Comment 1 Peter Pis 2008-01-17 09:02:16 UTC
Reassigning to "editor" for evaluation.
Comment 2 Vitezslav Stejskal 2008-01-17 11:24:49 UTC
Hi, I'm really sorry to hear that Nb6 works so bad for you. As a matter of fact I've been using Nb6 builds throughout
the whole release cycle for my everyday development and it worked quite nicely. Of course there have been bugs and some
things are far from perfect, but my overall experience was definitely positive.

Anyway, this is a long report complaining about things from different areas and I'm going to split it up and file
separate issues for various modules. I'm also going to put you on CC list, because your description of the problems is
sometimes lacking important details that module developers might need to know. Please respond to them, if they ask for
more information and be patient as sometimes it takes a lot of asking to track an issue down.

For the start, could you please describe your environment like JDK version, OS, CPU, memory, ... Do you use any special
JDK switches for running Netbeans? What project types do you typically work with? Try to describe what exactly and when
it is slow or unresponsive. Ideally, we would need some full thread dumps taken when the IDE does not respond, please
see http://wiki.netbeans.info/wiki/view/GenerateThreadDump.

Thanks for your help!
Comment 3 clheiny 2008-01-17 16:42:27 UTC
Thanks for the quick response.  Breaking up the bug makes sense, or referring to any existing (and possibly fixed) bugs
for relevant items is OK, too.  I'll be happy to provide whatever info is required to resolve these issues.

System is a Lenovo/IBM Thinkpad Z61p, 2GB RAM, Core 2 Duo CPU, ATI FireGL graphics, running Fedora 8 now.  Some info
dumps are appended below.

I've done no customization of the command line options.  Whatever ships with the tarball is what I'm using.

Project mix is a collection of Swing GUI desktop applications and class libraries.  And a C++ project that I imported
just to be able to reference the code (but NB 6.0 was slow even before that).  Maybe 12 to 18 projects total.

When the opportunity presents itself (probably not today), I'll switch back to NB 6.0 and collect some thread dumps.

[cheiny@archaeopteryx ~]$ uname -a
Linux archaeopteryx 2.6.23.9-85.fc8 #1 SMP Fri Dec 7 15:49:59 EST 2007 i686 i686 i386 GNU/Linux

[cheiny@archaeopteryx ~]$ java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Server VM (build 1.6.0_03-b05, mixed mode)

[cheiny@archaeopteryx ~]$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
stepping        : 6
cpu MHz         : 1000.000
cache size      : 4096 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2
ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips        : 3993.07
clflush size    : 64

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
stepping        : 6
cpu MHz         : 1000.000
cache size      : 4096 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2
ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips        : 3988.75
clflush size    : 64

[cheiny@archaeopteryx ~]$

Comment 4 Vitezslav Stejskal 2008-01-21 14:02:03 UTC
Re. autoformatting of comments inserts extraneous blank lines - issue #125663
Re. autocompletion is so slow it's useless - issue #125670
Re. file templates gone - issue #125669
Re. editor tabs and their d&d - issue #125664
Re. picking a Swing component from the palette - issue #125667
Re. useful stuff like auto generation of property change support - issue #90907

Re. who decided I wanted to change my syntax coloring, anyway? - We, who actively develop Netbeans, decided that after
long thinking. The old themes are available in Tools-Options -> Fonts & Colors, profile 'Netbeans 5.5'.

Re. changed keybindings - you can still keep using the old keybindings, just change the profile to 'Netbeans 5.5' in
Tools-Options -> Keymap.
Comment 5 clheiny 2008-01-21 16:58:28 UTC
Re: "we, who actively develop Netbeans..." ouch!  I deserve that for being snarky about it in the first place.  Sorry 
about that, and thank you very much for the options pointers.

Comment 6 Jan Becicka 2008-07-22 15:07:19 UTC
All subtasks fixed. Marking as fixed.