From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web08.6624.1609206322006148330 for ; Mon, 28 Dec 2020 17:45:23 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Tue, 29 Dec 2020 09:45:18 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , , , Cc: , References: In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIXSBNZGVNb2R1bGVQa2cvRGlzcGxheUVuZ2luZUR4ZTogRml4IEhlbHAgaW5mb3JtYXRpb24gc2hhZG93IHByb2JsZW0=?= Date: Tue, 29 Dec 2020 09:45:18 +0800 Message-ID: <002601d6dd84$43854f80$ca8fee80$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQHTSsF/hn0oBvzsQWtCFdV9S4eMjaoUcphg Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-language: zh-cn Chao: Please submit BZ in https://bugzilla.tianocore.org/, and fill more = detail scription. It will be helpful for others to understand this problem. =20 Thanks Liming > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: bounce+27952+69488+4905953+8761045@groups.io > =B4=FA=B1=ED > gechao@greatwall.com.cn > =B7=A2=CB=CD=CA=B1=BC=E4: 2020=C4=EA12=D4=C228=C8=D5 17:12 > =CA=D5=BC=FE=C8=CB: dandan.bi@intel.com; eric.dong@intel.com > =B3=AD=CB=CD: devel@edk2.groups.io; jian.j.wang@intel.com; = hao.a.wu@intel.com; > gechao > =D6=F7=CC=E2: [edk2-devel] [PATCH] MdeModulePkg/DisplayEngineDxe: Fix = Help > information shadow problem >=20 > From: gechao >=20 > Fix residual display problem in help information section with = different > length string. When switching between different items, the help = inform- > ation part may remain the last displayed help information content. > Example: > Last: ABCDEFGH, New: 1234567 > Result: 1234567H >=20 > Signed-off-by: gechao > --- > .../Universal/DisplayEngineDxe/FormDisplay.c | 27 > +++++++++++++++++++ > 1 file changed, 27 insertions(+) >=20 > diff --git a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c > b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c > index a3898dc2ec..abb4843a73 100644 > --- a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c > +++ b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c > @@ -3061,6 +3061,15 @@ UiDisplayMenu ( > // >=20 > if (!MultiHelpPage) { >=20 > for (Index =3D 0; Index < HelpLine; Index++) { >=20 > + // >=20 > + // Clear whole line first, Clear the last displayed information. >=20 > + // >=20 > + PrintStringAtWithWidth ( >=20 > + gStatementDimensions.RightColumn - gHelpBlockWidth, >=20 > + Index + TopRow, >=20 > + gEmptyString, >=20 > + gHelpBlockWidth >=20 > + ); >=20 > PrintStringAtWithWidth ( >=20 > gStatementDimensions.RightColumn - gHelpBlockWidth, >=20 > Index + TopRow, >=20 > @@ -3080,6 +3089,15 @@ UiDisplayMenu ( > } else { >=20 > if (HelpPageIndex =3D=3D 0) { >=20 > for (Index =3D 0; Index < RowCount - HelpBottomLine; = Index++) { >=20 > + // >=20 > + // Clear whole line first, Clear the last displayed information. >=20 > + // >=20 > + PrintStringAtWithWidth ( >=20 > + gStatementDimensions.RightColumn - gHelpBlockWidth, >=20 > + Index + TopRow, >=20 > + gEmptyString, >=20 > + gHelpBlockWidth >=20 > + ); >=20 > PrintStringAtWithWidth ( >=20 > gStatementDimensions.RightColumn - gHelpBlockWidth, >=20 > Index + TopRow, >=20 > @@ -3090,6 +3108,15 @@ UiDisplayMenu ( > } else { >=20 > for (Index =3D 0; (Index < RowCount - HelpBottomLine - > HelpHeaderLine) && >=20 > (Index + HelpPageIndex * (RowCount - 2) + 1 < = HelpLine); > Index++) { >=20 > + // >=20 > + // Clear whole line first, Clear the last displayed information. >=20 > + // >=20 > + PrintStringAtWithWidth ( >=20 > + gStatementDimensions.RightColumn - gHelpBlockWidth, >=20 > + Index + TopRow + HelpHeaderLine, >=20 > + gEmptyString, >=20 > + gHelpBlockWidth >=20 > + ); >=20 > PrintStringAtWithWidth ( >=20 > gStatementDimensions.RightColumn - gHelpBlockWidth, >=20 > Index + TopRow + HelpHeaderLine, >=20 > -- > 2.25.1 >=20 >=20 >=20 > -=3D-=3D-=3D-=3D-=3D-=3D > Groups.io Links: You receive all messages sent to this group. > View/Reply Online (#69488): = https://edk2.groups.io/g/devel/message/69488 > Mute This Topic: https://groups.io/mt/79282846/4905953 > Group Owner: devel+owner@edk2.groups.io > Unsubscribe: https://edk2.groups.io/g/devel/unsub > [gaoliming@byosoft.com.cn] > -=3D-=3D-=3D-=3D-=3D-=3D >=20