Community
Participate
Working Groups
Bugzilla contributes the "Details..." and "Mark As" menu to task attachments, but it uses an object contribution for ITaskAttachment which means that it will show up for all attachments on any connector (i.e. JIRA), but not do anything. I think that this should be converted to a command and then visibility rules can be used to ensure that it only shows for Bugzilla tasks.
Rob, Frank, this is a usability problem that needs to be addressed for 3.4.1.
Frank, I'll tentatively assign this to you. Please feel free to assign it to Rob if you don't get to it.
Created attachment 173934 [details] commited patch Steffen, can you do the backport?
Created attachment 173935 [details] mylyn/context/zip
I would prefer if we could use a menu contribution that was only enabled for Bugzilla attachments instead of extending an internal part. This should work through using a property tester. I'll try to post an example next week.
(In reply to comment #5) > I would prefer if we could use a menu contribution that was only enabled for > Bugzilla attachments instead of extending an internal part. This should work > through using a property tester. I'll try to post an example next week. Steffen, I try to use AbstractSourceProvider and hope that I can do this today.
Created attachment 173975 [details] commited patch We now use an IActionFilter for TaskAttachment with the following defined names. * ConnectorKind * ContentType * isDeprecated * isPatch Do you think that we still need others?
Created attachment 173976 [details] mylyn/context/zip
Thanks! That patch looks good. I'll look into back-porting the changes. I don't think we need anymore than these properties.
Created attachment 174207 [details] backported patch
Created attachment 174208 [details] mylyn/context/zip
Created attachment 174209 [details] additional changes for head
Thanks Frank! Should be all backported now.
fixed a typo <objectState name="ConnectorKind" value="bugzilla"></objectState> changed to <objectState name="connectorKind" value="bugzilla"></objectState>
Thanks for catching that!