elementary / wingpanel-indicator-power

Wingpanel Power Indicator
GNU General Public License v3.0
24 stars 15 forks source link

Clicking the "Apps Using Lots of Power" header label causes Wingpanel crashing #224

Closed ryonakano closed 2 years ago

ryonakano commented 2 years ago

What Happened?

Clicking the "Apps Using Lots of Power" header label causes Wingpanel crashing.

Steps to Reproduce

  1. Open some power-eating app (e.g. watch 4K video on YouTube using Google Chrome)
  2. Open Wingpanel Power Indicator. The app you opened above should be listed as a power eater, like this: Screenshot from 2022-03-09 09-20-14
  3. Click the "Apps Using Lots of Power" label instead of the power eater. Doing this operation twice will crash Wingpanel

Expected Behavior

OS Version

6.x (Odin)

Software Version

Compiled from git

Log Output

(io.elementary.wingpanel:12980): GLib-GObject-WARNING **: 09:16:06.065: invalid cast from 'GtkListBoxRow' to 'PowerWidgetsAppListAppRow'
Segmentation fault

Hardware Info