rnote icon indicating copy to clipboard operation
rnote copied to clipboard

PopUp file modified on disk

Open hantangantan opened this issue 1 year ago • 4 comments

Describe the bug
When pressing save button n times while save in progress n-1 popups appear after each other signaling that file was changed on hard drive.

To Reproduce

  1. Create/Open document
  2. tap save button multiple times (spam button)

Expected behavior
No popup boxes appear

Screenshots
image

Desktop (please complete the following information):

  • OS: Fedora 40
  • App Version: Rnote v0.11.0
  • Installation Source: Flatpak
  • Desktop Environment: KDE Plasma 6.1.3
  • Display Server: Wayland

hantangantan avatar Jul 26 '24 15:07 hantangantan

can you run the application like mentioned in the bug report template and post the output? Thank you.

flxzt avatar Jul 26 '24 15:07 flxzt

i only get this output within my terminal:

2024-07-26T15:11:17.450097Z DEBUG rnote: .. tracing subscriber initialized. then programm is started but detached from my terminal

hantangantan avatar Jul 26 '24 15:07 hantangantan

Detached from your terminal? That shouldn't happen. Your run command should be flatpak --env=RUST_LOG=rnote=debug --env=RUST_BACKTRACE=1 run com.github.flxzt.rnote.

Edit: Actually I can reproduce this.

flxzt avatar Aug 03 '24 08:08 flxzt

Oh, I am sorry - the command is actually working - when i spammed the button first, simply no output was created.

I just tried again - now the app crashes when spamming the button.

Output log is: ** Adwaita:ERROR:../src/adw-toast-overlay.c:244:show_toast: assertion failed: (!info->widget) Bail out! Adwaita:ERROR:../src/adw-toast-overlay.c:244:show_toast: assertion failed: (!info->widget)

hantangantan avatar Aug 03 '24 11:08 hantangantan