Oct 7th, 2010, 09:06 AM
Odd behavior with hierarchical package presentation
I am using STS 2.3.2 64-bit (on Windows 7 Professional 64-bit). When toggling between Flat and Hierarchical package presentation under Project Explorer, the packages display as expected in Flat. However, when switched to the Hierarchical presentation view, the package tree appears as expected, but there is also an empty, unnamed element in the package tree. It is really odd. At first, I thought that corresponded to the Default package, but when I created a class that was set to the Default package, the Default package appeared in the package tree with an unnamed element above it. 2 screen-shots are attached, explaining my problem, with the relevant part outlined in the image.
The issue is no show-stopper for me, but rather an annoyance that I would like to get rid of. I hope someone can provide a fix for this.
Oct 8th, 2010, 10:41 AM
Hmmm....trying to reproduce this with my STS, but can't. Perhaps there is another setting that you have selected and in conjunction with that, you are seeing the odd UI. Or maybe it's something about the project you are using.
Can you attach a simple project that reproduces this bug? Also, could you export your workspace preferences? File -> Export -> General -> Preferences.
With this, I should be able to reproduce your setup. However, I am on mac, and using 2.5.0.M3, which could make a difference. Are you using the Eclipse 3.5 based STS, or 3.6?