Repository navigation
Show and dismiss notifications instantly instead of sliding and fading - #16306
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Late height changes on a new card, the next card's text taking the front, and clearing several cards now jump too. Departure drops the fade-era resting placement, so a leaving card is hidden and takes no input, and its deferred removal no longer cuts short an unrelated animation. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ions-no-slide # Conflicts: # shell/plugins/notifications/Service.qml # shell/plugins/notifications/Toast.qml # test/shell.d/notifications/logic.cjs
Contributor
[Medium impact] No actionable defect was found in the changed code. SummaryNotifications now appear and disappear without sliding or fading.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New notifications used to start 30px above their spot, transparent, and slide down and fade in over ~320ms. Dismissed, expired and cleared cards faded out while the rest of the stack slid over them. Now both are instant: a new card is simply there at full opacity, and a closed card disappears with the stack jumping to its new layout.
land()on the scene clock stops the clock and jumps every card to its target. Arrival (showRow) and departure (closeToasts) use it instead of an animatedretarget.finishLeaving), never from inside the delegate handler that dismissed it. The fade-erarestingPlaceoverride andsceneSettledare gone.clearAll/clearDeckclose their cards in one jump instead of one per card.settledsignal drives the hover re-hit-test after either a jump or a finished animation.Hover expand/collapse and in-place updates still animate.
Tests:
test/shell.d/notifications-test.shpasses. The close test now drains the deferred removal, and a new case checks that clearing several cards lands once. Not yet checked visually in a live session.🤖 Generated with Claude Code