AppImage / AppImage/AppImageKit

Handle Gtk+ better

Aperta
#906 9 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
9.4k
Fork
588
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently we are bundling `libgtk-3.so.0` and `libgdk-3.so.0` but not the resources (e.g., themes) that go with them.

This results in

![bad](https://user-images.githubusercontent.com/2480569/51072351-13b36300-1657-11e9-988d-54bd9d76e77a.png)

when it should be

![good](https://user-images.githubusercontent.com/2480569/51072352-16ae5380-1657-11e9-96ac-99fef1361739.png)

```
(AppRun:7980): Gtk-WARNING **: 11:40:02.419: Theme parsing error: gtk-contained.css:4322:148: Missing name of pseudo-class

(AppRun:7980): Gtk-WARNING **: 11:40:02.419: Theme parsing error: gtk-contained.css:4367:14: 'min-height' is not a valid property name

(AppRun:7980): Gtk-WARNING **: 11:40:02.420: Theme parsing error: gtk-contained.css:4587:23: No property named '-gtk-icon-transform'
```

We should either __not__ bundle `libgtk-3.so.0` and `libgdk-3.so.0`, or __also__ bundle the resources (e.g., themes) that go with them.

With something like `GTK_EXE_PREFIX=squashfs-root/usr/ GTK_THEME=Adwaita squashfs-root/AppRun` it may be possible to load a bundled Gtk+ theme rather than the system's one, which is broken for us most of the time.

More information:
https://developer.gnome.org/gtk3/stable/gtk-running.html

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.