johnfactotum / foliate

Read e-books in style
https://johnfactotum.github.io/foliate/
GNU General Public License v3.0
6.42k stars 295 forks source link

Text not displayed on Linux Mint 22 #1405

Closed xbeyond1 closed 1 month ago

xbeyond1 commented 1 month ago

Describe the bug Text is not displayed on Linux Mint 22. When I scroll over the text, it will be displayed temporarily (see screenshot foliate3).

To Reproduce Steps to reproduce the behavior:

  1. Install Foliate on Linux Mint 22.
  2. Open Foliate.

Expected behavior Text should be displayed

Screenshots foliate1 foliate2 foliate3

Version:

xbeyond1 commented 1 month ago

This seems like an nvidia and flatpak issue. Adding the following environmental variables to Foliate with Flatseal fixed the problem for me:

GSK_RENDERER=gl
GDK_DEBUG=gl-prefer-gl
WEBKIT_DISABLE_DMABUF_RENDERER=1