AppImage / AppImage/AppImageKit

Handle Gtk+ better

未关闭
#906 9 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
9.4k
派生
588
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。