AppImage / AppImage/AppImageKit

Handle Gtk+ better

Đang mở
#906 9 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
9.4k
Fork
588
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.