Skip to content

fix: keep wallpaper status row inside viewport#3357

Draft
svan71 wants to merge 1 commit into
linuxdeepin:masterfrom
svan71:agent/wallpaper-status-row-layout
Draft

fix: keep wallpaper status row inside viewport#3357
svan71 wants to merge 1 commit into
linuxdeepin:masterfrom
svan71:agent/wallpaper-status-row-layout

Conversation

@svan71

@svan71 svan71 commented Jul 17, 2026

Copy link
Copy Markdown

Summary

Prevent the fixed-size wallpaper preview from consuming the RowLayout fill allocation so the sibling status group retains enough width to render inside the viewport.

Root cause

DccRowView forwards Layout.fillWidth to its loader. The 197x110 preview item inherited fillWidth=true, while the adjacent DccGroupView has an implicit width of zero. The layout therefore assigned nearly all spare width to the preview and clipped the status text at the right edge.

Testing

  • qmlformat parsed WallpaperPage.qml successfully
  • git diff --check passed
  • the same one-line layout change was built in the 6.1.99 package and visually verified in the live Control Center
  • current-master full configure is blocked on this Arch host by the unavailable required dareader development package

This change contains no distribution theme or user-specific customization.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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

Please try again later or upgrade to continue using Sourcery

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: svan71

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@deepin-ci-robot

Copy link
Copy Markdown

Hi @svan71. Thanks for your PR. 😃

@deepin-ci-robot

Copy link
Copy Markdown

Hi @svan71. Thanks for your PR.

I'm waiting for a linuxdeepin member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@deepin-bot

deepin-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown

TAG Bot

New tag: 6.1.101
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #3368

@svan71
svan71 force-pushed the agent/wallpaper-status-row-layout branch from 930ae0e to 01e6f18 Compare July 23, 2026 17:03
The fixed-size wallpaper preview inherited Layout.fillWidth from
DccRowView, while the adjacent status DccGroupView has implicit width
zero. The RowLayout then gave nearly all spare width to the preview and
clipped the status text at the right edge.

Stop the preview from consuming the fill allocation so the sibling
status group keeps enough width to stay inside the viewport.
@svan71
svan71 force-pushed the agent/wallpaper-status-row-layout branch from 01e6f18 to bfec0bc Compare July 23, 2026 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants