Community
Participate
Working Groups
If I create a new (local) task, the task is pre-defined with new task. I think it would be better if you could use text.setMessage("New Task"); This way I wouldn't have to delete New Task before putting in my text.
The summary should be selected when the editor is opened. You can simply start typing to overwrite the pre-defined text, no need to delete anything. Does that help?
Hi Steffen, this works. But wouldn't like be nicer if the text would be just a message? Also the fix seems (without looking in your code) straight-forward. Bestr regards, Lars
Maybe I misunderstood the request. Are you asking for an API change or UI change?
A UI change. Sorry if that was not clear.
Update: On Linux the "New Task" is not pre-selected therefore the bug is a little bit more severe then just cosmetic.
Created attachment 181769 [details] New Task on Ubuntu 10.04/Gtk
Now I finally understand the request :). I agree that we should consider displaying a grayed out message in the summary field instead of pre-setting the summary to "New Task". There is a related discussion on bug 326005. I'll comment there with more detail. (In reply to comment #5) > Update: On Linux the "New Task" is not pre-selected therefore the bug is a > little bit more severe then just cosmetic. I can't reproduce that at the moment. Which version of Eclipse and Gtk are you using?
Cool! ----------- Now I finally understand the request :). I agree that we should consider displaying a grayed out message in the summary field instead of pre-setting the summary to "New Task". ------------ I'm using Ubuntu 10.04 as you. Strange that your behavior is different.
Still not implemented? :-)
We are not able to prioritize this at the moment due to time constraints. That said, we would be happy resolve this through a community contribution. Any takers :)?
No time for a one liner? ;-) setText() -> setMessage()
The "New Task" summary is a magic string that affect visibility of tasks in the task list and possibly has other non-obvious side effects. We would need to write a number of unit tests to cover that and would also need to test a UI change of this sort manually on at least 3 platforms which is unfortunately a non trivial effort even if the change seems straight forward.
The good old design pattern of magic strings... ;-) Thanks for the explanation, makes more sense now.
Created attachment 217724 [details] mylyn/context/zip
Been a while, I mark my bug report as WONTFIX, please reopen if you plan to work in it