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

Multi-Window: Works on macOS, but closing secondary window on Linux closes the app. #230

Open
raddevus opened this issue Dec 9, 2024 · 1 comment

Comments

@raddevus
Copy link

raddevus commented Dec 9, 2024

Background

I'm building an app on both macOS & Linux. I began adding a secondary window to my app on my mac and it worked fine. When I closed the secondary window it closed (but the main window stayed open (as expected) and the app kept running).

Linux Has Different Results

I then pulled my code to my Linux box (Ubuntu 24.04) and I noticed that when I close the secondary window the main app window and the app would close.

I then tested the basic photino multi-window template & discovered it has the same problem on Linux.

Steps to recreate - on your Linux distro:

  1. Create new project based on multiwindow template: $ dotnet new photinomultiwindow -o multiWinTest
  2. Build & run the app
  3. Click button to open secondary window
  4. Close the secondary window (clicking on the [X] or using [Close Window] button from main form).
  5. The entire app closes, not just the secondary window.
@raddevus
Copy link
Author

raddevus commented Dec 9, 2024

I just tested this on the latest version of Fedora and using Photino.NET v 3.2.3 and the same problem occurs: when the secondary window is closed, the main window and the app are closed also.
Again, you can recreate this using the photinomultiwindow project template.

Hope this one gets fixed soon, because that will def be an issue for my project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant