Change tooltip delay#12718
Conversation
|
1)I have updated the tooltip delay in Base.css, ensuring uniformity across all places. |
If that is the case, why was a separate change needed at the maintable class? |
The Base.css change ensures uniform delay, but MainTable had a separate setting that needed adjustment for consistency |
| this.preferences = preferences; | ||
| this.preview = new PreviewViewer(dialogService, preferences, themeManager, taskExecutor); | ||
| this.setShowDelay(Duration.seconds(1)); | ||
| this.setShowDelay(Duration.millis(500)); |
There was a problem hiding this comment.
I think this can be removed then? @Siedlerchr
With reference to #12718 (comment)
There was a problem hiding this comment.
@Imran8125 please do not resolve review comments until you have acted on them
There was a problem hiding this comment.
@koppor I have now removed it to ensure consistency. Let me know if any further changes are needed.
@Imran8125 Please do not ignore that comment. If the text is unclear, please propose a new text. GitHub also shows a button to take action: |
| this.preferences = preferences; | ||
| this.preview = new PreviewViewer(dialogService, preferences, themeManager, taskExecutor); | ||
| this.setShowDelay(Duration.seconds(1)); | ||
| this.setShowDelay(Duration.millis(500)); |
… into fix-tooltip-delay
… into fix-tooltip-delay
koppor
left a comment
There was a problem hiding this comment.
500ms is still to slow for me as impatient user.
That the tooltip suddenly disappears (without fade-out) puzzles me. Therefore the proposal to remove it.
|
I updated the branch to bring in #12736 here, too. |
|
@trag-bot didn't find any issues in the code! ✅✨ |
* Fixed tooltip delay (JabRef#12649) * corrected a typo in CHANGELOD.md * Updated the CHANGELOG * Removed the setShowDelay method * fixed the checkstyle * Apply suggestions from code review --------- Co-authored-by: Oliver Kopp <kopp.dev@gmail.com>

Description
This PR fixes tooltip delay from 2sec to 500ms and made changes to Base.css and MainTableTooltip
Changes
Updated Base.css to adjust tooltip delay settings.
Modified MainTableTooltip to align with these changes.
Why?
Ensures a smoother UX experience.
Closes #12649
Mandatory checks
CHANGELOG.mddescribed in a way that is understandable for the average user (if change is visible to the user)