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

Yabar blocks missing after application full screens. #71

Closed
nmiculinic opened this issue Jun 4, 2016 · 7 comments
Closed

Yabar blocks missing after application full screens. #71

nmiculinic opened this issue Jun 4, 2016 · 7 comments
Labels

Comments

@nmiculinic
Copy link
Contributor

After application goes full screen and back it takes around 5 seconds (not all blocks at the same time) for the blocks to return to their original state.

Not all of them do though, I have two blocks simulating gaps (having maximum opacity), but after return from full screen their opacity is gone and they aren't transparent anymore, but having default background color.

@nmiculinic
Copy link
Contributor Author

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)

@geommer
Copy link
Owner

geommer commented Jun 21, 2016

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.

@nmiculinic
Copy link
Contributor Author

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

@christiancwolf
Copy link

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

@wesbluemarine
Copy link

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

@NickVst
Copy link

NickVst commented Jul 23, 2016

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.

@NBonaparte
Copy link
Collaborator

NBonaparte commented Feb 24, 2017

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

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants