diff --git a/src/main/java/org/jabref/gui/JabRefDialogService.java b/src/main/java/org/jabref/gui/JabRefDialogService.java index 7fb240358a7..e5cb6e486fc 100644 --- a/src/main/java/org/jabref/gui/JabRefDialogService.java +++ b/src/main/java/org/jabref/gui/JabRefDialogService.java @@ -336,11 +336,18 @@ public void notify(String message) { DefaultTaskExecutor.runInJavaFXThread(() -> { Notifications.create() - .text(message) - .position(Pos.BOTTOM_CENTER) - .hideAfter(TOAST_MESSAGE_DISPLAY_TIME) - .hideCloseButton() - .show(); + .text(message) + .position(Pos.BOTTOM_CENTER) + .hideAfter(TOAST_MESSAGE_DISPLAY_TIME) + .owner(mainWindow) + .threshold(5, + Notifications.create() + .title(Localization.lang("Last notification")) + .text( + "(" + Localization.lang("Check the event log to see all notifications") + ")" + + "\n\n" + message)) + .hideCloseButton() + .show(); }); } diff --git a/src/main/resources/l10n/JabRef_en.properties b/src/main/resources/l10n/JabRef_en.properties index 4f9e9e4df15..a42cd243fae 100644 --- a/src/main/resources/l10n/JabRef_en.properties +++ b/src/main/resources/l10n/JabRef_en.properties @@ -1668,6 +1668,8 @@ Issue\ report\ successful=Issue report successful Your\ issue\ was\ reported\ in\ your\ browser.=Your issue was reported in your browser. The\ log\ and\ exception\ information\ was\ copied\ to\ your\ clipboard.=The log and exception information was copied to your clipboard. Please\ paste\ this\ information\ (with\ Ctrl+V)\ in\ the\ issue\ description.=Please paste this information (with Ctrl+V) in the issue description. +Last\ notification=Last notification +Check\ the\ event\ log\ to\ see\ all\ notifications=Check the event log to see all notifications Host=Host Port=Port