Skip to content

有鉴权码时,siyuan未锁屏状态下,把电脑锁屏,之后解锁电脑,siyuan显示“访问鉴权失败” #12070

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

Closed
3 tasks done
edward-kyle opened this issue Jul 24, 2024 · 17 comments

Comments

@edward-kyle
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

siyuan未锁屏状态下,把电脑锁屏,之后解锁电脑,siyuan显示“访问鉴权失败”。
之后无法刷新,无法退出。只能通过任务管理器强制关闭siyuan。

Expected result

希望可以解决这个问题。

Screenshot or screen recording presentation

newnew

Version environment

- Version: 3.1.1
- Operating System: Win 11
- Browser (if used):

Log file

siyuan.log

More information

No response

@edward-kyle
Copy link
Author

补充一下,有在关于中开启这个功能:
Clip_2024-07-24_15-46-11

@edward-kyle
Copy link
Author

edward-kyle commented Jul 24, 2024

补充一下,有在关于中开启这个功能:
Clip_2024-07-24_15-46-11

开启这个功能后,直接电脑锁屏,解锁电脑,打开siyuan应该看到的是:
Clip_2024-07-24_16-03-13

但是我直接进入到了siyuan里,但是右上角会显示“访问鉴权失败” 。并且无法编辑,无法打开任何按钮,无法点击右上角的x退出,无法通过右下角状态栏右键退出。

@edward-kyle
Copy link
Author

@edward-kyle
Copy link
Author

最新情况:使用集市里的离开即锁插件也会导致这种情况的出现。推测是锁屏功能的api问题。
Clip_2024-07-30_22-41-39

@TCOTC
Copy link
Contributor

TCOTC commented Jul 30, 2024

@88250
Copy link
Member

88250 commented Aug 9, 2024

我这里在 v3.1.3 上无法重现该问题,请测试一下看看。

@edward-kyle
Copy link
Author

您好,我在v3.1.3版本上也无法复现该问题了。应该是已经被修复了吧。

@88250
Copy link
Member

88250 commented Aug 9, 2024

好的,那就先关闭了。

@88250 88250 closed this as completed Aug 9, 2024
@edward-kyle
Copy link
Author

很抱歉,今天下午又能复现了,我也不知道这是为什么?
Clip_2024-08-09_15-55-51

@88250
Copy link
Member

88250 commented Aug 9, 2024 via email

@edward-kyle
Copy link
Author

尝试了一下关闭所有插件,无法复现。
大概率是被某个插件影响到了

@88250
Copy link
Member

88250 commented Aug 9, 2024 via email

@edward-kyle
Copy link
Author

试了很久,也不知道是哪个插件导致这个bug。最后只能关闭“跟随系统锁屏”功能。

@myg321
Copy link

myg321 commented Aug 29, 2024

试了很久,也不知道是哪个插件导致这个bug。最后只能关闭“跟随系统锁屏”功能。

我把所有插件关闭,每次锁屏再打开后也还是有这个提示....
image

@myg321
Copy link

myg321 commented Aug 29, 2024

排除插件影响了吗?

---原始邮件--- 发件人: @.> 发送时间: 2024年8月9日(周五) 下午3:56 收件人: @.>; 抄送: @.>;"State @.>; 主题: Re: [siyuan-note/siyuan] 有鉴权码时,siyuan未锁屏状态下,把电脑锁屏,之后解锁电脑,siyuan显示“访问鉴权失败” (Issue #12070) 很抱歉,今天下午又能复现了,我也不知道这是为什么? Clip_2024-08-09_15-55-51.png (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>

把所有插件关闭,锁屏再打开后依然有这个提示,我是最近这几天出现的这个问题:
image

@myg321
Copy link

myg321 commented Aug 29, 2024

排除插件影响了吗?

---原始邮件--- 发件人: @.> 发送时间: 2024年8月9日(周五) 下午3:56 收件人: @.>; 抄送: @.>;"State @.>; 主题: Re: [siyuan-note/siyuan] 有鉴权码时,siyuan未锁屏状态下,把电脑锁屏,之后解锁电脑,siyuan显示“访问鉴权失败” (Issue #12070) 很抱歉,今天下午又能复现了,我也不知道这是为什么? Clip_2024-08-09_15-55-51.png (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>

已知问题:

  1. 关闭“访问授权码跟随系统锁屏”时:
    电脑锁屏后再打开无提示,笔记裸露在屏幕上。思源笔记界面开着的时候,点击左上角设置→锁屏(或者Alt+N)就会出现“访问鉴权失败,请刷新或者重新打开”提示且只能从资源管理器中关闭。
  2. 开启“访问授权码跟随系统锁屏”时:
    电脑锁屏后再打开就会出现“访问鉴权失败,请刷新或者重新打开”提示且只能从资源管理器中关闭。思源笔记界面开着的时候,击左上角设置→锁屏(或者Alt+N)弹出输入密码界面:
    image

@TCOTC
Copy link
Contributor

TCOTC commented Sep 19, 2024

用户反馈:

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

No branches or pull requests

4 participants