AirspaceFixer icon indicating copy to clipboard operation
AirspaceFixer copied to clipboard

Popup Grid height wrong when maximize windows

Open Pathompongmc opened this issue 1 year ago • 5 comments

When you drag resize the popup grid size is fine. But maximize windows popup grid wrong height.

Pathompongmc avatar Feb 16 '24 05:02 Pathompongmc

Do you have an example? What do you mean by wrong height?

chris84948 avatar Feb 16 '24 14:02 chris84948

104212

Pathompongmc avatar Feb 19 '24 03:02 Pathompongmc

Blue Grid Should be full height when maximize

Screenshot 2024-02-19 104249

Pathompongmc avatar Feb 19 '24 03:02 Pathompongmc

in code Screenshot 2024-02-19 104553

Pathompongmc avatar Feb 19 '24 03:02 Pathompongmc

I think you might have hit a limitation on this hacky workaround here.

Because of the way the WindowsFormHost works, it can't be rendered using WPF rendering techniques, so to grab the screenshot I'm basically taking a screen-capture knowing the position of the content.

If you resize the window I can't take a new screenshot as it's already hidden. To take a new screenshot would require you to turn off the fix airspace feature, take a screenshot again and then hide it, and that would be seen by the user.

I can't really think of another way to fix this, but I'm open to ideas.

chris84948 avatar Feb 26 '24 16:02 chris84948