wingpanel
wingpanel copied to clipboard
Wingpanel crashes on battery
Prerequisites
- [x] I have searched open and closed issues for duplicates.
Describe the bug
WingPanel stops responding when the notebook is using the battery. When the notebook is plugged in, everything works correctly.
To Reproduce
Steps to reproduce the behavior:
- Start elementary OS normaly.
- Unplug the notebook.
- Try to open something from the wingpanel (application menu, sound, notifications, etc).
- See error
Expected behavior
That WingPanel would continue to work properly.
Screenshots or screen recordings
Logs
Don't know where to get the logs.
Platform Information
This information is in screenshot.
Please check what applies: -->
- [ ] I'm using the latest version from git that I've manually compiled
- [X] I'm using the latest released stable version
Additional context
to get the logs run:
G_MESSAGES_DEBUG=all wingpanel
and reproduce the crash
I experienced the same thing
OS Information:
This is the result when I run the command suggested by @rezk2ll.
➜ ~ G_MESSAGES_DEBUG=all wingpanel
Failed to register: Timeout was reached
I also can't access the shortcuts to open menus, etc.
If I reinstall wingpanel, this is the result.
➜ ~ sudo apt install --reinstall wingpanel
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 64,9 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic/main amd64 wingpanel amd64 2.3.2+r454+pkg48~ubuntu5.1.5.1 [64,9 kB]
Fetched 64,9 kB in 2s (32,2 kB/s)
(Reading database ... 205408 files and directories currently installed.)
Preparing to unpack .../wingpanel_2.3.2+r454+pkg48~ubuntu5.1.5.1_amd64.deb ...
Unpacking wingpanel (2.3.2+r454+pkg48~ubuntu5.1.5.1) over (2.3.2+r454+pkg48~ubuntu5.1.5.1) ...
Setting up wingpanel (2.3.2+r454+pkg48~ubuntu5.1.5.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2+elementary2~ubuntu5.0.1) ...
Processing triggers for libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.8) ...
No such key 'button-layout' in schema 'org.gnome.mutter:Pantheon' as specified in override file '/usr/share/glib-2.0/schemas/20_elementary.pantheon.wm.gschema.override'; ignoring override for this key.
No such key 'enable-animations' in schema 'org.gnome.mutter:Pantheon' as specified in override file '/usr/share/glib-2.0/schemas/20_elementary.pantheon.wm.gschema.override'; ignoring override for this key.
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
purging and reinstalling for me didn't solve the problem, still experiencing crashes randomly when playing around with the indicators.
hmm, I think the problem I'm having is related to unhandled / unrestricted "stacked notifications". I can confirm, my computer is running normally again!
I think elementary os needs to have a feature to limit notifications. To prevent massive notifications from the application (e.g. Discord, Telegram, etc)