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 249742 - "Action Items" window shows all the comments that contains "pending"
Summary: "Action Items" window shows all the comments that contains "pending"
Status: REOPENED
Alias: None
Product: platform
Classification: Unclassified
Component: Action Items (show other bugs)
Version: 8.0.2
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Jan Peska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-12 09:26 UTC by csbubbles
Modified: 2015-03-04 16:48 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description csbubbles 2015-01-12 09:26:41 UTC
Write a comment for a method (or inline comment in a method's body) that would include the "pending" word, e.g.:

/**
 * Kills all the task in the pending state.
 */

The "Action Item" window will show that comment (starting from "pending") as one of its items.

This behavior is apparently unexpected as this word can be used across the code in comments not meaning to mark a task or bug at all.

PS Minor issue, but looks really weird. Not mentioning that it can create a mess if you do use "Action Items" the way it is supposed to be used.
Comment 1 Ondrej Vrabec 2015-03-04 16:32:08 UTC
Remove it in Tools -> Options -> Team -> Action Items | ToDo patterns. Just remove the PENDING pattern. Not sure who decided it should be by default part of the list but it's been there like forever, so i do not feel easy simply removing it for all users.
Comment 2 csbubbles 2015-03-04 16:36:15 UTC
Well, if you agree that it's strange, I think the right way would be for the NetBeans team to remove it from the default settings, and close the bug after that. So in the next release the users would not face this issue and wouldn't need to do anything manually on their part.

I don't think this is the correct way to solve the issue saying "Someone from us made a mistake, but we are not going to fix it, so please do it yourself".
Comment 3 Ondrej Vrabec 2015-03-04 16:38:47 UTC
(In reply to csbubbles from comment #2)
> Well, if you agree that it's strange, I think the right way would be for the
> NetBeans team to remove it from the default settings, and close the bug
> after that. So in the next release the users would not face this issue and
> wouldn't need to do anything manually on their part.
> 
> I don't think this is the correct way to solve the issue saying "Someone
> from us made a mistake, but we are not going to fix it, so please do it
> yourself".
I didn't say anything like it. I said it's beed there forever, someone decided it long ago for a reason and lot of people are using it this way. I will certainly not remove it myself.
Comment 4 csbubbles 2015-03-04 16:41:23 UTC
Can you please involve some folk who can make such decisions then? There should be someone in change at NetBeans who can solve such things...
Comment 5 Ondrej Vrabec 2015-03-04 16:44:03 UTC
(In reply to csbubbles from comment #4)
> Can you please involve some folk who can make such decisions then? There
> should be someone in change at NetBeans who can solve such things...
sure, ccing someone who can make such decisions.
Comment 6 csbubbles 2015-03-04 16:48:06 UTC
Thanks!

PS I mean you certainly didn't say it that way that I "cited", however, you closed the bug with "WILL NOT BE FIXED" resolution, so how else could it be perceived actually?

If some issue has existed forever, it doesn't mean it is right and it should continue existing. Maybe not a lot of people use Action view, or just don't happen to have some particular words in their code comments. We can speculate here a lot, but I believe we still need to resolve it not as a workaround for some particular user.