Skip to content

Bug | Creating a 2nd PhotinoWindow after closing all others fails #290

@AnnaSasDev

Description

@AnnaSasDev

Severity

High (major feature broken)

Describe the bug

Multi-window is supported, but the close-all then recreate flow lacks dedicated lifecycle regression coverage.

Steps to reproduce

  1. Start from an existing InfiniFrame example or unit-test scaffold for the same feature area.
  2. Reproduce the backlog scenario exactly as described in the linked Photino issue.
  3. Capture runtime logs and any native stack traces.
  4. Record platform + engine (WebView2/WebKit2GTK/WKWebView) used for reproduction.

Expected behavior

Define explicit API/behavior for this migration item, implement in managed + native layers where needed, and add focused tests/documentation.

Actual behavior

Pending InfiniFrame-specific reproduction details.

Logs / Error Output

Attach managed log output and native crash/diagnostic data collected during reproduction.

Minimal reproduction

// Recreate-window-after-close repro
using InfiniFrame;

IInfiniFrameWindow CreateWindow(string title) => InfiniFrameWindowBuilder.Create()
    .SetTitle(title)
    .SetStartString("<html><body>Close me</body></html>")
    .Build();

var first = CreateWindow("Window 1");
Task.Run(() => first.Close());
first.WaitForClose();

var second = CreateWindow("Window 2");
Task.Run(() => second.Close());
second.WaitForClose();

.NET Version

.NET 10.0 (or exact runtime used in reproduction)

Project Version / Commit

Current main commit at filing time

Operating System

Fill from reproduction environment(s)

Checklist

  • I searched existing issues
  • I can reproduce this consistently
  • I included logs and/or a reproduction

Metadata

Metadata

Assignees

No one assigned

    Labels

    Photino BacklogItems that are hold overs from Photino that they either never resolved or implementedbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions