RPTools/TokenTool

Capture Screen function freezes TokenTool (Ubuntu 22.04 XFCE)

Juppstein opened this issue · 0 comments

Describe the bug
When you use screen capture and click on the "Caputer" button of the selection rectangle TokenTool will crash and hang. When starting TokenTool from terminal the following error will appear right after clicking "Capture"

(TokenTool:233909): Gdk-WARNING **: 10:11:01.924: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.
10:11:19.569 (null:-1) [JavaFX Application Thread] DEBUG - Rect: java.awt.Rectangle[x=1302,y=410,width=266,height=241]

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Edit'
  2. Click on 'Capture Screen'
  3. Click on "Capture" on the selection rectangle
  4. TokenTool freezes

Expected behavior
Selected area is imported to TokenTool

Screenshots
none

TokenTool Info

  • Version: 2.2.1
  • Install: New

Desktop (please complete the following information):

  • OS: Ubuntu
  • Version 22.04

Additional context
When starting the tool there are two initial errors:

2023-10-27 10:20:14,735 JavaFX-Launcher ERROR Appenders contains an invalid element or attribute "Sentry"
2023-10-27 10:20:14,748 JavaFX-Launcher ERROR Unable to locate appender "Sentry" for logger config "root"
10:20:14.804 (null:-1) [JavaFX-Launcher] INFO - Overlays installed: 173
10:20:14.842 (null:-1) [JavaFX-Launcher] INFO - Environment: Production
10:20:14.843 (null:-1) [JavaFX-Launcher] INFO - Sentry DSN: https://312e480e6390426095b0a66a11f343a9@sentry.io/1406000
10:20:14.843 (null:-1) [JavaFX-Launcher] INFO - Vendor: rptools
10:20:14.843 (null:-1) [JavaFX-Launcher] INFO - Release: 2.2.1
10:20:14.844 (null:-1) [JavaFX-Launcher] INFO - OS: Linux
10:20:14.844 (null:-1) [JavaFX-Launcher] INFO - 3D Hardware Available? true
10:20:14.851 (null:-1) [JavaFX-Launcher] DEBUG - caching /home/kodi/.tokentool-rptools/overlays