tauri-macos-menubar-app-example icon indicating copy to clipboard operation
tauri-macos-menubar-app-example copied to clipboard

feat: menubar native window popover

Open ahkohd opened this issue 9 months ago • 7 comments

image

ahkohd avatar Apr 28 '24 18:04 ahkohd

@doroved can you take this for a spin and let me know what you think?

ahkohd avatar May 02 '24 22:05 ahkohd

@doroved can you take this for a spin and let me know what you think?

My application doesn't require a native popover, an NSPanel as a window is sufficient. But I looked at this implementation and noticed that the popover is positioned relative to clicking on the system tray icon.

https://github.com/ahkohd/tauri-macos-menubar-app-example/assets/30116541/c8ab1157-810a-433e-a40a-9ef494ac2567

doroved avatar May 02 '24 22:05 doroved

yeah, I built the popover for an app i'll work on in the future. I'll maintain a separate branch for this popover example.

ahkohd avatar May 03 '24 00:05 ahkohd

noticed that the popover is positioned relative to clicking on the system tray icon.

on this.

ahkohd avatar May 03 '24 00:05 ahkohd

I watch your commits, so much code has to be written to implement macos native elements. You are doing a great job, thank you.

doroved avatar May 03 '24 00:05 doroved

@doroved can you take this for a spin and let me know what you think?

My application doesn't require a native popover, an NSPanel as a window is sufficient. But I looked at this implementation and noticed that the popover is positioned relative to clicking on the system tray icon.

2024-05-03.01.46.28.mov

commit 12551e1 fixes the positioning of the menubar panel. I should probably merge this function into the main branch.

ahkohd avatar May 03 '24 22:05 ahkohd

I watch your commits, so much code has to be written to implement macos native elements. You are doing a great job, thank you.

thank you!

ahkohd avatar May 03 '24 22:05 ahkohd

Moved to new branch: v1-popover

ahkohd avatar Jun 04 '24 08:06 ahkohd