Desktop: "New note" and "new to-do" buttons too small on startup when the first notebook is the trash notebook
Operating system
Linux
Joplin version
3.0.0
Desktop version info
Joplin 3.0.0 (dev, linux)
Client ID: 44da07c87ebf4662aa0e0f97f77f7f38 Sync Version: 3 Profile Version: 46 Keychain Supported: No
Revision: 1ab891723 (pr/user-action-log)
Backup: 1.4.0 CodeMirror 6 snippets: 0.0.5
Current behaviour
- Open Joplin
- Delete a note.
- Permanently delete the note from the trash.
- Quit Joplin
- Start Joplin
- Inspect the "new note" and "new to-do" buttons in the sidebar
- Resize the sidebar
Expected behaviour
The "new note" and "new to-do" buttons should not have text that overflows their borders.
Logs
No response
I checked it several times in my Windows, but it didn't show me the bug.
Sorry, but where is the Trash Can feature? I'm in 2.14.17 version
Sorry, but where is the Trash Can feature? I'm in 2.14.17 version
You need version 3, so build from dev
I checked it several times in my Windows, but it didn't show me the bug.
![]()
Because your starting notebook isn't the trash notebook. Read the description again
Okay, I nailed the bug, the bug have nothing to do with trashcan. It's the switching of search bar to add note. Steps to reproduce:
- Open a brand new joplin (or new profile)
- Click on trash can, so that the add note is hidden
- close app and reopen, add notebook and shall see bug
I'm on Linux (debian). Can you leave this bug for me to fix? I know we don't assign on Joplin, who fix first get first pr, but I'd appreciate if this is spared for tomorrow, trying to get my first bug :D
Is this specific to Linux? I am unable to recreate it on windows
I haven't tested on Windows, but I believe it's all desktop platforms, because it's a React state update bug. #10076