Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floating windows with background blur enabled breaks window borders. #267

Open
aspauldingcode opened this issue Jan 13, 2024 · 7 comments
Open
Labels
bug Something isn't working

Comments

@aspauldingcode
Copy link

aspauldingcode commented Jan 13, 2024

Please read the following before submitting:

  • Proprietary graphics drivers, including nvidia, are not supported. Please use the open source equivalents, such as nouveau, if you would like to use Sway.
  • Please do NOT submit issues for information from the github wiki. The github wiki is community maintained and therefore may contain outdated information, scripts that don't work or obsolete workarounds.
    If you fix a script or find outdated information, don't hesitate to adjust the wiki page.

Please fill out the following:

  • Swayfx Version:

    • sway -v I am not at my desktop ATM. I use the latest unstable NixOS channel, using whichever swayfx version is packaged in the nixpkgs repository as of 01/13/24.
  • Debug Log:

    • Run sway -d 2> ~/sway.log from a TTY and upload it to a pastebin, such as gist.github.com.
    • This will record information about sway's activity. Please try to keep the reproduction as brief as possible and exit sway.
    • Attach the full file, do not truncate it.
  • Configuration File:

    • Please try to produce with the default configuration.
    • If you cannot reproduce with the default configuration, please try to find the minimal configuration to reproduce.
    • Upload the config to a pastebin such as gist.github.com.
  • Stack Trace:

    • This is only needed if sway crashes.
    • If you use systemd, you should be able to open the coredump of the most recent crash with gdb with
      coredumpctl gdb sway and then bt full to obtain the stack trace.
    • If the lines mentioning sway or wlroots have ?? for the location, your binaries were built without debug symbols. Please compile both sway and wlroots from source and try to reproduce.
  • Description:

    • The steps you took in plain English to reproduce the problem.
    • Disable background blur.
      Toggle Float on Alacritty Terminal (v13)
      Notice the window border. it's still there. Good!
    • Enable swayfx background blur.
      Toggle float on Alacritty Terminal (v13)
      Notice the window border. It's gone on floating window, but when it is toggled as tiling layout, border is back. Bad news!
@aspauldingcode aspauldingcode added the bug Something isn't working label Jan 13, 2024
@Minda1975
Copy link

I can't reproduce this in Nixos 23.11 with foot and terminator terminals.

@aspauldingcode
Copy link
Author

It's definitely still happening to me

@Minda1975
Copy link

It's definitely still happening to me

What distro?

@aspauldingcode
Copy link
Author

aspauldingcode commented Feb 8, 2024

NixOS 24.05 (Uakari)
Linux 6.7.3

Here's uname:

uname -a
Linux NIXSTATION64 6.7.3 #1-NixOS SMP PREEMPT_DYNAMIC Thu Feb  1 00:21:21 UTC 2024 x86_64 GNU/Linux

And here is details on nixos

nixos-version
24.05.20240203.79a13f1 (Uakari)

I thought I was on latest NixOS. my bad.

@aspauldingcode
Copy link
Author

Here is a gif of my problem:
2024-02-08 10-03-54

@Minda1975
Copy link

Minda1975 commented Feb 9, 2024

NixOS 24.05 (Uakari) Linux 6.7.3

I thought I was on latest NixOS. my bad.

The latest stable version of NixOS is 23.11. You running unstable version. It is possible that an unstable version of the distribution is the problem of this bug. Hard to say...

@aspauldingcode
Copy link
Author

I technically fixed it with a brute-force config approach:

      #for all windows, brute-force use of "pixel"
      for_window [shell="xdg_shell"] border pixel 2
      for_window [shell="xwayland"] border pixel 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants