orbtk
orbtk copied to clipboard
Black window after switching to another workspace and back (bspwm)
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:
- Run orbtk-template binary
- On bspwm (perhaps tiling wms or any wm as well) switch to another workspace
- Switch back
- See that the window is now black
- Refocus the window
- 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)
Thank you for the report. I will check it.
same on i3wm
Same on windows, and it can be reproduced simply by minimizing then normalizing. I found more:
- The debug build's "black time" is longer than release build's.
- When minimized, it occupies less memory than normalized, but other lib(s?) does not (exactly,
Druid
). - So... it seems obvious that some codes optimized the background occupancy. Maybe you can make it optional to meet some specific needs.
- 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)