Bug 46164 - [Tasks] Go To enabled for non-file markers
Summary: [Tasks] Go To enabled for non-file markers
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P4 minor (vote)
Target Milestone: 3.4 M3   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard: hasPatch
Keywords: contributed, helpwanted
Depends on:
Blocks:
 
Reported: 2003-11-05 22:31 EST by Nick Edgar CLA
Modified: 2007-10-29 11:32 EDT (History)
3 users (show)

See Also:


Attachments
Patch to disable the action if all of the selected markers do not have an associated IFile. (1.96 KB, patch)
2007-09-23 09:39 EDT, Remy Suen CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2003-11-05 22:31:01 EST
build I20031105 

Go To in the Tasks view is enabled even for a manually created task.
It should only be enabled for tasks on files.
Comment 1 Nick Edgar CLA 2003-11-05 22:31:27 EST
Should also review the handling of this in IDE.openEditor(IMarker, ...).
Comment 2 Remy Suen CLA 2007-09-23 09:39:08 EDT
Created attachment 79041 [details]
Patch to disable the action if all of the selected markers do not have an associated IFile.

(In reply to comment #1)
> Should also review the handling of this in IDE.openEditor(IMarker, ...).

It seems that it fails silently by logging the fact that the IMarker's corresponding IResource isn't an IFile.
Comment 3 Tod Creasey CLA 2007-10-19 16:19:59 EDT
Fixed in M3 in both the problems view and the new markers view.
Comment 4 Tod Creasey CLA 2007-10-29 11:32:14 EDT
Verified in I20071029-0100