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

Control isn't resized correctly #33

Open
Logix-Dev opened this issue Dec 12, 2020 · 3 comments
Open

Control isn't resized correctly #33

Logix-Dev opened this issue Dec 12, 2020 · 3 comments
Labels
4.0 bug Something isn't working needs verification
Milestone

Comments

@Logix-Dev
Copy link

Logix-Dev commented Dec 12, 2020

Hi, first of all, thanks for this very useful package, it solves some current issues with OpenTK and its dependencies and is very nice to use.

However, the control displays odd behaviour when it's resized. If put inside a Grid, and the Grid column is resized using a GridSplitter, the control will not update its size until the row is resized... and vice versa. Note: The parent control type seems to be irrelevant, this happens when parenting the GLWpfControl inside other container types, too.

Here's a screen recording (in GIF format) which shows the undesirable behaviour:
https://i.gyazo.com/972ae86b2ff91b09da3fa715075c2302.gif

I'm not sure if this is intentional behaviour, or can be solved via code (perhaps by invalidating something?), but it seems a little strange to me, and I'd probably consider it a bug... unless it's just the way I'm using the control

(Edit) Oh I should mention, in the GIF the magenta area is the control. The space above it is intentional.

@Simi4
Copy link
Contributor

Simi4 commented Dec 12, 2020

Hi. This bug should be fixed by #27
Fix is included in release 4.0.0-pre.12

@varon
Copy link
Member

varon commented Jan 6, 2021

Leaving this open, as despite the fix, it looks like this can still happen in some very edge cases with a ton of nested controls. Also seeing the width-only resize issues.

@NogginBops NogginBops added bug Something isn't working 4.0 labels Mar 20, 2022
@NogginBops NogginBops added this to the 4.3.0 milestone Mar 20, 2022
@NogginBops NogginBops modified the milestones: 4.3.0, 4.3.1 May 30, 2024
@NogginBops NogginBops modified the milestones: 4.3.2, 4.3.3 Aug 8, 2024
@NogginBops NogginBops modified the milestones: 4.3.3, 4.3.4 Oct 31, 2024
@NogginBops
Copy link
Member

Moving this to the next release.
If this issue doesn't have any updates or people experiencing the issue I might close it next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.0 bug Something isn't working needs verification
Projects
None yet
Development

No branches or pull requests

4 participants