WebPlatformForEmbedded / WPEWebKit

WPE WebKit port (downstream)
213 stars 141 forks source link

[wpe 2.38] Query - Is there a specific module to check for issue regarding junk characters in password tab? #1428

Open janani-balasubramanian-infosys opened 1 week ago

janani-balasubramanian-infosys commented 1 week ago

In wpe 2.38, In Blue TV, FIIT and ViaPlay apps, while entering the password, wrong or junk characters are seen instead of the masked password character ('bullet point'). In that junk characters, in FIIT app, we could see 'No Glyph' message.

Please let me know any specific module or files to analyse this kind of font related issue.

Below are the links to the apps where the issue is seen. FIIT - https://big-fiit-virgin.core-prod.fiit-tech.net/ BlueTV - https://apps.sctv.ch/ottbigscreen-universal/

Atatching the pictures for reference. Blue TV BlueTV

FIIT app: FIIT

suresh-khurdiya-infosys commented 1 week ago

@pgorszkowski-igalia May I known in which module we should enable the more logs for further investigation. We tried with below files: WebCore/rendering/RenderText.cpp WebCore/html/HTMLInputElement.cpp

As per web inspector element tab, we can see password is masking with dot. But displaying on TV, it shows some other character. So, in which module in WPE , this conversion may happen?

pgorszkowski-igalia commented 1 week ago

@suresh-khurdiya-infosys : I would start here: Source/WebCore/platform/graphics/FontCascadeFonts.cpp and FontCascadeFonts::glyphDataForCharacter

janani-balasubramanian-infosys commented 1 day ago

Thanks @pgorszkowski-igalia for the info!

From that file, I was able to figure out what character is getting printed and its respective glyph. From the below custom logs, I could see that the glyph for all characters is printed as '@' symbol for all the characters which is neither the issue symbol nor the expected glyph.

Nov 22 13:38:37 E0B7B1-APPSTB-301000155301 wpe.sh[15439]: Janani... Glyph data is: 0 Nov 22 13:38:37 E0B7B1-APPSTB-301000155301 wpe.sh[15439]: Janani... glyph data for character...c is: 98, b Nov 22 13:38:37 E0B7B1-APPSTB-301000155301 wpe.sh[15439]: Janani... page number is: 6 Nov 22 13:38:37 E0B7B1-APPSTB-301000155301 wpe.sh[15439]: Janani... glyph data is: @ Nov 22 13:38:37 E0B7B1-APPSTB-301000155301 wpe.sh[15439]: Janani... Glyph data is: @ Nov 22 13:38:37 E0B7B1-APPSTB-301000155301 wpe.sh[15439]: Janani... glyph data for character...c is: 98, b Nov 22 13:38:37 E0B7B1-APPSTB-301000155301 wpe.sh[15439]: Janani... page number is: 6 Nov 22 13:38:37 E0B7B1-APPSTB-301000155301 wpe.sh[15439]: Janani... glyph data is: @ Nov 22 13:38:37 E0B7B1-APPSTB-301000155301 wpe.sh[15439]: Janani... Glyph data is: @

I had added logs in other files such as ./GraphicsLayer.cpp and FontCascade.cpp, but of no use.

So, is there any specific file to look for to get the glyph character for the respective characters pressed?