action #135824
openAdd 'open raw' and 'clipboard copy' to openqa text screenshots
0%
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
Updated by okurz over 1 year ago
- Category set to Feature requests
- Target version set to future
Updated by tinita about 1 year ago
When you're talking about "textdata based screenshots", do you mean screenshots of, for example, terminal windows? So extracting the text with ocr?
Updated by kraih about 1 year ago
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.
Updated by psladek about 1 year ago
- File openqa_text_screen.jpg openqa_text_screen.jpg added
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)
Updated by bruclik about 1 year ago
- File screenshot-github.png screenshot-github.png added
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...