Ross Spencer created TIKA-3349:
----------------------------------

             Summary: Dark themes in Ubuntu cause Tika app GUI to render white 
text on white background
                 Key: TIKA-3349
                 URL: https://issues.apache.org/jira/browse/TIKA-3349
             Project: Tika
          Issue Type: Bug
          Components: gui
    Affects Versions: 1.23, 1.26
         Environment: {{Ubuntu 20.04}}{{}}

{{java -version}}
{{openjdk version "1.8.0_282"}}
{{OpenJDK Runtime Environment (build 1.8.0_282-8u282-b08-0ubuntu1~20.04-b08)}}
{{OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mod}}
            Reporter: Ross Spencer
         Attachments: image-2021-04-08-13-01-20-987.png

Using Ubuntu dark themes, tested with Yaru-dark and Adwaita-dark causes Tika 
GUI to render white text on a white background. See below images:

!https://mail.google.com/mail/u/0?ui=2&ik=003cfb4e3f&attid=0.1&permmsgid=msg-a:r5278547582531168249&th=178b11832e3f95fc&view=fimg&sz=s0-l75-ft&attbid=ANGjdJ_fOyvUccYkrVQgfthsa7pLFrcU6dsatDU75nsS36K7EL-yt8SislvDQF8hL3_WSemw1cKzQiibzytViKTrFRGcpPTm6qCBFvKjL13Dvooilng7gUCmnWwayUM&disp=emb&realattid=ii_kn8r7yr10!

!image-2021-04-08-13-01-20-987.png!

Switching to the default or non-dark variants of these themes shows Tika 
working as expected.

 

*Background logging:*

{{java -jar tika-app-1.26.jar}}
{{Apr 08, 2021 12:34:26 PM org.apache.tika.config.InitializableProblemHandler$3 
handleInitializableProblem}}
{{WARNING: J2KImageReader not loaded. JPEG2000 files will not be processed.}}
{{See [https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io]}}
{{for optional dependencies.}}

{{Apr 08, 2021 12:34:26 PM org.apache.tika.config.InitializableProblemHandler$3 
handleInitializableProblem}}
{{WARNING: Tesseract OCR is installed and will be automatically applied to 
image files unless}}
{{you've excluded the TesseractOCRParser from the default parser.}}
{{Tesseract may dramatically slow down content extraction (TIKA-2359).}}
{{As of Tika 1.15 (and prior versions), Tesseract is automatically called.}}
{{In future versions of Tika, users may need to turn the TesseractOCRParser on 
via TikaConfig.}}
{{Apr 08, 2021 12:34:26 PM org.apache.tika.config.InitializableProblemHandler$3 
handleInitializableProblem}}
{{WARNING: org.xerial's sqlite-jdbc is not loaded.}}
{{Please provide the jar on your classpath to parse sqlite files.}}
{{See tika-parsers/pom.xml for the correct version.}}

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to