GTK 整合與 qgtk2 平台主題衝突

GTK 整合與 qgtk2 平台主題衝突

我使用的是 Ubuntu 18.04,Telegram 幾天前更新到了 2.7.4。

今天當我嘗試開啟 Jupyter 筆記本時,出現以下錯誤:

(telegram-desktop:27524): lib_base-WARNING **: 17:06:20.656: Unfortunately, GTK integration conflicts with qgtk2 platformtheme and style. Therefore, QT_QPA_PLATFORMTHEME and QT_STYLE_OVERRIDE will be unset.
lib_base-Message: 17:06:20.656: This can be ignored by setting DESKTOP_APP_I_KNOW_ABOUT_GTK_INCOMPATIBILITY environment variable to any value, however, if qgtk2 theme or style is used, this will lead to a crash.
lib_base-Message: 17:06:20.656: GTK integration can be disabled by setting DESKTOP_APP_DISABLE_GTK_INTEGRATION to any value. Keep in mind that this will lead to some features being unavailable.

如果我在 Ubuntu 軟體中刪除 Telegram,jupyter 筆記本會再次運作。如果我重新安裝它就不再起作用了

我想將 Telegram 設定回舊版本或修復此問題(如果有人知道如何做)

我已經嘗試過:

sudo snap refresh telegram-desktop

並安裝了多個版本的 libcanberra

編輯:問題似乎是我過時的 Google Chrome 版本。更新 Chrome 後一切恢復正常

相關內容