hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
18.57k stars 772 forks source link

gtk-layer-shell window not disappearing even after pkill #1092

Closed aryanjassal closed 8 months ago

aryanjassal commented 1 year ago

I have been using the eww bar for a while now and it worked like a charm, until I added the feature to toggle the window open or close. When I close the eww window and quickly switch to a different workspace, the phantom window remains on top of the screen for a while. This issue remains even after pkill-ing the eww process.

hyprctl layers reveals that the gtk-layer-shell eww layer remains visible after closing the bar or even killing the eww process.

STEPS TO REPRODUCE

EXPECTED OUTCOME

The bar should just disappear and changing the workspace should not have an effect on it.

NOTED OUTCOME

A ghost image of the bar remains for a few seconds when switching between workspaces quickly before disappearing completely.

vaxerski commented 1 year ago

seems like an issue with eww / you killing poorly. Hyprland will remove the layer whenever it receives an appropriate event from wlroots.

aryanjassal commented 1 year ago

I killed the bar with every conceivable method, so I don't think that it is me killing the bar poorly. I will try harder to find the weak link within eww (if it exists).

vaxerski commented 1 year ago

does it happen on sway

aryanjassal commented 1 year ago

No. I just installed sway to test, but the behaviour was as expected in Sway, the bar closing immediately and not showing a ghost window upon rapidly switching the workspace.

vaxerski commented 1 year ago

wait, what if you disable animations?

aryanjassal commented 1 year ago

The problem still persists even if I disable all animations, including windows and windowsOut

vaxerski commented 8 months ago

does this still happen?

aryanjassal commented 8 months ago

sorry but i have switched to daily driving kde plasma and cannot easily test this out anymore

vaxerski commented 8 months ago

feel free to reopen then in case it's an issue again