-
Notifications
You must be signed in to change notification settings - Fork 162
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
[Fix] Revert back themes and text sheme #951
Comments
Screenshot please. The dark theme was never changed since its implementation and its colours are from Embarcadero's VCL Styles and not manually selected. On the light theme, the text colour was never changed too and should be black while only the background was changed. Scrollbars are not implemented or controlled by MediaInfo's source code as well. |
@JeromeMartinez any idea what is going on in #951 (comment)? Seems some toolbar icons went missing too? |
No idea, they are there on my side. |
@cjee21 you show me your screenshoot on a Windows 11 host, I was speaking of MediaInfo on Windows 10. I even recognise the basic Windows 11 wallpaper in the background of your screenshots, whether the basic wallpaper in your examples is unchanged on Windows 11.
So you confirm to me that the problem come from the VCL style, so is it possible to <> (i use <<>> symbols here to try to explain it in another way) ? In addition, there's something I didn't mention in my introduction: the fact that the customised dimensions of the windowed mode application are not retained after MediaInfo has been closed and then reopened. I imagine this is yet another VCL-style bug. In conclusion, I'm open to testing a version not based on the VCL style on my Windows 10 configuration. Best regards :) |
It is never by default on any SDK as far as I know. |
@JeromeMartinez should we just reset the backgrounds of all the text views to VCL default which is |
I am fine with that. |
Maybe checking the actual color and if > 249 we set 249? So it is not too much white when white is the default and we keep other default values. |
And what's possible to do about the corners of the MediaInfo window which a Windows 11 style, that don't match on Windows 10 setup ? |
For scrollbars, window borders, title bar and colours of the dark mode, it is beyond my capabilities and require someone who can mess with VCL styles. I have no intention of learning more about VCL styles and prefer to learn Qt which has dark mode support by default without all these additional work. |
Would replacing VCL with QT fix all these problems and inconsistencies? |
We have a Qt version but we are far from ready for replacing the current GUI SDK with the Qt version. |
OK, I can test the version if you need logs files. |
Maybe, maybe not, some parts will be easier, some others will be harder. And there is a cost of migration, we are not ready to spend this time (so $) ourselves and our sponsors are not interested in sponsoring such dev (the dark mode and 64-bit versions were implemented by @cjee21 on his free time). Patch welcome if someone is interested enough in that for spending his own time and/or $. |
@JeromeMartinez still plan to migrate to Qt? Should I working on that? Not sure what to do there though. It is already good enough for my use. I know the HTML viewer has to be improved and Graph view needs to be added. However I discovered that Qt does not yet have integration with system web engines. The only solution I have is to use Qt's built-in web engine (it's on a branch in my fork, renders HTML perfectly) but the issue is that it will make MediaInfo install size a few hundred MB. |
Not at short term, and even not sure that we will switch if Embarcadero keep developing the VCL. You already see all the impact of changing only small parts of the UI, and the switch to Qt would be even more complicated, I am very reluctant to do that.
It is a big issue for switching to Qt on Windows. |
AFAIK, need write lots of code to even get a window if using C++. Also Windows does not have native dark mode support. That is why many parts of Windows is still white in dark mode. There is WinUI3 which can make beautiful WIndows 11 apps with mica material. This is used by Windows' built-in apps. However, there is no graphic form editor/designer for this. This is from my findings, which may be incorrect. But in short, previously I have tried to find a way to make beautiful Windows apps using Visual Studio only but gave up after reading documentations before starting. |
I will upstream that branch then so I don't have to maintain it. If it is okay on Linux then maybe the Ubuntu (and other distros not yet using Qt) GUI can be migrated to Qt. The current wxWidgets one isn't rendering HTML properly. Maybe Qt will integrate with Edge WebView2 by the time MediaInfo decides to move from VCL. |
FYI to those who not yet know, the screenshots in the bottom half of #951 (comment) are screenshots of the Qt version. |
This version works as i want (like before for the GUI), thanks for this try 👍🏻 |
Closed by #952. |
Hi
With the last version 24.11.1, the dark theme has some drawbacks compared to the previous version (not 24.11 but the one before):
The dark and light themes have some problems compared with the previous version (not 24.11, but the one before): the file description text box no longer uses the Windows text colour, but a grey colour that I don't find very legible. The same problem applies to the light theme.
Also, the scroll bar looks like the one in Windows 11, even though I'm on Windows 10 and prefer the one in 10 to the one in 11, so it's not consistent.
The best thing would be to add an option in the interface for MediaInfo to use the colours and images defined at system level again, so that everyone is happy.
In my case, having a custom Windows theme: all this causes visibility problems whatever the predefined theme selected.
Thanks in advance.
My setup:
Windows 10 22H2
The text was updated successfully, but these errors were encountered: