py3status icon indicating copy to clipboard operation
py3status copied to clipboard

i3-nagbar is hidden under py3status bar in battery_level module

Open jdholtz opened this issue 1 year ago • 0 comments

Describe the bug I was testing out the notification feature on the battery_level module. As I was testing it out, I noticed that, when i3-nagbar is displayed, once I show the py3status bar again, the black outline of the py3status bar does not get removed. See the attached screenshot of what is happening.

Your py3status version py3status version 3.45 (python 3.10.5) on i3

To Reproduce Steps to reproduce the behavior along with your py3status configuration (filter out any private values):

  1. Configure i3bar to have "mode hide" and "modifier <Mod key>"
  2. Add module 'battery_level'
  3. Configure module like this 'notification = true'
  4. Click on the battery_level module
  5. When you re-hide the py3status bar (by releasing the Mod key), you will notice that a black outline is still shown, hiding the i3-nagbar.

Expected behavior I expect the battery_level module nagbars to work exactly like i3-nagbar, in the sense that it does not block the nagbar after the py3status bar is re-hidden.

Screenshots 2022-08-04-101608_1920x75_scrot

Additional context I also cannot actually interact with the nagbar (pressing 'X').

It most likely has something to do with the way this module uses i3-nagbar because, if I spawn my own nagbar first, and then click on the module - with the new nagbar moving to the bottom - I don't get this error. However, when I remove the nagbar I created, the issue reappears.

jdholtz avatar Aug 04 '22 15:08 jdholtz