vdemichev / DiaNN

DIA-NN - a universal automated software suite for DIA proteomics data analysis.
Other
283 stars 53 forks source link

Incorrect page layout display problem #1154

Open Gambrian opened 2 months ago

Gambrian commented 2 months ago

My diann home page cannot display each option correctly in the correct layout, as shown in the figure. image

The worst thing is that I can't tell whether my "no shared spectrum" option is selected. I tested different versions (1.8.5, 1.9.0, 1.9.1) and tested their display under two versions of operating systems (win10, win11), but they still cannot display correctly. I guess the possible reason is that I am using an operating system with Chinese system language, and the spacing between characters is larger than designed (but other English software does not have this problem). So does anyone have the same problem? How can I set it to improve this situation? Thanks

vdemichev commented 2 months ago

Hi,

Yes, this is an unfortunate thing about Microsoft support for Chinese encoding. DIA-NN GUI is built with WinForms, it's an old Microsoft framework which nevertheless has some great advantages, such as a very extensive support for third-party extensions, e.g. DIA-NN uses those for multi-tab interface and the visualiser. However, WinForms apprears not to work properly when language set to Chinese. We cannot really do anything about it, I guess the only solution would be to switch the system language to English.

Best, Vadim

Gambrian commented 2 months ago

Thanks for your reply, actually I tried changing the system language to English and then rebooting. But unfortunately it didn't work. You can see the UI of the exit has changed but the word diann is still not displayed correctly. So sad, can you give me some more advice? image

This is the system version I use image

vdemichev commented 2 months ago

Unfortunately we cannot really do anything about it, the problem is somewhere in Windows settings. Specifically with 'no shared spectra', this option is checked by default and should never be disabled, i.e. you want to always keep it on anyway. Also, the settings used can always be figured out based on the log, i.e. while this is an inconvenience, it does not really affect reproducibility.

Best, Vadim

Gambrian commented 2 months ago

Thanks for your help, today I tried to change the system font using some software, it successfully changed the font on my desktop but diann changed nothing, luckily I also got useful information about "no shared spectrum", thank you again.

Best, Cambrian