compose-multiplatform: AwtWindow does not render on KDE Plasma Desktop with freetype2 2.11.0-4

I tried to run the Notepad example application on my desktop and everything works, except when I try to open the “Open…” or the “Save” window from the menu bar, I only get a transparent window with visual artifacts. In the terminal I get the following error messages:

` (java:38970): Gtk-WARNING **: 22:03:10.434: drawing failure for widget ‘GtkFileChooserDialog’: error occurred in libfreetype

(java:38970): Gtk-WARNING **: 22:06:47.595: drawing failure for widget ‘GtkLabel’: error occurred in libfreetype

(java:38970): Gtk-WARNING **: 22:06:47.595: drawing failure for widget ‘GtkGrid’: error occurred in libfreetype

(java:38970): Gtk-WARNING **: 22:06:47.595: drawing failure for widget ‘GtkBox’: error occurred in libfreetype

(java:38970): Gtk-WARNING **: 22:06:47.595: drawing failure for widget ‘GtkFileChooserWidget’: error occurred in libfreetype

(java:38970): Gtk-WARNING **: 22:06:47.595: drawing failure for widget ‘GtkBox’: error occurred in libfreetype

(java:38970): Gtk-WARNING **: 22:06:47.595: drawing failure for widget ‘GtkFileChooserDialog’: error occurred in libfreetype

(java:38970): Gtk-WARNING **: 22:06:47.605: drawing failure for widget ‘GtkLabel’: error occurred in libfreetype

(java:38970): Gtk-WARNING **: 22:06:47.605: drawing failure for widget ‘GtkBox’: error occurred in libfreetype

(java:38970): Gtk-WARNING **: 22:06:47.605: drawing failure for widget ‘GtkEventBox’: error occurred in libfreetype … ` My system: Operating System: Manjaro Linux KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.87.0 Qt Version: 5.15.2 Kernel Version: 5.10.70-1-MANJARO (64-bit) Graphics Platform: X11 Graphics Processor: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2

FreeType version: freetype2 2.11.0-4

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 2
  • Comments: 24 (1 by maintainers)

Most upvoted comments

Any updates?

What is the current status regarding this issue?

The problem still persists with Compose version 1.0.1 and freetype2 2.11.1-1. This is a major deal breaker as this also prevents any other AWT component to be correctly rendered (like the Menubar for example) and I can’t expect my Linux users to downgrade their freetype2 version. I, for example, can’t even do that because of my distribution repository only having the latest version.