View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001914 | NoesisGUI | C# SDK | public | 2021-02-01 21:32 | 2021-02-02 19:03 |
Reporter | DavidYawCSpeed | Assigned To | sfernandez | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.0.9 | ||||
Target Version | 3.0.10 | Fixed in Version | 3.0.10 | ||
Summary | 0001914: Setting WindowState = WindowState.Minimized leaves artifact on screen | ||||
Description | I have an application that I don't want the user to close by simply closing the window. (They'll exit it by clicking some other buttons in the application.) However, they can minimize the application, so I want attempting to close the window to actually minimize it. I implemented the event handler listed below, but the window doesn't minimize properly. - The minimize button at the top-right of the window does change to a 'restore' button, so some part of it knows that it's supposed to be minimized. - Clicks to this window end up accessing the window behind it. - D3D Render Context only: Instead of minimizing, the window changes to be solid white. - WGL Render Context only: Instead of minimizing, the window never updates again. Changes to the UI are not redrawn. - The window disappears from the Task Bar, even though I didn't tell it to do that. | ||||
Steps To Reproduce | private void MainWindow_Closing(object sender, NoesisApp.CancelEventArgs e) { e.Cancel = true; this.WindowState = WindowState.Minimized; } Test Platform: My Windows development PC, running in the Visual Studio debugger. Using Win32Display and either RenderContextWGL or RenderContextD3D11. | ||||
Tags | No tags attached. | ||||
Platform | Windows | ||||
related to | 0001915 | resolved | sfernandez | Window.Close() doesn't close, leaves artifact on screen. |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-02-01 21:32 | DavidYawCSpeed | New Issue | |
2021-02-01 21:35 | jsantos | Assigned To | => sfernandez |
2021-02-01 21:35 | jsantos | Status | new => assigned |
2021-02-01 21:36 | DavidYawCSpeed | Relationship added | related to 0001915 |
2021-02-01 21:38 | jsantos | Target Version | => 3.0.10 |
2021-02-01 21:40 | DavidYawCSpeed | Description Updated | View Revisions |
2021-02-01 21:41 | DavidYawCSpeed | Note Added: 0007010 | |
2021-02-02 19:03 | sfernandez | Status | assigned => resolved |
2021-02-02 19:03 | sfernandez | Resolution | open => fixed |
2021-02-02 19:03 | sfernandez | Fixed in Version | => 3.0.10 |