| Summary: | Variable view: Filter buttons, wrong behaviour | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Martin Aeschlimann <martinae> |
| Component: | Debug | Assignee: | Darin Wright <darin.eclipse> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Darin_Swanson, jared_burns |
| Version: | 2.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | |||
|
Description
Martin Aeschlimann
The second button filters final fields not just fields. Is this the behavior you are seeing? What I meant: to see final static fields, you have to press both the final fields & the static button. I think, pressing the static button alone should be enough to see all statics. btw, when stopping at a breakpoint, going to the variable list, it initially does not seem to honor the pressed buttons (statics shown even button not pressed.(enabling / disabling the button fixed this) Static fields require the "Show static" button to be selected. Final fields require the "Show finals" button to be selected. Static final fields require both buttons to be selected. This is the correct behavior. Move to close. I agree, this is the correct behavior. Marking as wont fix. Not so fast. We changed the behaviour from filter to show. Show means, when enabled something is shown. If I say show fields, I want to see fields. Btw, the old behaviour was consistent. Believe me, there were some thoughts behind it. I think, we should change back from show to hide. I guess I am confused, because I claim we are doing what you want: * the tool/tip action is "Show Static Fields" * when enabled/pressed, static fields are shown Is the problem that finals are not shown if they are static unless both buttons are pressed? Yes, show fields should show all fields, also the static ones. oops, sorry, i am confusing again: Yes, show final fields should show all final fields, also the final static ones. The current toggle button behavior in the JDT Outliner is wrong. If you have "Show Statics" selected and "Show Fields" deselected, Static fields are shown. If the user turns off "Show Fields" we should not show fields. The correct logic is: - No fields should be shown if the "Show Fields" toggle is off. - No statics should be shown if the "Show Statics" toggle is off. Opened Bug 15946 in JDT UI. |