Skip to content

Modernize this project#49

Open
ambitiuswisdom wants to merge 7 commits into
Gpower2:masterfrom
ambitiuswisdom:net472
Open

Modernize this project#49
ambitiuswisdom wants to merge 7 commits into
Gpower2:masterfrom
ambitiuswisdom:net472

Conversation

@ambitiuswisdom

@ambitiuswisdom ambitiuswisdom commented May 24, 2026

Copy link
Copy Markdown
Contributor

Need and welcome test on old Windows and Linux platform

@ambitiuswisdom

Copy link
Copy Markdown
Contributor Author

I have tested it on virtual machines. Work well with all windows versions. But still looks broken on linux machines with high dpi using mono latest version, which means it won't fix #41 .

It's because mono does not support the dpi awareness function add in .net 4.7.2. There may be three solution:

  1. use wine instead
  2. manually add some auto-scaling functions for linux mono platform only
  3. move to cross-platform framework like Avalonia

@Gpower2

Gpower2 commented May 29, 2026

Copy link
Copy Markdown
Owner

Hi, this is too rough of a patch, and it removes some responsive layout methods that were introduced to support localization with dynamic texts.

I will chekc it out at some point, although I am still not sure if I will actually proceed with the update to .NET Framework 4.7 or move directly to Avalonia.

@ambitiuswisdom ambitiuswisdom marked this pull request as draft May 29, 2026 17:38
also fix a bug in translation editor
@ambitiuswisdom ambitiuswisdom marked this pull request as ready for review June 2, 2026 22:36
@ambitiuswisdom

Copy link
Copy Markdown
Contributor Author

Use TableLayoutPanel and FlowLayoutPanel to re-add responsive layout methods that support localization with dynamic texts. Also fix #45 .
Also, Switch to Avalonia may be essentially equivalent to rewriting, which needs lots of effort. Therefore, This modernization will be a great transitional choice to solve the dpi problem. What's more, moving to .net standard 2.0 will enable the function in gMKVToolNix to be directly used if switching to Avalonia.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error in Translation Editor Interface problems with HiDPI

2 participants