Frontmatter
| id | 5482 |
| title | LivePreview: closing a detached window sometimes gets an error |
| state | Closed |
| labels | bug |
| assignees | tobiu |
| createdAt | Jun 24, 2024, 10:27 PM |
| updatedAt | Jun 26, 2024, 9:53 AM |
| githubUrl | https://github.com/neomjs/neo/issues/5482 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jun 26, 2024, 9:53 AM |
LivePreview: closing a detached window sometimes gets an error
tobiu assigned to @tobiu on Jun 24, 2024, 10:27 PM

tobiu
Jun 26, 2024, 9:53 AM
while there was an issue with the focus remote call (passing id instead of window id, i added explicit port checks into worker.Base. if a windowId gets passed and no port it found, no message will get send. accordingly: promiseMessage() will directly trigger reject() if no message was sent.
tobiu closed this issue on Jun 26, 2024, 9:53 AM
might be a bigger issue:
revertFocus()&focus()could not be aware about different windows or a focus call wants to enter a no longer existing window.