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

WinUI Popups #57

Open
2 of 5 tasks
HavenDV opened this issue Jan 1, 2023 · 1 comment
Open
2 of 5 tasks

WinUI Popups #57

HavenDV opened this issue Jan 1, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@HavenDV
Copy link
Owner

HavenDV commented Jan 1, 2023

What would you like to be added:

enigmatrix — Today at 9:12 AM
Hi, for H.NotifyIcon package for WinUI, I can't seem to make the TrayPopup work
basing off the example in H.NotifyIcon.Apps.WinUI.Windowless
enigmatrix — Today at 9:13 AM
when the Popup is to be shown, the program kills itself with COMException: Catastrophic failure

Why is this needed:

For which Platform:

  • All
  • WPF
  • WinUI
  • Uno
  • Core

Anything else we need to know?

@HavenDV HavenDV added the enhancement New feature or request label Feb 3, 2023
@ruisilvestre
Copy link

ruisilvestre commented Sep 19, 2024

Hi all, I'm also facing a similar issue in that specifying a <tb:TaskbarIcon.TrayPopup> explicitly in the tray icon resources does nothing ie the popup just does not show. I also followed the example in the windowless app and that works ok to show a 'main window' when interacting with the tray icon, but the popup does not work when set explicitly... just to be clear, I've removed the behaviour of snowing the 'main window' on left click the icon so I would test the popup in isolation.

@HavenDV do you have an idea of why this could be, I've used the exact same setup as in the windowless example, maybe this only works with the window example? I also tried building the examples from source but unfortunately I can't run them with some runtime incompatibility in the project (I'm running this on a Mac M2 over VMWare Fusion, but don't think that's the issue).

IF this doesn't work I'll have to replicate the popup behaviour (show window close to tray icon, auto-close on click outside window) on my main window, maybe that's the only way for now.

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

No branches or pull requests

2 participants