-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix notifications that overlap task bar #8775
Conversation
@LIM0000 Isn't the task bar (of Windows, not of JabRef) in the screenshot still overlapped? Maybe there was a misunderstanding, what #8769 is about (not the many notifications that fill the entire window, that is a coincidence, but the notification that does not stay inside the JabRef window, but is overlapping the Windows task bar). The many notifications filling the entire window might also be of concern, though. |
Thank you @claell, I definitely misread the issue. |
the NotificationPane comes from ControlsFX, maybe you find the issue somewhere in the code there https://github.com/controlsfx/controlsfx/ |
I have pushed a solution for this issue by setting the owner of notification to Jabref window instead of whole screen. |
What does the notification threshold do exactly? I assume this one: https://controlsfx.github.io/javadoc/11.1.1/org.controlsfx.controls/org/controlsfx/control/Notifications.html#threshold(int,org.controlsfx.control.Notifications)? Would be interesting to see the behavior of it in action. Might feel a bit weird if there are first four notifications and if a fifth one comes up, they are all merged into one (if I understand the behavior correctly). |
@claell |
That is what I thought. Does this offer a good experience? This probably doesn't happen often, so maybe not that important. I am only concerned that collapsing will lose information (in case different types of notifications are collapsed into one where you maybe cannot see the content of the individual ones anymore) or look weird. |
…tification title of threshold
Thanks for your review @Siedlerchr, they are really valuable to me! |
The reason for not using the threshold is that users might tend to miss out on the notification. Unless we have a tab/option to give all the notifications. It would be better not to collapse the notification. @Siedlerchr thoughts on this? |
Might be a good way. There also seems to be a method for what to do when the user clicks the notification (which could open the event log in case of a collapsed notification): https://controlsfx.github.io/javadoc/11.1.1/org.controlsfx.controls/org/controlsfx/control/Notifications.html#onAction(javafx.event.EventHandler). |
@LIM0000 I would appreciate it if you could finish this soon with the suggested changes |
Thank you @Siedlerchr , I have added all required changes in the latest commit. |
Another alternative wording: "Check the event log to see all notifications" I would suggest to keep calling "notifications" and "messages" coherent. Either call them messages or call them notifications. Not both. On a side note: would it be possible to make this a two liner (or maybe even a one liner)? e.g.:
|
* upstream/main: checkstye Default path for ssl key store is nested inside "JabRef" directory (JabRef#8796) Add log on disk (JabRef#8791) Squashed 'buildres/csl/csl-styles/' changes from 25512a5..649aac4
Adjusted based on @ThiloteE suggestiosn |
Fair enough. |
* upstream/main: (109 commits) Fix right clicking a group and choosing "remove selected entries from this group" leads to error when Bibtex source tab is selected (JabRef#8821) Fix single identifier cannot be opened on click (JabRef#8838) Add Pubmed/Medline Query Transformer (JabRef#8818) adjust and add testcases for FileAnnotationViewModel (JabRef#8830) Append config instead of replacing (JabRef#8834) Fix eclipse config (JabRef#8835) Add Nemo file manager (JabRef#8831) Fix missing clear action on pressing esc within the "Filter groups" field (JabRef#8829) Update bouncycalse to new base version (JabRef#8827) add: add test cases for FileUtil (JabRef#8810) Restrict use of standard streams (JabRef#8816) updated 8802 (JabRef#8817) Bump pascalgn/automerge-action from 0.15.2 to 0.15.3 (JabRef#8803) Bump jackson-dataformat-yaml from 2.13.2 to 2.13.3 (JabRef#8804) Bump icu4j-charset from 70.1 to 71.1 (JabRef#8805) Fix notifications that overlap task bar (JabRef#8775) checkstye Default path for ssl key store is nested inside "JabRef" directory (JabRef#8796) Add log on disk (JabRef#8791) Fix for JabRef#8788 JabRef not showing contents of shared database library (JabRef#8793) ...
Previous discussion for notification system that overlaps task bar: #8769
Proposal solution: Set owner of notification to Jabref window instead of whole screen
Fixes: #8769
PR Checklist:
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)