-
Notifications
You must be signed in to change notification settings - Fork 42
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
Extra window created #111
Comments
I have to add to this - I was observing that window in the past too (previous versions of GLWpfControl and OpenTK). But it was visible only when my application started a function using full CPU - making UI irresponsive. The black rectangle appeared in top left screen corner. |
I also encountered this extra window called OpenTK Window, is there any way to remove it? |
After some digging, it seems like this happens becuase of some change in OpenTK itself, not this control. Possibly this issue needs to be raised for the OpenTK control itself? |
I think that #115 should solve this issue, as the window visibility bug should be fixed in |
Yes, version 4.8.1 seems to have resolved this. Thanks! |
When setting up the most simple sample WPF application with .NET 7 a ghost window with the title "OpenTK Window" will be created parallell to the MainWindow.
This extra window is visible on the taskbar as well as from the Task Manager when expaning the process.
Changing to the extra window doesn't do much but can sometimes leave traces of contents on it.
Expected result
No extra window shall be created.
Configuration used
Sample code
MainWindow.xaml
<Window x:Class="OpenTkWpf7.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:OpenTkWpf7" xmlns:glWpfControl="clr-namespace:OpenTK.Wpf;assembly=GLWpfControl" mc:Ignorable="d" Title="MainWindow" Height="450" Width="800"> <Grid> <glWpfControl:GLWpfControl x:Name="OpenTkControl" Render="OpenTkControl_OnRender"/> </Grid> </Window>
MainWindow.xaml.cs
The text was updated successfully, but these errors were encountered: