MediaArea/MediaInfo

24.06 - Open Preferences and click on "Adavanced" -> GUI buttons appear

Opened this issue · 13 comments

Open MediaInfo
Open "Preferences" and click on "Advanced" then despite search is disabled and version is up to date buttons appear:
24 06 issue

And despite "toolbar" is disabled after closing the "Preferences" the toolbar is not hidden, only the buttons disappear but the place stays like it is still shown, but on only a cut off non-working orange button is shown is this area:
button

There's another minor 'Preferences' window bug I found. When clicking 'More...' next to 'Language' on 'Setup' page, it goes to 'Customize' -> 'Graph'. I'm guessing it should be going to 'Customize' -> 'Language'.

Update: This one fixed by me.

And despite "toolbar" is disabled after closing the "Preferences" the toolbar is not hidden, only the buttons disappear but the place stays like it is still shown, but on only a cut off non-working orange button is shown is this area: https://drive.google.com/file/d/1AamHX_5Ql0HlsKfBwImyLM35kywfcHOE/view?usp=sharing

Steps to reproduce

  1. Open 'Preferences' -> 'Advanced'
  2. Disable 'Show toolbar' and click 'OK'
  3. Do step 1 again
  4. Click 'OK' without touching anything else

If you need anything in this issue, please let me know. Testing or anything, I do it for you.

And translation later, it will take some time. For RTSS and MSI Afterburner I also needed some time for full new translation:
https://forums.guru3d.com/threads/german-translation.447957/

I wonder why many things seem to happen on the main window upon clicking advanced in preferences window. I don't see anything that may cause that in this function:

void __fastcall TPreferencesF::Setup_AdvancedShow(TObject *Sender)

Debugging results:

Open MediaInfo Open "Preferences" and click on "Advanced" then despite search is disabled and version is up to date buttons appear: 24 06 issue

When Advanced is clicked in Preferences, the Setup_AdvancedShow mentioned above is called. Then when this line is executed,

CB_ShowMenu->Checked=Prefs->Config(__T("ShowMenu")).To_int32s();

what you see in the above screenshot appears (it is greyed out on standard theme, indicating that no new version is actually available). So it seems to be triggered by something in Prefs? In that case I will not be digging further. I took a look at Prefs area before to figure out how language files get duplicated but gave up. @JeromeMartinez should assign someone else.

@JeromeMartinez should assign someone else.

for me.

So it seems to be triggered by something in Prefs?

@JeromeMartinez Upon further testing, it appears to not be caused by Prefs.

I changed

CB_ShowMenu->Checked=Prefs->Config(__T("ShowMenu")).To_int32s();

to

CB_ShowMenu->Checked=1;

and it still happens. It won't let me step into this line so I cannot check further.

@JeromeMartinez While looking around for something else, found the cause of the orange button partially visible in 2nd screenshot of first post...

This is hiding behind there (a second, unnamed 'Donate' button?):
Screenshot 2024-07-01 205301

This is hiding behind there (a second, unnamed 'Donate' button?):

It is from a very old code with buttons for donation, actually they should be deleted now. Need to take time for big cleanup of that.

This is hiding behind there (a second, unnamed 'Donate' button?):

It is from a very old code with buttons for donation, actually they should be deleted now. Need to take time for big cleanup of that.

I helped removed the donate buttons and their related codes. Also done some clean-up and re-organization of codes.

Partially fixed this issue also. Now the GUI is properly displayed after Preferences window is closed. However, when Preferences->Advanced is open, the issue mentioned is still there including the toolbar being displayed even when unchecked.

I just tested 24.12 and issue still persists.

I just tested 24.12 and issue still persists.

That is expected. No one did anything about it that is why this issue is still open.