MediaInfo icon indicating copy to clipboard operation
MediaInfo copied to clipboard

MediaInfo GUI language specific bug

Open solokot opened this issue 1 year ago • 5 comments

MediaInfo GUI 24.11.1 (DS: MEDIAAREA.NET, 2.16.840.1.101.3.4.2.1 (sha256), 08.11.2024 21:58:38) Host: Windows 10 1809 ru

When selecting some interface languages ​​in the Options->Preferences menu, a phantom horizontal menu appears, repeating the elements of the menu tree. There are also slowdowns and visual rendering defects when moving through sections of the settings menu.

Similar behavior has been detected for the following languages: gr, it, pl, ru.

I couldn't find any obvious defects in the language files. This defect is missing on the previous version of MediaInfo 24.06.

GIF 09 11 2024 19-29-52

solokot avatar Nov 09 '24 16:11 solokot

@JeromeMartinez I think it is due to the way we hide the tabs. I suspect some languages have longer text in the tabs and so the tabs becomes two rows and so the 2nd row becomes visible. Now I also noticed some languages have longer text that overflows the buttons and window. Do you still want to work on PR903? If yes then maybe it's easier to let the author of that PR fix it since he/she is already re-doing the Preferences window in that PR.

Should also try fixing remaining issues in 891 as well as making the Preferences window spawn near the MediaInfo window instead of way outside while at it.

cjee21 avatar Nov 09 '24 17:11 cjee21

dev snapshot.

JeromeMartinez avatar Nov 11 '24 08:11 JeromeMartinez

@JeromeMartinez

dev snapshot The phantom horizontal menu is gone, but the slowdowns on the language settings tabs remain.

24.11-dev

24.06

solokot avatar Nov 12 '24 05:11 solokot

MediaInfo 24.04 vs 24.11 (built from latest master branch) on my PC for reference:

https://github.com/user-attachments/assets/c0201b96-37b7-4ceb-a10a-32e2afd62042

I have no idea what's the cause or solution but suspecting something to do with loading language files or populating the long drop-down list.

This issue should be assigned to someone else since I cannot do anything about it.

cjee21 avatar Nov 12 '24 08:11 cjee21

I think this may be the reason why there is a slowdown in the Preferences language tabs that is only noticeable on certain systems. Every time Preferences->Setup or Preferences->Customize->Language is selected, there are many file accesses to the language files. How noticeable it is probably depends on the storage speed of a particular system or other factors such as caching.

Or it may be just due to performance of populating the long drop down list.

Or could be something else since on my system, newer version is faster but on the other user's system, the new version is the slow one. Also notice a reproducible NAME INVALID on one of the accesses for unknown reason.

Image

cjee21 avatar Feb 02 '25 07:02 cjee21