joplin icon indicating copy to clipboard operation
joplin copied to clipboard

Desktop: "New note" and "new to-do" buttons too small on startup when the first notebook is the trash notebook

Open personalizedrefrigerator opened this issue 2 years ago • 7 comments

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

  1. Open Joplin
  2. Delete a note.
  3. Permanently delete the note from the trash.
  4. Quit Joplin
  5. Start Joplin
  6. Inspect the "new note" and "new to-do" buttons in the sidebar screenshot: new note and new to-do buttons overflow their borders.
  7. 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. Screenshot 2024-03-06 200034 Screenshot 2024-03-06 200045

Praveen03AJJARAPU avatar Mar 06 '24 14:03 Praveen03AJJARAPU

Sorry, but where is the Trash Can feature? I'm in 2.14.17 version

khuongduy354 avatar Mar 06 '24 18:03 khuongduy354

Sorry, but where is the Trash Can feature? I'm in 2.14.17 version

You need version 3, so build from dev

roman-r-m avatar Mar 06 '24 18:03 roman-r-m

I checked it several times in my Windows, but it didn't show me the bug. Screenshot 2024-03-06 200034 Screenshot 2024-03-06 200045

Because your starting notebook isn't the trash notebook. Read the description again

roman-r-m avatar Mar 06 '24 18:03 roman-r-m

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:

  1. Open a brand new joplin (or new profile)
  2. Click on trash can, so that the add note is hidden image
  3. 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

khuongduy354 avatar Mar 06 '24 18:03 khuongduy354

Is this specific to Linux? I am unable to recreate it on windows

shivansh193 avatar Mar 07 '24 03:03 shivansh193

I haven't tested on Windows, but I believe it's all desktop platforms, because it's a React state update bug. #10076

khuongduy354 avatar Mar 07 '24 07:03 khuongduy354