orbtk icon indicating copy to clipboard operation
orbtk copied to clipboard

Black window after switching to another workspace and back (bspwm)

Open sburris0 opened this issue 3 years ago • 3 comments

Describe the bug Running the project from orbtk-template and then switching to another workspace causes the window to turn black until it is focused again.

To Reproduce Steps to reproduce the behavior:

  1. Run orbtk-template binary
  2. On bspwm (perhaps tiling wms or any wm as well) switch to another workspace
  3. Switch back
  4. See that the window is now black
  5. Refocus the window
  6. Watch it display normally again

Expected behavior I expect the window to not become completely black when switching between workspaces

Desktop (please complete the following information):

  • OS: Void Linux
  • WM: bspwm (no compositor such as picom/compton)

sburris0 avatar Oct 12 '20 04:10 sburris0

Thank you for the report. I will check it.

FloVanGH avatar Oct 12 '20 09:10 FloVanGH

same on i3wm

igotfr avatar Jan 31 '21 05:01 igotfr

Same on windows, and it can be reproduced simply by minimizing then normalizing. I found more:

  1. The debug build's "black time" is longer than release build's.
  2. When minimized, it occupies less memory than normalized, but other lib(s?) does not (exactly, Druid).
  3. So... it seems obvious that some codes optimized the background occupancy. Maybe you can make it optional to meet some specific needs.
  4. I like this project, "add oil"~

(thanks for my habit of using example to compare the output of build [--release] when I found a new UI lib)

eternal-io avatar Mar 05 '21 18:03 eternal-io