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

Support capture current timestamp when editing #25

Merged
merged 8 commits into from
Nov 22, 2022

Conversation

Quorafind
Copy link
Collaborator

No description provided.

@windily-cloud
Copy link
Member

我跳转后的视频,好像就不能弹出右键菜单了。刚开始打开是可以的。

@Quorafind
Copy link
Collaborator Author

我跳转后的视频,好像就不能弹出右键菜单了。刚开始打开是可以的。

好,我先复查一下,你的平台是 mac 还是 win?我今晚回去用 mac 跑一下看下

@windily-cloud
Copy link
Member

我跳转后的视频,好像就不能弹出右键菜单了。刚开始打开是可以的。

好,我先复查一下,你的平台是 mac 还是 win?我今晚回去用 mac 跑一下看下

windows,复现方式:

- [【Academind Udemy React 排名第一】React完整指南,从入门到进阶_哔哩哔哩_bilibili](https://www.bilibili.com/video/BV1RP411M7dY/)
- [00m16s](https://www.bilibili.com/video/BV1RP411M7dY/?t=00m16s)
- [00m42s](https://www.bilibili.com/video/BV1RP411M7dY/?t=00m42s)

打开open in same tab,先点击第一个链接,然后点击第二个链接。

第一个链接能打开菜单,第二个就不能了。

@Quorafind
Copy link
Collaborator Author

我跳转后的视频,好像就不能弹出右键菜单了。刚开始打开是可以的。

好,我先复查一下,你的平台是 mac 还是 win?我今晚回去用 mac 跑一下看下

windows,复现方式:

- [【Academind Udemy React 排名第一】React完整指南,从入门到进阶_哔哩哔哩_bilibili](https://www.bilibili.com/video/BV1RP411M7dY/)
- [00m16s](https://www.bilibili.com/video/BV1RP411M7dY/?t=00m16s)
- [00m42s](https://www.bilibili.com/video/BV1RP411M7dY/?t=00m42s)

打开open in same tab,先点击第一个链接,然后点击第二个链接。

第一个链接能打开菜单,第二个就不能了。

找到原因了,重加载后关于 context menu 也就是右键行为的 监控没有被去掉,如果再重新加载就会变成连续触发三次,再重新加载就会连续触发四次

@Quorafind
Copy link
Collaborator Author

@windily-cloud 发现是因为 view 的 webcontents 缓存了事件,直接rebuildview 解决一切问题了,后续再考虑直接传入 javascript 来调整时间

@windily-cloud
Copy link
Member

@windily-cloud 发现是因为 view 的 webcontents 缓存了事件,直接rebuildview 解决一切问题了,后续再考虑直接传入 javascript 来调整时间

试了下,功能好了,但是在报错。

image

@Quorafind
Copy link
Collaborator Author

@windily-cloud 发现是因为 view 的 webcontents 缓存了事件,直接rebuildview 解决一切问题了,后续再考虑直接传入 javascript 来调整时间

试了下,功能好了,但是在报错。

image

因为 Electron 的相关问题也是最近才修复,估计这个要等 Obsidian 本体更新版本。 electron/electron#36129

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.

None yet

2 participants