Occlusion artifacts when rendering a window at 0,0 #11082
Unanswered
TheSunCat
asked this question in
Bugs - IPC / Plugins
Replies: 1 comment 1 reply
-
your immediate solution is to make all windows have opacity 0.999, probably. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hyprland version
0.50.0 built from branch at commit 49d73d1
Regression
No
Describe the bug
I need to use
renderWindow
to draw a window with its decorations (border, shadow, etc) to my own framebuffer. The framebuffer has a size of the window's full bounding box. To render it, I change the window'sm_floatingOffset
so that it gets translated to the origin, then callrenderWindow
, then translate it back. Inspecting the framebuffer, the rendered window will have missing sections where other floating windows would be occluding my window, if it were moved to 0,0.Here you can see that the right side tiled window, which I am rendering to my own framebuffer using the described technique, has a missing section that matches exactly what would be occluded by the small floating window, when the tiled window is translated to 0,0.
Reproduction steps
git clone https://git.allpurposem.at/mat/WiggleWobble.git
cd WiggleWobble && git checkout 0a0161ee6244890af440a2ba8cb2515ae2addea6
nix develop
./run.sh
hyprctl plugin load $(pwd)/build//src/libwigglewobble.so
System info and config
sysinfo.txt
Beta Was this translation helpful? Give feedback.
All reactions