Giter VIP home page Giter VIP logo

Comments (7)

NickVst avatar NickVst commented on August 15, 2024 2

Similar issue using i3wm and compton, using yabar version 0.4.0 from the AUR.

Here is a gist that's useful for testing the difference between the effect of static and periodically updating blocks.

The effect for me seems to be this.

Static blocks

  • Background color resorts to background color of the underlying bar.
  • Text becomes non-existent.
  • This means that the entire block is basically invisible.

Updated blocks

  • Background color is underlying bar's, until an update takes place.
  • Text does not appear, until an update takes place.
  • Block becomes visible on update.
  • Block also becomes visible if the update simply posts the same line as before. E.G. a block that fires off echo '' once does not work, but a block that fires off echo '' periodically does work on the next update.

from yabar.

nmiculinic avatar nmiculinic commented on August 15, 2024

After bit more poking, it's due to periodic components.

Gap blocks (since gap-horizontal weren't working for me to be invisible) were once, and when putting them to periodic now they work fine (after one interval period)

from yabar.

geommer avatar geommer commented on August 15, 2024

Sorry @nmiculinic, I haven't noticed this issue until now. Are you using the master branch or the dev_var_width branch? This is a bug in dev_var_width and that is the only reason why I haven't merged this branch to master. The time may be the periodic time for each block until it refreshes itself with the other background color. Actually, with the current source code this bug mostly appears only at yabar startup and disappears after opening and closing the first window.

from yabar.

nmiculinic avatar nmiculinic commented on August 15, 2024

I think I'm using master, yabar v0.4.0-32-gc7881b2

from yabar.

christiancwolf avatar christiancwolf commented on August 15, 2024

I am also having this problem on the master branch. I have several persist blocks that monitor things like volume or music and they only reappear once the output of the command is updated. I also have some periodic blocks but they seem to be fine - it is just the persist blocks for me. This happens every time I close a full screen window - not just at startup.

I am running Ubuntu 16.04 if that affects anything

from yabar.

wesbluemarine avatar wesbluemarine commented on August 15, 2024

I have the same issue with bspwm after startx and after windows back from fullscreen

from yabar.

NBonaparte avatar NBonaparte commented on August 15, 2024

Should be fixed since bc091f5, as now it redraws on exposure.
Feel free to reopen if this is still an issue.

from yabar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.