Skip to content

fix: resolve splash transition size issue#920

Open
wineee wants to merge 1 commit into
linuxdeepin:masterfrom
wineee:xwayland-fix
Open

fix: resolve splash transition size issue#920
wineee wants to merge 1 commit into
linuxdeepin:masterfrom
wineee:xwayland-fix

Conversation

@wineee
Copy link
Copy Markdown
Member

@wineee wineee commented Jun 1, 2026

This change fixes visual glitches during prelaunch splash hide sequence. For XWayland clients, WSurface::size() returns buffer-space size which differs from scene-space after DPR scaling via surfaceSizeRatio. Additionally, a newly created QQuickItem may report 0 for implicit dimensions before polish/layout. The new implicitSizeReady property ensures we only start the transition animation when valid scene-space dimensions are available.

Influence:

  1. Test XWayland application launch to verify splash screen transitions smoothly without size jumps

PMS: BUG-363265

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @wineee, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

This change fixes visual glitches during prelaunch splash hide sequence.
For XWayland clients, WSurface::size() returns buffer-space size
which differs from scene-space after DPR scaling via surfaceSizeRatio.
Additionally, a newly created QQuickItem may report 0 for implicit
dimensions before polish/layout. The new implicitSizeReady property
ensures we only start the transition animation when valid scene-space
dimensions are available.

Influence:
1. Test XWayland application launch to verify splash screen transitions
smoothly without size jumps

PMS: BUG-363265
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant