Closed pluma9 closed 1 year ago
I can't replicate this on v1.4.11
Anyone else experiences this same issue? I can replicate this every single time I follow the above steps. Below is another screenshot of unexpectedly empty note list. After I put the mouse on the note list and scroll, that empty note list is filled with full of notes.
Same here and I too can replicate this every single time. All the notes in the note list above the one that was searched for become invisible. Nothing in the log or console, it just says CommandService::execute: toggleNoteList
and then continues as usual without warnings or errors. I'm currently on 1.4.19, but it started before that.
Joplin version: 1.4.19 (AppImage) Platform: Linux OS specifics: openSUSE Tumbleweed
Had a look at this issue yesterday. The root cause is that when switching to a new notebook the hightlighted item is recalculated in ItemList.updateStateItemIndexes
but if the list is not visible then props.style.height
is -50 so visibleItemCount
and bottomItemIndex
end up negative and this messes up the layout.
Haven't found a good way to fix it yet.
@roman-r-m I am working on this. I checked and the issue still persists for the latest release on both Linux(AppImage) and Windows.
I am able to reproduce this on macOS too. Trying to find a solution.
@coderrsid There's an ongoing discussion about this in the forum. You may find it helpful.
Had a look at this issue yesterday. The root cause is that when switching to a new notebook the hightlighted item is recalculated in
ItemList.updateStateItemIndexes
but if the list is not visible thenprops.style.height
is -50 sovisibleItemCount
andbottomItemIndex
end up negative and this messes up the layout. Haven't found a good way to fix it yet.
So turns out the issue was with the scrollheight('this.scrollTop_' in
I am writing code to update the scrollTop in 'updateStateItemIndexes' method in
I've reverted the "fix" for this bug since it appears to have caused this regression: https://github.com/laurent22/joplin/issues/8237 https://github.com/laurent22/joplin/issues/8235 So it still needs to be fixed, but in a different way
Closing as the note list has been rewritten so there's a good chance this bug is gone
Environment
Joplin version: 1.4.11 Platform: Windows OS specifics: 10
Steps to reproduce
Describe what you expected to happen
The top part of the Note list renders properly right after the Note list shows up.
Screenshot:
Logfile
Warning in development tools: