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

macOS 一些优化 #6596

Merged
merged 3 commits into from
Jan 29, 2025
Merged

macOS 一些优化 #6596

merged 3 commits into from
Jan 29, 2025

Conversation

ShiinaRinne
Copy link
Contributor

@ShiinaRinne ShiinaRinne commented Jan 29, 2025

  1. [Feature request]: 建议mac版本增加开机启动选项、最小化隐藏dock栏图标选项 #6383 隐藏 dock 栏图标
  2. 关闭按钮无响应
  3. 在最小化状态下,使用 status bar 的 Show or hide the main window 需要点击两次(关闭再打开)才能显示出窗口
    这个提交做了简单的处理,但仍然有个小问题未修复:窗口会先闪出来一下,再从 dock 栏最小化的情况下播放一个放大的动画才能正常显示

测试设备为 macmini m4, macOS Sequoia 15.2

@2dust 2dust merged commit f71125d into 2dust:master Jan 29, 2025
@2dust
Copy link
Owner

2dust commented Jan 29, 2025

感谢PR

@2dust
Copy link
Owner

2dust commented Jan 29, 2025

[macOS] fix: close button not work
4699677

这个有个问题,你改的这个功能是点击关闭按钮事件,是不是改错地方了?

@ShiinaRinne
Copy link
Contributor Author

[macOS] fix: close button not work 4699677

这个有个问题,你改的这个功能是点击关闭按钮事件,是不是改错地方了?

在我的设备上,之前点击关闭按钮什么都不会发生,所以尝试做了这个更改。
现在又试了一下,发现这个确实是改错了,乱改测试没删干净,以为就是改这里,于是错误提交了。
这个 commit 可以直接删掉,删掉后这个 pr 里所提到的优化不会有任何影响,请问需要我再做个 pr revert 一下吗?

@2dust
Copy link
Owner

2dust commented Jan 29, 2025

不用了,确定是不对的就行。

ShiinaRinne added a commit to ShiinaRinne/v2rayN-2dust that referenced this pull request Jan 29, 2025
2dust#6596

When the main window is hidden, open child windows are mistakenly hidden as well.
This prevents reopening child windows after the main window is shown again.
ShiinaRinne added a commit to ShiinaRinne/v2rayN-2dust that referenced this pull request Jan 29, 2025
2dust#6596

When the main window is hidden, open child windows are mistakenly hidden as well.
This prevents reopening child windows after the main window is shown again.
ShiinaRinne added a commit to ShiinaRinne/v2rayN-2dust that referenced this pull request Jan 29, 2025
2dust#6596

When the main window is hidden, open child windows are mistakenly hidden as well.
This prevents reopening child windows after the main window is shown again.
2dust pushed a commit that referenced this pull request Jan 30, 2025
#6596

When the main window is hidden, open child windows are mistakenly hidden as well.
This prevents reopening child windows after the main window is shown again.
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

Successfully merging this pull request may close these issues.

2 participants