getFullWindowReservedArea()
is always zero in onWindowCreatedTiling
#10107
Unanswered
jmoggr
asked this question in
Bugs - IPC / Plugins
Replies: 1 comment
-
I don't think it can be as everything is being calculated at that point |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
The following will print a zero vector when call anywhere in
onWindowCreatedTiling
:The reserved area is zero until the first call to
recalculateWindow
for the new window, when it will have the expected (non-zero) reserved area.I would expect
updateWindowDecos()
to update the reserved area, however it does not do that on the first render becauseCDecorationPositioner::onWindowUpdate
returns early here.I'm raising this because I'm not sure if it's a bug.
It's not intuitive, but it appears to be a non-issue in practice. I only came across this as a red-herring while debugging some of my own spaghetti: I broke
recalculateWindow
so the reserved areas were wrong.Beta Was this translation helpful? Give feedback.
All reactions