‘Black box’ is too long. I tested several programs

I have a problem with the font,The ״black box״ is too long.I tested several programs.I made a video showing the values in the Glyphs app
https://www.youtube.com/watch?v=m0zKrUZMv6Y

The selection triangle in Adobe apps indicates the bounding box of the font. That means that somewhere in your font, there is a path that actually reaches that low. Try the mekkablue script Test > Report Highest and Lowest Glyphs to find the culprit.

See also this thread: Problem with font selection height

Thanks for the quick reply,But I did not understand where I was writing the code line

You need to install the script and run it from Scripts menu. The installation is explained in the handbook, page 172.

Yes. And there are also instructions on the GitHub page.