st2web icon indicating copy to clipboard operation
st2web copied to clipboard

Auto Refresh in General -> Action Output -> Expand xxx lines Page

Open wyjuly opened this issue 7 years ago • 3 comments

Hi all,

In version 2.6 we found that in the web UI, when we click the '+ xxx more lines' link of the General -> Action Output panel, we cannot select and copy one or more lines since it seems that the page is refreshing automatically.

When we choose one line and prepare to press 'ctrl + c' the page is refreshed and what you selected has been changed. The only way to copy that is select several lines including the line you want very quickly, then press ctrl c. Or ctrl a and ctrl c. But we may don't need to copy all of the output.

wyjuly avatar Mar 05 '18 07:03 wyjuly

I'm unable to reproduce the problem. Can you please give more details on the browser you're using and the contents of the web console when that happens? Could it potentially be related to #500?

enykeev avatar Mar 05 '18 09:03 enykeev

Hi @enykeev . I saw #500 too and yes that and this issue can be re-produced in my browser. Stackstorm version: 2.6 Browser: Version 64.0.3282.186 (Official Build) (64-bit)

Suppose the flow's output is:

{
  "tasks": [
    {
      "state_info": null,
      "name": "first_step",
      "created_at": "2018-03-05 11:00:02",
      "updated_at": "2018-03-05 11:00:04",
      "id": "c244ec6f-3a00-41f7-95d5-6b2aabcdedeb",
      "workflow_execution_id": "3e194467-fde9-4993-b0df-8551c394318f",
      "state": "SUCCESS",
      "result": {
        "stdout": "",
        "result": {
          "status": true
        },
        "stderr": "",
        "exit_code": 0
      },
      ........ 
    {
  1. Expand the action output page by clicking the '+ xxx more lines' link, the page pop up.
  2. Try to copy several lines E.G. from workflow_execution_id to result by select these lines.
  3. Frequently before you select all the lines, the selected and highlighted area will be changed automatically. E.G. from the first line to the current line where your cursor locates will be selected automatically but you may only want to copy several lines of them.

wyjuly avatar Mar 05 '18 11:03 wyjuly

@wyjuly is this still an issue in v3.4.1 or v3.5?

I'll close this at the end of the month if there has been no response.

cognifloyd avatar Aug 15 '21 00:08 cognifloyd