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

When not focused in SiYuan window, the left option of Database row is hard to select #10731

Closed
3 tasks done
Shina-SG opened this issue Mar 25, 2024 · 2 comments
Closed
3 tasks done
Assignees
Milestone

Comments

@Shina-SG
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

When focus on another window that's not the current SiYuan window, the left option of Database row would be impossible to select as the video below.

Steps to reproduce the bug:

  1. Have SiYuan and another app/window opened.
  2. Focus on the app/window that is not SiYuan.
  3. Hover the mouse over SiYuan Database row and try to select it while still focusing on the other app/window.

Notes:

  • When the mouse is moved fast and accurate, it can select the row option but really hard.
  • Theme such as Asri doesn't have this problem, I think due to the space between those 2 are too small to cause it.

Expected result

I should be able to select the row option normally as when SiYuan is focused.

Screenshot or screen recording presentation

dopus_RGWugxYMXl.mp4
dopus_YUBjlEs0fZ.mp4

Version environment

- Version: 3.0.4
- Operating System: Windows 11
- Browser (if used):

Log file

Dev.zip

I 2024/03/25 11:06:59 working.go:146: 
      ___                                   ___           ___           ___
     /  /\        ___           ___        /__/\         /  /\         /__/\
    /  /:/_      /  /\         /__/|       \  \:\       /  /::\        \  \:\
   /  /:/ /\    /  /:/        |  |:|        \  \:\     /  /:/\:\        \  \:\
  /  /:/ /::\  /__/::\        |  |:|    ___  \  \:\   /  /:/~/::\   _____\__\:\
 /__/:/ /:/\:\ \__\/\:\__   __|__|:|   /__/\  \__\:\ /__/:/ /:/\:\ /__/::::::::\
 \  \:\/:/~/:/    \  \:\/\ /__/::::\   \  \:\ /  /:/ \  \:\/:/__\/ \  \:\~~\~~\/
  \  \::/ /:/      \__\::/    ~\~~\:\   \  \:\  /:/   \  \::/       \  \:\  ~~~
   \__\/ /:/       /__/:/       \  \:\   \  \:\/:/     \  \:\        \  \:\
     /__/:/        \__\/         \__\/    \  \::/       \  \:\        \  \:\
     \__\/                                 \__\/         \__\/         \__\/
I 2024/03/25 11:06:59 runtime.go:74: kernel is booting:
    * ver [3.0.4]
    * arch [amd64]
    * os [Microsoft Windows 11 IoT Enterprise]
    * pid [14000]
    * runtime mode [prod]
    * working directory [C:\Users\Administrator\AppData\Local\Programs\SiYuan\resources]
    * read only [false]
    * container [std]
    * database [ver=20220501]
    * workspace directory [C:\Shina\Dev]
I 2024/03/25 11:06:59 conf.go:156: initialized language [en_US] based on device locale
I 2024/03/25 11:06:59 runtime.go:123: use network proxy [system]
I 2024/03/25 11:06:59 serve.go:115: kernel [pid=14000] http server [127.0.0.1:63462] is booting
I 2024/03/25 11:06:59 database.go:89: the database structure is changed, rebuilding database...
I 2024/03/25 11:06:59 database.go:109: reinitialized database [C:\Shina\Dev\temp\siyuan.db]
I 2024/03/25 11:06:59 conf.go:807: database size [4.1 kB], tree/block count [0/0]
I 2024/03/25 11:06:59 working.go:192: kernel booted
I 2024/03/25 11:06:59 box.go:76: auto stat [trees=0, blocks=0, dataSize=37 kB, assetsSize=0 B]
I 2024/03/25 11:06:59 disk.go:33: disk usage [total=999 GB, used=306 GB, free=693 GB]
I 2024/03/25 11:07:00 index.go:197: rebuilt database for notebook [20210808180117-6v0mkxr] in [0.01s], tree [count=66, size=1.2 MB]
I 2024/03/25 11:07:00 index.go:269: resolved refs [31] in [21ms]
I 2024/03/25 11:07:00 pandoc.go:155: initialized built-in pandoc [ver=3.1.1, bin=C:\Shina\Dev\temp\pandoc\bin\pandoc.exe]
I 2024/03/25 11:07:00 conf.go:1051: pandoc initialized, set pandoc bin to [C:\Shina\Dev\temp\pandoc\bin\pandoc.exe]
I 2024/03/25 11:07:07 index.go:197: rebuilt database for notebook [20240325110707-30xjuz0] in [0.00s], tree [count=0, size=0 B]
I 2024/03/25 11:07:07 index.go:269: resolved refs [31] in [20ms]
W 2024/03/25 11:07:08 blocktree.go:552: save block tree [size=633 kB] to [C:\Shina\Dev\temp\blocktree], elapsed [3.79s]
I 2024/03/25 11:27:10 conf.go:547: exiting kernel [force=false, execInstallPkg=0]
I 2024/03/25 11:27:13 conf.go:1041: closed user guide box [20210808180117-6v0mkxr]
I 2024/03/25 11:27:13 database.go:1244: closed database
W 2024/03/25 11:27:15 blocktree.go:552: save block tree [size=878 B] to [C:\Shina\Dev\temp\blocktree], elapsed [3.86s]
I 2024/03/25 11:27:15 conf.go:970: cleared workspace temp
I 2024/03/25 11:27:15 sync.go:712: sync websocket closed
I 2024/03/25 11:27:16 conf.go:615: exited kernel
I 2024/03/25 11:30:00 working.go:146: 
      ___                                   ___           ___           ___
     /  /\        ___           ___        /__/\         /  /\         /__/\
    /  /:/_      /  /\         /__/|       \  \:\       /  /::\        \  \:\
   /  /:/ /\    /  /:/        |  |:|        \  \:\     /  /:/\:\        \  \:\
  /  /:/ /::\  /__/::\        |  |:|    ___  \  \:\   /  /:/~/::\   _____\__\:\
 /__/:/ /:/\:\ \__\/\:\__   __|__|:|   /__/\  \__\:\ /__/:/ /:/\:\ /__/::::::::\
 \  \:\/:/~/:/    \  \:\/\ /__/::::\   \  \:\ /  /:/ \  \:\/:/__\/ \  \:\~~\~~\/
  \  \::/ /:/      \__\::/    ~\~~\:\   \  \:\  /:/   \  \::/       \  \:\  ~~~
   \__\/ /:/       /__/:/       \  \:\   \  \:\/:/     \  \:\        \  \:\
     /__/:/        \__\/         \__\/    \  \::/       \  \:\        \  \:\
     \__\/                                 \__\/         \__\/         \__\/
I 2024/03/25 11:30:00 runtime.go:74: kernel is booting:
    * ver [3.0.4]
    * arch [amd64]
    * os [Microsoft Windows 11 IoT Enterprise]
    * pid [14728]
    * runtime mode [prod]
    * working directory [C:\Users\Administrator\AppData\Local\Programs\SiYuan\resources]
    * read only [false]
    * container [std]
    * database [ver=20220501]
    * workspace directory [C:\Shina\Dev]
I 2024/03/25 11:30:00 runtime.go:123: use network proxy [system]
I 2024/03/25 11:30:00 serve.go:115: kernel [pid=14728] http server [127.0.0.1:63691] is booting
I 2024/03/25 11:30:00 blocktree.go:495: read block tree [878 B] to [C:\Shina\Dev\temp\blocktree], elapsed [0.00s]
I 2024/03/25 11:30:00 conf.go:807: database size [7.1 MB], tree/block count [1/3]
I 2024/03/25 11:30:00 working.go:192: kernel booted
I 2024/03/25 11:30:00 pandoc.go:132: built-in pandoc [ver=3.1.1, bin=C:\Shina\Dev\temp\pandoc\bin\pandoc.exe]
I 2024/03/25 11:30:00 conf.go:1051: pandoc initialized, set pandoc bin to [C:\Shina\Dev\temp\pandoc\bin\pandoc.exe]
I 2024/03/25 11:30:00 box.go:76: auto stat [trees=1, blocks=3, dataSize=78 kB, assetsSize=0 B]
I 2024/03/25 11:30:00 disk.go:33: disk usage [total=999 GB, used=307 GB, free=693 GB]
I 2024/03/25 11:34:54 conf.go:547: exiting kernel [force=false, execInstallPkg=0]
I 2024/03/25 11:34:54 database.go:1244: closed database
I 2024/03/25 11:34:54 conf.go:970: cleared workspace temp
I 2024/03/25 11:34:55 sync.go:712: sync websocket closed
I 2024/03/25 11:50:14 working.go:146: 
      ___                                   ___           ___           ___
     /  /\        ___           ___        /__/\         /  /\         /__/\
    /  /:/_      /  /\         /__/|       \  \:\       /  /::\        \  \:\
   /  /:/ /\    /  /:/        |  |:|        \  \:\     /  /:/\:\        \  \:\
  /  /:/ /::\  /__/::\        |  |:|    ___  \  \:\   /  /:/~/::\   _____\__\:\
 /__/:/ /:/\:\ \__\/\:\__   __|__|:|   /__/\  \__\:\ /__/:/ /:/\:\ /__/::::::::\
 \  \:\/:/~/:/    \  \:\/\ /__/::::\   \  \:\ /  /:/ \  \:\/:/__\/ \  \:\~~\~~\/
  \  \::/ /:/      \__\::/    ~\~~\:\   \  \:\  /:/   \  \::/       \  \:\  ~~~
   \__\/ /:/       /__/:/       \  \:\   \  \:\/:/     \  \:\        \  \:\
     /__/:/        \__\/         \__\/    \  \::/       \  \:\        \  \:\
     \__\/                                 \__\/         \__\/         \__\/
I 2024/03/25 11:50:14 runtime.go:74: kernel is booting:
    * ver [3.0.4]
    * arch [amd64]
    * os [Microsoft Windows 11 IoT Enterprise]
    * pid [7928]
    * runtime mode [prod]
    * working directory [C:\Users\Administrator\AppData\Local\Programs\SiYuan\resources]
    * read only [false]
    * container [std]
    * database [ver=20220501]
    * workspace directory [C:\Shina\Dev]
I 2024/03/25 11:50:14 runtime.go:123: use network proxy [system]
I 2024/03/25 11:50:14 serve.go:115: kernel [pid=7928] http server [127.0.0.1:63780] is booting
I 2024/03/25 11:50:14 blocktree.go:495: read block tree [878 B] to [C:\Shina\Dev\temp\blocktree], elapsed [0.00s]
I 2024/03/25 11:50:14 conf.go:807: database size [7.1 MB], tree/block count [1/3]
I 2024/03/25 11:50:14 working.go:192: kernel booted
I 2024/03/25 11:50:14 pandoc.go:132: built-in pandoc [ver=3.1.1, bin=C:\Shina\Dev\temp\pandoc\bin\pandoc.exe]
I 2024/03/25 11:50:14 conf.go:1051: pandoc initialized, set pandoc bin to [C:\Shina\Dev\temp\pandoc\bin\pandoc.exe]
I 2024/03/25 11:50:14 box.go:76: auto stat [trees=1, blocks=3, dataSize=77 kB, assetsSize=0 B]
I 2024/03/25 11:50:14 disk.go:33: disk usage [total=999 GB, used=307 GB, free=693 GB]
I 2024/03/25 11:50:15 serve.go:128: reverse proxy server [127.0.0.1:6806] is booting
I 2024/03/25 11:53:19 conf.go:547: exiting kernel [force=false, execInstallPkg=0]
I 2024/03/25 11:53:19 database.go:1244: closed database
I 2024/03/25 11:53:19 conf.go:970: cleared workspace temp
I 2024/03/25 11:53:20 sync.go:712: sync websocket closed

More information

No response

@TCOTC
Copy link
Contributor

TCOTC commented Mar 25, 2024

我可以复现,这里也许需要靠近一些:

image

行

@Shina-SG
Copy link
Author

Yeah, seems to be that little space over there, mainly CSS part I think

是的,似乎有那么一点空间,我想主要是CSS部分

@Vanessa219 Vanessa219 added this to the 3.0.6 milestone Mar 28, 2024
Vanessa219 added a commit that referenced this issue Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants