Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with print on screen dialog #17

Open
b2m opened this issue Jul 14, 2021 · 1 comment
Open

Problems with print on screen dialog #17

b2m opened this issue Jul 14, 2021 · 1 comment

Comments

@b2m
Copy link

b2m commented Jul 14, 2021

Environment: Windows 10 with tesseractXplore V0.2.2

  • The print on screen dialog somehow has no visible scrollbar.
  • When selecting multiple formats only one of them is shown.
  • It is not clear that saving results from the "print on screen" dialog they will end up in stdout.
  • Selecting PDF as format and using "print on screen" produces an error (see log below) that requires a restart of the application.
[WARNING] stderr: Exception in thread Thread-6:
[WARNING] stderr: Traceback (most recent call last):
[WARNING] stderr:   File "threading.py", line 932, in _bootstrap_inner
[WARNING] stderr:   File "threading.py", line 870, in run
[WARNING] stderr:   File "tesseractXplore\controllers\tesseract_controller.py", line 140, in recognize
[WARNING] stderr:   File "tesseractXplore\recognizer.py", line 60, in recognize
[WARNING] stderr:     stdout = str(stdout.decode("utf-8"))
[WARNING] stderr: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbe in position 530: invalid start byte
@JKamlah
Copy link
Owner

JKamlah commented Jul 15, 2021

The only visible scrollbar can atm be applied by a scrollview container and that seems to be buggy. So i implemented the necessary code and i will activate it, if there is a fix to this bug. The multiple formats are getting displayed but all in the one dialog window. Append a hint that it will be stored to stdout storage. The PDF problem is solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants