X-GNOME-AutoRestart doesn't work for non-client apps
まだ誰も着手していません。
評価
調査の方向性
まず pkill -KILL orca または pkill -ABRT orca で問題を再現し、次に cinnamon-session が通常のアプリケーションとセッションマネージャーのクライアントに対して X-GNOME-AutoRestart をどのように処理しているかを追跡します。動作を upstream の gnome-session の変更およびリンクされている Orca の報告と比較します。クライアントではないアプリケーションが自動再起動を要求した場合に、異常終了後に再起動され、クライアントの処理を壊さないことが完了の条件です。
索引モデルが issue の本文から書いたものです。
説明
Hi! I'm the new maintainer of gnome-session upstream, and I found a bug that cinnamon-session seems to have inherited since it forked. So I'm forwarding the bug report here
Some apps like the Orca screen reader set X-GNOME-AutoRestart with the expectation that they'll get restarted in the event of a crash or unclean exit. However, the gnome-session codebase you're forked from has a broken implementation of this for plain apps (i.e. apps that aren't "clients" and don't talk to the session manager via dbus or via XSMP). Orca is an app but not a client, and so X-GNOME-AutoRestart simply doesn't work.
The version of gnome-session you've forked from doesn't autorestart apps that set X-GNOME-AutoRestart=true. Which is, to say the least, incorrect. Upstream gnome-session has since gained a check to only skip autorestart on apps that set that setting and are also clients, because clients get autorestarted when they disconnect from the session manager. In other words, cinnamon-session is failing to handle the case where a non-client app requests autorestart to be enabled.
I don't have an installation of Cinnamon to test with, but you can pretty trivially confirm that the bug exists by running pkill -KILL orca or pkill -ABRT orca and observing that the screen reader doesn't get restarted.
See https://gitlab.gnome.org/GNOME/orca/-/issues/622 and https://gitlab.gnome.org/GNOME/orca/-/merge_requests/255 for some more details.
- 主要言語
- C
- スター
- 30
- フォーク
- 44
- 平均マージ
- 19日 3時間
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
linuxmint/cinnamon-session のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
linuxmint/cinnamon-session#218 ·
-
難易度 4/5 1〜2日 初心者へのやさしさ 40/100
linuxmint/cinnamon-session#222 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
linuxmint/cinnamon-session#217 ·
-
Intermittent reboot/poweroff failure from active Cinnamon X11 session; logout-first reboot succeedsオープンbug
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
linuxmint/cinnamon-session#216 · コメント 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
linuxmint/cinnamon-session#202 · コメント 1 件 ·
linuxmint/cinnamon-session の issue をすべて見る
似ている issue
-
documentation
難易度 1/5 1〜3時間 初心者へのやさしさ 91/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
enhancement ui
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
ChupathingyCE/chupathingyce#485 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
eclipse-paho/paho.mqtt.c#1727 ·
メンテナーはふだん 6 日以内に返信