Project

General

Profile

Actions

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.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2023-09-15
Due date:
% Done:

0%

Estimated time:

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

openqa_text_screen.jpg (259 KB) openqa_text_screen.jpg psladek, 2023-10-04 14:05
screenshot-github.png (111 KB) screenshot-github.png Raw and copy&paste buttons on Github bruclik, 2023-10-04 14:20
Actions #1

Updated by okurz over 1 year ago

  • Category set to Feature requests
  • Target version set to future
Actions #2

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?

Actions #3

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.

Actions #4

Updated by psladek about 1 year ago

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)

Actions #5

Updated by bruclik about 1 year ago

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...

Actions

Also available in: Atom PDF