[jbosstools-issues] [JBoss JIRA] (JBIDE-20705) Click on a webhook URL in Webhook triggers shell automatically copy webhook to clipboard
Viacheslav Kabanovich (JIRA)
issues at jboss.org
Wed Feb 3 00:54:00 EST 2016
[ https://issues.jboss.org/browse/JBIDE-20705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13157998#comment-13157998 ]
Viacheslav Kabanovich commented on JBIDE-20705:
-----------------------------------------------
The mouse listener added to text field does it:
{code}
uriText.addMouseListener(onClickUriText(uriText));
{code}
It calls copyToClipBoard in the same way as the button to the right of the text field. But why?
It is easy to fix or reject this issue.
> Click on a webhook URL in Webhook triggers shell automatically copy webhook to clipboard
> ----------------------------------------------------------------------------------------
>
> Key: JBIDE-20705
> URL: https://issues.jboss.org/browse/JBIDE-20705
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.0.CR1
> Reporter: Marián Labuda
> Fix For: 4.3.x
>
> Attachments: webhook.png
>
>
> In Webhook triggers shell, opened via context menu of a build config, there are 2 text widgets containing generic and github webhook.
> !webhook.png!
> After click on a webhook text, the whole text is selected and its automatically copied to clipboard. There is also a notification text upon copying to clipboard shown close to the text widget containing a webhook URL.
> Webhook URL should be copied only after click on a button with label "Copy to clipboard" which is located next to the text field containing a webhook URL. Otherwise this button miss reason to exists and it is a bit annoying for me to have URL automatically selected and copied to clipboard every time I click on a text.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list