Skip to content

The bsp-layout _listener_ prints empty lines to stdout #57

@amtoine

Description

@amtoine

What did you expect to happen?

When i run bsp-layout {subcommand} especially bsp-layout set, i expect the command to either (1) print nothing to stdout if nothing has to be printed or (2) print useful information.

What actually happened?

When i run bsp-layout set tall 2, on first monitor, from desktop 4, on second monitor, and switch to desktop 2, bsp-layout prints empy lines to stdout

Here is a demo of the phenomenon!

Describe your attempts to resolve the issue

That looks like something buried in the code, so i think there is nothing to do from the user's perspective 😋

Steps to reproduce

  1. open a terminal
  2. run bsp-layout set {layout} {some_desktop} (grid and even do not appear to have the problem)
  3. switch to some_desktop back and forth
  4. empty lines get printed to stdout in the original terminal

System Information

i've used make PREFIX=$PWD/build install to install bsp-layout

$ uname -osrm
Linux 5.18.5-arch1-1 x86_64 GNU/Linux
$ ./build/bin/bsp-layout version
0.0.10-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageNeeds more investigation to determine the priority

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions