Packages view doesn't filter correctly [message #245263] |
Tue, 03 July 2007 18:03  |
Eclipse User |
|
|
|
Originally posted by: groups.timkoop.com
I just upgraded to Eclipse Web Tools Platform 2.0 (Eclipse 3.3.0) from
WTP 1.5.
Now I notice that the Packages view doesn't always filter correctly.
When I first start Eclipse it works fine, but when I start playing
around with the filters, it becomes incorrect, then finally doesn't
filter anything.
Does anyone else have this same problem?
--
Tim Koop
|
|
|
|
Re: Packages view doesn't filter correctly [message #245288 is a reply to message #245276] |
Wed, 04 July 2007 13:10  |
Eclipse User |
|
|
|
Originally posted by: groups.timkoop.com
Yes I mean the Packages view, and I just found a procedure to duplicate it.
Steps to duplicate:
1. Run Eclipse WTP 2.0 (or perhaps just Eclipse SDK 3.3.0) with a brand
new workspace
2. From the Welcome screen, go to the workbench.
3. Create a new Java Project called "Test Project". Take all the defaults.
The new project will be displayed in the Package Explorer view on the left.
4. Create a new package called one.two.three.four
5. Switch to Java Browsing perspective.
One empty package will be displayed in the Packages view.
6. In the Packages view drop down menu, select "Filters..."
7. In the "Java Element Filters" window that just came up, check "Empty
packages", then uncheck "Empty parent packages", then uncheck "Folder
containg no packages" then OK.
Now no packages appear because empty packages are filtered out.
8. In the Packages view drop down menu, select "1 Empty parent packages"
to make it checked.
9. In the Packages view drop down menu, select "3 Folder containing no
packages" to make it checked.
At this point all four empty packages are shown, even though they are
not supposed to be, since everything is supposed to be filtered out.
If you want, you can go to "Filters..." and see that they are all
checked in there. (then cancel)
Then to be sure, try this:
In the drop down menu, select "1 Empty parent packages" to make it
unchecked.
In the drop down menu, select "2 Empty packages" to make it unchecked.
In the drop down menu, select "3 Folder containing no packages" to make
it unchecked.
At this point nothing is supposed to be filtered and it still displays
everything. This is correct behaviour at this point.
In the drop down menu, select "1 Empty parent packages" to make it checked.
(The list of packages drops to only "one.two.three.four")
In the drop down menu, select "2 Empty packages" to make it checked.
(All packages disappear)
In the drop down menu, select "3 Folder containing no packages" to make
it checked.
(All four packages show again)
Now everything is supposed to be filtered but all empty packages still
appear.
Now if you exit Eclipse and start it again with the same workspace, the
packages will be filtered correctly, with no packages visible.
If someone can convince me that this is actually expected behaviour,
I'll concede, but it doesn't look like it from here.
Comments anyone?
--
Tim Koop
Daniel Megert wrote:
> Tim Koop wrote:
>
>> I just upgraded to Eclipse Web Tools Platform 2.0 (Eclipse 3.3.0) from
>> WTP 1.5.
>>
>> Now I notice that the Packages view doesn't always filter correctly.
>
> Is it really the Packages view or did you mean Package Explorer? I've
> not seen this problem so far.
>
> Dani
>
>> When I first start Eclipse it works fine, but when I start playing
>> around with the filters, it becomes incorrect, then finally doesn't
>> filter anything.
>>
>> Does anyone else have this same problem?
>>
>> --
>> Tim Koop
|
|
|
Powered by
FUDForum. Page generated in 0.03930 seconds