Skip to content

Widen account wizard so localized button labels fit - #10907

Merged
i2h3 merged 1 commit into
masterfrom
i2h3/fix/wizard-width
Sep 23, 2026
Merged

i2h3 merged 1 commit into
masterfrom
i2h3/fix/wizard-width

Conversation

@i2h3

@i2h3 i2h3 commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

The folder step's footer splits its width equally between four buttons, so at 600 px the German "Später einrichten" and "Fortgeschritten" were truncated. The "Choose" button had a fixed width of 96 px, which cut off "Auswählen". French ("Configurer plus tard") and Spanish ("Configurar más tarde") are truncated in the same footer as well.

Use a new Style.accountWizardWidth of 720 px as width and minimum width for every wizard step, so the window does not change width between steps. Give the "Choose" button a minimum width of 96 px and let it grow with its label. This fixes German; the French and Spanish "Set up later" labels still do not fit at 720 px and would need about 820 px or content-sized footer buttons.

Add a QML test that loads AccountWizardWindow with a mock controller and checks the width across steps, the German footer labels (macOS only, since the width was measured with the macOS system font) and the "Choose" button sizing.

Comparison

Once Upon a Time  Bright Future
Bildschirmfoto 2026-09-23 um 13 57 12
Bildschirmfoto 2026-09-23 um 13 57 20
Bildschirmfoto 2026-09-23 um 13 02 02 Bildschirmfoto 2026-09-23 um 13 58 11

Checklist

AI (if applicable)

@i2h3 i2h3 added this to the 35.0.0 milestone Sep 23, 2026
@i2h3
i2h3 requested a review from kra-mo September 23, 2026 11:41
@i2h3 i2h3 self-assigned this Sep 23, 2026
@i2h3 i2h3 added bug os: 🍎 macOS Apple macOS, formerly also known as OS X os: 🚪 Windows os: 🐧 Linux feature: ☁️ GUI System tray icon and menu. feature: 🗣️ localization Languages, localization and translations. labels Sep 23, 2026
@github-project-automation github-project-automation Bot moved this to 🧭 Planning evaluation (don't pick) in 💻 Desktop Clients team Sep 23, 2026
@i2h3

i2h3 commented Sep 23, 2026

Copy link
Copy Markdown
Collaborator Author

/backport to stable-34.0

@i2h3 i2h3 moved this from 🧭 Planning evaluation (don't pick) to 🏗️ In progress in 💻 Desktop Clients team Sep 23, 2026
The folder step's footer splits its width equally between four buttons, so at 600 px the German "Später einrichten" and "Fortgeschritten" were truncated. The "Choose" button had a fixed width of 96 px, which cut off "Auswählen". French ("Configurer plus tard") and Spanish ("Configurar más tarde") are truncated in the same footer as well.

Use a new Style.accountWizardWidth of 720 px as width and minimum width for every wizard step, so the window does not change width between steps. Give the "Choose" button a minimum width of 96 px and let it grow with its label. This fixes German; the French and Spanish "Set up later" labels still do not fit at 720 px and would need about 820 px or content-sized footer buttons.

Add a QML test that loads AccountWizardWindow with a mock controller and checks the width across steps, the German footer labels (macOS only, since the width was measured with the macOS system font) and the "Choose" button sizing.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
@i2h3
i2h3 force-pushed the i2h3/fix/wizard-width branch from 8cf5366 to 7aa446c Compare September 23, 2026 11:43

@kra-mo kra-mo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sure, makes sense to me

@sonarqubecloud

Copy link
Copy Markdown

@i2h3
i2h3 merged commit fc07fe7 into master Sep 23, 2026
19 of 22 checks passed
@i2h3
i2h3 deleted the i2h3/fix/wizard-width branch September 23, 2026 13:27
@github-project-automation github-project-automation Bot moved this from 🏗️ In progress to ☑️ Done in 💻 Desktop Clients team Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug feature: ☁️ GUI System tray icon and menu. feature: 🗣️ localization Languages, localization and translations. os: 🍎 macOS Apple macOS, formerly also known as OS X os: 🚪 Windows os: 🐧 Linux

Projects

Status: ☑️ Done

Development

Successfully merging this pull request may close these issues.

2 participants