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

Window: Unable to re-open previously closed Window #140

Closed
tanjera opened this issue Oct 16, 2021 · 1 comment
Closed

Window: Unable to re-open previously closed Window #140

tanjera opened this issue Oct 16, 2021 · 1 comment
Assignees
Labels
Milestone

Comments

@tanjera
Copy link
Owner

tanjera commented Oct 16, 2021

Reproducable: open Defibrillator Window, close Defibrillator, attempt to re-open Defibrillator- will not re-open Window

@tanjera tanjera added the bug label Oct 16, 2021
@tanjera tanjera added this to the Version 2.1 milestone Oct 16, 2021
@tanjera tanjera self-assigned this Oct 16, 2021
tanjera added a commit that referenced this issue Jul 9, 2022
II Server: Completed Issue #137
- Removed old Windows bootstrap code from SQL server, II Server .php
IISIM: Completed Issue #140
- Fixed issue of closed Windows failing to reopen
  - Avalonia Windows cannot be reopened once Close()'d; need to be Hide()'den
  - Added OnClosing and subscribed to Closing, hides and handles event
    - Devices Paused; will prevent Tracings from eating resources in background
- Added some properties to indicate to Controls/Windows that are Closed
  - To stop async loops from continuously running in the background
  - Running w/ debugged attached still fails to terminate entirely
    - Running w/out debugger, all threads exit (none remaining in taskman)
@tanjera
Copy link
Owner Author

tanjera commented Jul 9, 2022

Fixed in f992ae3

@tanjera tanjera closed this as completed Jul 9, 2022
tanjera added a commit that referenced this issue Jul 10, 2022
- Implemented MenuItems for DeviceMonitor to enable/disable Alarms
  - Sets all alarms to enabled/disabled, takes effect on alarm timer tick
  - Strings localized to all supported languages
- Much more graceful fix for issue #140
  - Created DeviceWindow : Window ... re-factored redundant Device code
  - Implemented window State (Running, Paused, Closed)
    - If set to "Closed", will re-instantiate Device on attempt to re-open
- Much more graceful implementation of visual alarm triggering on Numerics
  - Implemented a traditional timer and event triggering system
  - Replaced the while(true) and while(!Closed) loops previously used!!
  - Appears to have fixed issue with threads remaining alive after App.Exit()!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant