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

应用位于前台时没有显示Menu栏,点击关闭之后没有Dock图标,也无法从 Dock 被唤醒 #158

Closed
4 of 5 tasks
o8x opened this issue Dec 15, 2023 · 7 comments
Labels
C: Backend P: MacOS S: Blocked Need upstream fix or got updated S: Feedback Issue got fix, and need user feedback T: Bug Something isn't working

Comments

@o8x
Copy link

o8x commented Dec 15, 2023

复现步骤 / Step to reproduce

  1. 双击启动,使应用处于前台

预期行为 / Expected behaviour

像浏览器或其他应用一样,拥有Menu
关闭后,有Dock图标,重新点击Dock图标可以重新唤起应用

image

实际行为 / Actual Behaviour

没有Menu

不能唤起应用

应用日志 / App logs

No response

备注 / Addition details

No response

Clash Nyapasu 版本号 / Clash Nyapasu

1.4.1

是否为 Pre-release / Is pre-release version

34cb796

操作系统及版本 / OS version

macos 14

自查步骤 / Verify steps

  • 如果您有足够的时间和能力,并愿意为此提交 PR ,请勾上此复选框 / Pull request is welcome. Check this if you want to start a pull request
  • 您已仔细查看并知情 Q&A 中的内容 / You have checked Q&A carefully
  • 您已搜索过 Issue Tracker,没有找到类似内容 / I have searched on Issue Tracker, No duplicate or related open issue has been found
  • 您确保这个 Issue 只提及一个问题。如果您有多个问题报告,烦请发起多个 Issue / Ensure there is only one bug report in this issue. Please make mutiply issue for mutiply bugs
  • 您确保已使用最新 Pre-release 版本测试,并且该问题在最新 Pre-release 版本中并未解决 / This bug have not solved in latest Pre-release version
@Jancat
Copy link

Jancat commented Jan 6, 2024

确实,没有 Dock 图标不太方便,主面板被其它窗口覆盖后无法通过 command + tab 切换回来,只能重新在 menu 栏上点 打开面板

@greenhat616 greenhat616 added the S: Blocked Need upstream fix or got updated label Jan 8, 2024
@greenhat616
Copy link
Collaborator

Blocked by tauri-apps/tauri#2358

需要寻找其他 workaround

@ayangweb
Copy link

Hey👋, in tauri1 did you solve this problem?

@greenhat616
Copy link
Collaborator

greenhat616 commented Aug 28, 2024

Nope. And tauri v2 rc don't provide a method to solve this issue.

we can't dive into the tao internal interface, so that we have no idea to change the policy dynamic;y, even via cocoa api.

It just the tauri limit, not the program limit. We just need wait the fucking tauri team fix it.

@ayangweb
Copy link

ayangweb commented Aug 29, 2024

我以为是在 tauri 的 issue 评论区发言,还特地机翻了一下😂

我一直在用 cocoaobjc 尝试解决问题,可怎么都搞不定。看样子想让 tauri v1 支持这个功能有点悬,有点想放弃使用 tauri 了!

@greenhat616
Copy link
Collaborator

@ayangweb 好像不管 tao 直接操作 ActivityPolicy 就好了。
cdf2ec1

具体是否有效果得看反馈了。

@greenhat616 greenhat616 added the S: Feedback Issue got fix, and need user feedback label Aug 29, 2024
@ayangweb
Copy link

@ayangweb 好像不管 tao 直接操作 ActivityPolicy 就好了。 cdf2ec1

具体是否有效果得看反馈了。

不过我主要想解决的是从 dock 栏唤醒窗口🫣

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Backend P: MacOS S: Blocked Need upstream fix or got updated S: Feedback Issue got fix, and need user feedback T: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants