Red Hat Bugzilla – Bug 1286949
Camel Hawt.io console weird text selection after clicking on a Route in a Routes list
Last modified: 2016-09-29 22:16:34 EDT
Created attachment 1100761 [details]
firefox text selection on camel route weirdness
Description of problem:
The Camel Hawt.io Console route selection in the"Route" view in OSE3.1 does not behave properly on Firefox
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Deploy a Camel application on OSE 3.1 (e.g. https://github.com/fabric8io/ipaas-quickstarts/tree/redhat/quickstart/cdi/camel )
2. Open the OpenShift Console, select the pod, click on the 'Connect' button
3. Open the "Routes" folder in myCamel context
4. click on 'myCamel' cell in the route table (only row in the table)
5. Move cursor up or down
the context will be selected, however a text selection is also started, which means all text is now shown with selection style (blue) and user must click on the row again to close the text selection.
clicking on the cell should select the context, no annoying text selection should occur
Works fine on Google Chrome. Seems the problem is Firefox specific (tested on Fedora 22)
Have gotten it to reproduce, also appears that the table of routes redraws regularly, so that could have something to do with the behavior, other pages such as the camel context list or list of queues in the ActiveMQ plugin don't appear to have this behavior.
Think fixing up the redrawing helped here, commit is here, this will require a new release of openshift-jvm:
Fix mentioned above is in this PR -> https://github.com/openshift/origin/pull/6539
fix is not included in current latest puddle, will verify once merged in new OSE puddle
Created attachment 1115062 [details]
Try following the steps under "Running the example with fabric8" in the readme, not sure what the state is for the s2i builds in the quickstarts. More info available here as well -> http://fabric8.io/guide/quickstarts/running.html
It's still reproduced with Firefox 43.0.4 against below OSE ENV:
[root@openshift-135 ~]# openshift version
Tested on Fedora release 17 (Beefy Miracle)
Ah, fix is probably only in origin, let me get it merged over to OSE, sorry about that.
Hmm, nope, I see on the OSE branch it's at the expected version. In the java console can you click on the top-right user menu and go into "Preferences", there should be an "About" page that lists loads of versions. Can you verify that the java console version is 1.0.39? If it isn't, *or* if you don't see an "About" entry in the preferences menu (should be the first item) it could be you just need to totally clear your browser cache.
The java console version is 1.0.39, please refer to the below information:
Commit ID: e79966878b9aba11b77fcb69db2cbbba12c662c9
Tried this in origin with same version 1.0.39, it's also reproduced.
K, figured it out, the table there had some other selection issues that I've sorted as well, I *think* the odd selection had to do with the table using a mousedown handler rather than a normal click handler. Anyway, fingers crossed the fix is in this PR -> https://github.com/openshift/origin/pull/6888
It's fixed in origin, checked with devenv_rhel7_3293, will check again when the PR is merged into OSE.
Checked with the latest openshift version(v184.108.40.206-16-g5327e56) on OSE, the changes are still not merged into OSE.
It's fixed against OSE, checked with the latest java console version(1.0.42).
[chunchen@F17-CCY daily]$ openshift version
Could you please help to change it to ON_QA, then I can mark it as verified?
I think we can just mark it as verified then...