action #135824
open
Add 'open raw' and 'clipboard copy' to openqa text screenshots
Added by psladek over 1 year ago.
Updated about 1 year ago.
Category:
Feature requests
Description
It would be convenient to easy copy text from textdata based screenshots. So far only 'ctrl+a' in browser is possible, but it copies all data on screen and not just text data from frame. Mouse selection is very inconvenient and imprecise, especially for large texts not fitting the screen. Direct curl download also downloads only complex webpage source, and extracting actual text data from /var/lib/openqa/testresults is very complicated and requires access to the openQA server.
Functionality should preferably be added as another icons to already existing 'report test issue' in right upper corner, with similar functionality to the gitlab's 'Copy file content' (to clipboard) and 'Open raw' (text only page url) icons.
Files
- Category set to Feature requests
- Target version set to future
When you're talking about "textdata based screenshots", do you mean screenshots of, for example, terminal windows? So extracting the text with ocr?
tinita wrote in #note-2:
When you're talking about "textdata based screenshots", do you mean screenshots of, for example, terminal windows? So extracting the text with ocr?
I think this ticket is only about text console output, which can be inconvenient to copypasta when it is getting very long. So just a little "Copy text" button next to the current "Report product bug" and "Report test issue" icons. Purely a UI feature, no OCR.
kraih wrote in #note-3:
tinita wrote in #note-2:
When you're talking about "textdata based screenshots", do you mean screenshots of, for example, terminal windows? So extracting the text with ocr?
I think this ticket is only about text console output, which can be inconvenient to copypasta when it is getting very long. So just a little "Copy text" button next to the current "Report product bug" and "Report test issue" icons. Purely a UI feature, no OCR.
Yes, exactly, only the pure text outputs like those produced by record_soft_failure, record_info, serial output etc... (useful especially for long logs, see attachment)
kraih wrote in #note-3:
I think this ticket is only about text console output, which can be inconvenient to copypasta when it is getting very long. So just a little "Copy text" button next to the current "Report product bug" and "Report test issue" icons. Purely a UI feature, no OCR.
Having Raw button next to this copy&paste button like it is in Github will be the best (see screenshot from https://github.com/os-autoinst/openQA/blob/master/README.asciidoc ) then we can easily grep output from curl and much more...
Also available in: Atom
PDF