eww icon indicating copy to clipboard operation
eww copied to clipboard

[BUG] Fullscreen bar

Open DaitiDay opened this issue 2 years ago • 9 comments

Checklist before submitting an issue

  • [X] I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
  • [X] I have specifically verified that this bug is not a common user error
  • [X] I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)

Description of the bug

Using i3, trying to get a vertical bar on the left side of the screen. Setting the wm-ignore variable to true works as expected, switching to false and reserving the space causes the bar to taka up all the screen.

Reproducing the issue

  1. eww daemon
  2. eww open bar

Minimal config:

(defwindow bar
    :monitor "DP-0"
    :geometry (geometry :x "0px"
                        :y "0px"
                        :width "30px"
                        :height "100%"
                        :anchor "top left"
    )
    :stacking "bg"
    :focusable "true"
    :reserve (struts :distance "40px" :side "left")
    :windowtype "dock"
    :wm-ignore false
"e"
)

Expected behaviour

The correct amount of space is reserved for the bar, and the bar itself is displaying as defined by the geometry in the config file.

Additional context

No response

DaitiDay avatar Sep 14 '22 12:09 DaitiDay

Same issue on i3-gaps I didn't have this problem, until I switched from bspwm to i3

onerdna avatar Nov 02 '22 15:11 onerdna

Same issue, also on i3-gaps.

WilliamHarding420 avatar Nov 29 '22 16:11 WilliamHarding420

I don't use a vertical bar normally, but I can confirm the example config indeed does give me a fullscreen bar.

i3 here too.

ariealerr avatar Dec 29 '22 18:12 ariealerr

I had this problem too, try setting :wm-ignore true

israelss avatar Jan 07 '23 16:01 israelss

I had this problem too, try setting :wm-ignore true

I'm experiencing the same. This does make it display correctly, but is not a solution for me, as parts of windows handled by i3 end up behind the bar.

jupart avatar Jan 09 '23 13:01 jupart

I also have xfce4-panel installed. Interestingly, it behaves similarly (fullscreen) when configured vertically.

jupart avatar Jan 09 '23 13:01 jupart

This is not an issue with eww, but i3, see here.

jupart avatar Jan 10 '23 19:01 jupart

This is definitely i3's problem. It can't handle vertical bars at all. You can try my i3-vertical fork if you want i3 with vertical bar support.

arash-rohani avatar Jan 11 '23 13:01 arash-rohani

This should be closed as unsolved.

partisani avatar Feb 03 '24 19:02 partisani