diff --git a/src/chatdlg.cpp b/src/chatdlg.cpp index d49a716fb9..7a5433b6c2 100644 --- a/src/chatdlg.cpp +++ b/src/chatdlg.cpp @@ -93,6 +93,11 @@ CChatDlg::CChatDlg ( QWidget* parent ) : CBaseDlg ( parent, Qt::Window ) // use // Now tell the layout about the menu layout()->setMenuBar ( pMenu ); +#if defined( ANDROID ) || defined( Q_OS_IOS ) + // for the Android and iOS version maximize the window (#3383) + setWindowState ( Qt::WindowMaximized ); +#endif + // Connections ------------------------------------------------------------- QObject::connect ( edtLocalInputText, &QLineEdit::textChanged, this, &CChatDlg::OnLocalInputTextTextChanged ); diff --git a/src/clientdlg.cpp b/src/clientdlg.cpp index b102c34724..e64251da54 100644 --- a/src/clientdlg.cpp +++ b/src/clientdlg.cpp @@ -1033,8 +1033,12 @@ void CClientDlg::ShowChatWindow ( const bool bForceRaise ) if ( bForceRaise ) { - // make sure dialog is upfront and has focus +#if defined( ANDROID ) || defined( Q_OS_IOS ) + // on Android/iOS the dialog is always shown maximized (#3383); showNormal() would undo that +#else + // make sure dialog is upfront and has focus (not applicable on Android/iOS, see above) ChatDlg.showNormal(); +#endif ChatDlg.raise(); ChatDlg.activateWindow(); }