Skip to content

Make chat dialog show up as fullscreen on iOS#3830

Open
mcfnord wants to merge 1 commit into
jamulussoftware:mainfrom
mcfnord:fix-3383-chat-fullscreen-ios
Open

Make chat dialog show up as fullscreen on iOS#3830
mcfnord wants to merge 1 commit into
jamulussoftware:mainfrom
mcfnord:fix-3383-chat-fullscreen-ios

Conversation

@mcfnord

@mcfnord mcfnord commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Note

📡 STAND BY FOR AN LLM-AUTHORED MESSAGE.

Fixes #3383.

The chat dialog overflows the screen on iOS because it never sets Qt::WindowMaximized. #3343 (commit 40e5af1, "Make connect dialog show up as fullscreen on iOS") fixed the identical symptom by adding

#if defined( ANDROID ) || defined( Q_OS_IOS )
    setWindowState ( Qt::WindowMaximized );
#endif

to the connect dialog (connectdlg.cpp) and the about dialog (util.cpp) — but the chat dialog, the third dialog with the same problem, was never given the same treatment. This applies that same, already-merged pattern to CChatDlg, verbatim.

Scope: one hunk, iOS/Android only (the block preprocesses out on every other platform, so desktop builds are unaffected). No behavior change anywhere except making the chat window open maximized on mobile, exactly as the connect and about dialogs already do.

Testing note, stated plainly: I could not exercise the changed line myself — it lives inside #if defined( ANDROID ) || defined( Q_OS_IOS ), so it compiles out on the Linux/desktop toolchain I have. Its correctness rests on being identical to the two instances already shipping (connectdlg.cpp, util.cpp), and on setWindowState() being a QWidget method CChatDlg inherits just as CConnectDlg and CAboutDlg do. A confirmation on real iOS hardware would be welcome before merge.

The chat dialog overflowed the screen on iOS because it never set
Qt::WindowMaximized, unlike the connect dialog and about dialog which
were fixed for the same symptom in jamulussoftware#3343 (commit 40e5af1). This applies
the identical, already-merged pattern to the third and last affected
dialog.

Fixes jamulussoftware#3383

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

Make chat dialog show up as full screen on iOS

1 participant