Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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 this issue Nov 19, 2024 · 3 comments
Assignees
Labels

Comments

@janani-balasubramanian-infosys

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

@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
Copy link

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

@janani-balasubramanian-infosys
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants