gusmanb / logicanalyzer

24 channel, 100Msps logic analyzer hardware and software
GNU General Public License v3.0
1.71k stars 210 forks source link

About the host computer software #6

Closed superyawei closed 2 years ago

superyawei commented 2 years ago

This is a great project, but I have a question why the accept and cancel buttons on the configure capture page of my PC software disappeared, I don't know what happened, hope to be able to help, thank you very much

gusmanb commented 2 years ago

Hi.

I would need a bit more info. You said that the buttons "disappeared", so, have you seen them previously or never have been shown?

If the buttons have never been shown then it may be a problem with scale, if you have your fonts scaled it may break the design and the buttons can be below the window border. If the buttons have disapeared after being shown then I will need to investigate it, knowing what is the last you have done would be helpful.

Also, did you downloaded the built package or did you compiled the app from source?

Finally I would need to know which operating system are you using as that may be the problem, I only tested the app in Windows 10.

superyawei commented 2 years ago

Thanks for your reply, my computer system version is WIN10 1909; I downloaded the software zip package from releases, unzip it and run LogicAnalyzer.exe. The development board connection is normal, but after I set up the configure capture page, it cannot be saved because the Accept&cancel button disappears. I changed the application zoom of WIN10 to 100%, the button of the configure capture page still does not appear. I want to find another computer to test tomorrow, because my WIN10 system has not been updated for a long time. LogicAnalyzer_Z

gusmanb commented 2 years ago

Ok, that screenshot gives a lot of info.

First of all, you still have some kind of personalization in the fonts, maybe you changed the default windows font?

This is how it should look like: imagen

If you compare with your window you will see that some texts don't fit, like "Samples before trigger:" or the frequency value.

In any case, I think you also have found a bug in .net 6 Forms, the app should autoscale when zoom is applied, so it at least should show the buttons. I have tested it in my computer and certainly when zoom is used the dialogs don't scale, it seems that autoscaling is not working properly when form border is set to fixed.

I have changed the dialogs to have a sizable border but fixed the form size, in my computer it solves the problem, the dialogs scale correctly.

Can you test this build? (I have uploaded it to MediaFire as Github only allows linked files up to 25Mb) https://www.mediafire.com/file/jo7yf107m1h8w13/win-x86.zip/file

Beware that this build does not contain the protocol analyzers.

If it works for you I will upload the patch to the repo and create a new release.

superyawei commented 2 years ago

You are right, the buttons of the new software display normally!!

LogicAnalyzer_kyBJghAfKZ

gusmanb commented 2 years ago

Perfect then 😄

I'm going to close the issue and upload the patch to the repo.

superyawei commented 2 years ago

👍👍👍👍

superyawei commented 1 year ago

Thanks for your reply, my computer system version is WIN10 1909; I downloaded the software zip package from releases, unzip it and run LogicAnalyzer.exe. The serial link to the development board is normal, but I can't save it after setting the configure capture page, because the Accept&cancel button disappears. I changed the application zoom of WIN10 to 100%, the button of the configure capture page still does not appear. The configure capture page is made into a flexible layout, which I think can solve this problem. I want to find another computer to test tomorrow, because my WIN10 system has not been updated for a long time.

------------------ 原始邮件 ------------------ 发件人: "gusmanb/logicanalyzer" @.>; 发送时间: 2022年7月8日(星期五) 晚上9:06 @.>; @.**@.>; 主题: Re: [gusmanb/logicanalyzer] About the host computer software (Issue #6)

Hi.

I would need a bit more info. You said that the buttons "disappeared", so, have you seen them previously or never have been shown?

If the buttons have never been shown then it may be a problem with scale, if you have your fonts scaled it may break the design an the buttons can be below the window border. If the buttons have disapeared after being shown then I will need to investigate it, knowing what is the last you have done would be helpful.

Also, did you downloaded the built package or did you compiled the app from source?

Finally I would need to know which operating system are you using as that may be the problem, I only tested the app in Windows 10.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>