Summary: | two types of 'remove' for TODO task tags | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | David Williams <david_williams> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | minor | ||
Priority: | P3 | CC: | daniel_megert, jerome_lanneluc, thatnitind |
Version: | 3.1 | ||
Target Milestone: | 3.2 M5 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
David Williams
2006-01-13 01:09:30 EST
JDT Core should call the following code when creating a Task Tag marker: marker.setAttribute(IMarker.USER_EDITABLE, false); This would also fix the the Tasks view where people can set the completion state and delete the Task Tag markers. Interestingly, UI keeps asking us to make it read-only or not... ? Ignore my previous comment. The regression code introduced by some code reorg to optimize array creations (my fault). JAVA_TASK_MARKER_ATTRIBUTE_NAMES did not set USER_EDITABLE but ARGUMENTS instead. Fixed Jerome - can you pls add a regression test ? Backported to 3.1 maintenance stream (3.1.3?) since 3.1 got affected as well. If you didn't introduce the change after R3.1 (i.e. in 3.1.1 or 3.1.2) then I'd vote against changing this now. To clarify, the bug got introduced late in 3.1 cycle when working on performance. It was never intended to work the way it presently does. Note: the task view is equally broken. Now I understand to fully address this issue, the ruler needs to be upgraded as well. Dani - would you consider fixing it in 3.1 maintenance as well ? If not, only the task view scenario will be improved with this fix. Ah - since it got introduced/changed late in 3.1 I also vote for this fix to be backported. Changing the marker ruler actions however is too risky for me to backport into 3.1 maintenance stream and the bug was in there forever and it is not a critical one. Added regression test BasicBuildTests#testTag3() Verified for 3.2 M5 using build I20060214-0010 |