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

Improve visual flickering in database drag & drop #10730

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

Improve visual flickering in database drag & drop #10730

Shina-SG opened this issue Mar 25, 2024 · 3 comments
Assignees
Milestone

Comments

@Shina-SG
Copy link

Shina-SG commented Mar 25, 2024

Visual flickering in Database drag & drop

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

While hold and drag any row to another row, the line that represent where it's going, flickering along side with 🚫

Expected result

It should show no flickering with example on Notion.

Screenshot or screen recording presentation

SiYuan_0gT1P991os.mp4
firefox_C82NvFd86O.mp4

Version environment

- Version: v3.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

More information

No response

@TCOTC
Copy link
Contributor

TCOTC commented Mar 26, 2024

补充:

SHANSHUO

@Vanessa219
Copy link
Member

Vanessa219 commented Sep 21, 2024

目前没有 🚫 , 经过 #12517 的修改也不存在闪烁的问题了。

Jietu20240921-093340-HD.mp4

@Vanessa219
Copy link
Member

看上去是 windows 下特有的问题,后面再研究研究

@Vanessa219 Vanessa219 reopened this Sep 21, 2024
88250 pushed a commit that referenced this issue Sep 22, 2024
@Vanessa219 Vanessa219 added this to the 3.1.7 milestone Sep 22, 2024
Vanessa219 added a commit that referenced this issue Sep 22, 2024
@88250 88250 changed the title Visual flickering in Database drag & drop Improve visual flickering in database drag & drop Sep 22, 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