[jbosstools-issues] [JBoss JIRA] (JBIDE-20092) Connection wizard: hitting retrivial link with mouse does not do anything on OSX (hitting enter works)
Andre Dietisheim (JIRA)
issues at jboss.org
Mon Jun 29 18:07:03 EDT 2015
[ https://issues.jboss.org/browse/JBIDE-20092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084745#comment-13084745 ]
Andre Dietisheim commented on JBIDE-20092:
------------------------------------------
[~snjeza] [~maxandersen] thx for the patch. I tried it but it has no effect for me on MacOS. On MacOS the link to singn up to OpenShift on the top of the dialog isnt functional either. I tried attaching lowlevel mouse- and selection listeners but they all wont work either.
!singnup-link.png!
Only hitting "Return" invokes them once the link is focused.
Even more weird is that we have a link in the OpenShift Explorer when there are no connection. This link opens the connection wizard so that you can create a new connection. This link works perfectly fine on MacOS even though it has no difference in code at all. It's also a SWT Link widget and we also attach a SelectionListener to it.
!new-connection-link.png!
*Label*, *CLabel* and *Hyperlink* all react to clicks.
I am absoutely clueless why this fails on MacOS, this very much smells like a platform issue
As workaround I see us using a label and a hyperlink for the 2 clickable and non-clickable parts (extending the link part in order to have 2 distinct clickable and non-clickable parts):
[Label:Enter a token or][Hyperlink:retireve a new one]
> Connection wizard: hitting retrivial link with mouse does not do anything on OSX (hitting enter works)
> ------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-20092
> URL: https://issues.jboss.org/browse/JBIDE-20092
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Reporter: Max Rydahl Andersen
> Assignee: Max Rydahl Andersen
> Priority: Critical
> Labels: connection_wizard, openshift_v3
> Fix For: 4.3.0.Beta2
>
> Attachments: new-connection-link.png, retrieve-token-link.png, singnup-link.png
>
>
> using https://console.stg.openshift.com as server
> the retrieve link does nothing if clicked.
> Only if I use "enter" on the keyboard does it actually show a browser.
> Steps:
> # ASSERT: make sure that you're using MacOS
> # EXEC: launch new connection wizard,
> # EXEC: provide host, pick "OpenShift v3" and make sure you have "Oauth" authentication chosen
> # EXEC: hit "retrieve" link
> !retrieve-token-link.png!
> Result:
> Nothing happens
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jbosstools-issues
mailing list