elementary / wingpanel-indicator-power

Wingpanel Power Indicator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tries to monitor process 0, which does not exist.

jeremypw opened this issue · comments

What Happened?

When running wingpanel in a terminal it was noticed that many warnings like

File '/proc/0/cmdline' doesn't exist.

were produced.

This was tracked to a process id of zero was returned by Bamf.Window for certain app windows - in particular those related to a flatpak app.

Steps to Reproduce

  1. In a terminal, stop the wingpanel running with sudo killall io.elementary.wingpanel x 2
  2. Run wingpanel with io.elementary.wingpanel
  3. Start some flatpak apps
  4. Open the power indicator
  5. Terminal warnings appear about non-existent process

Expected Behavior

The process id should be sanity checked.

OS Version

6.x (Odin)

Software Version

Compiled from git

Log Output

No response

Hardware Info

No response

This may be resolved by resolving #208.