❔ i have an app that runs well on my pc but not on other pcs

i have an app that runs well on my pc but on when i zip it and bring it to another pc the ui is all crashed and stuff, does anyone have an idea what may be the problem(probably dependencies but idk wheres that and what is it)?
50 Replies
sibber
sibber2y ago
the app crashes on another pc?
madgoose3371
madgoose3371OP2y ago
ui
sibber
sibber2y ago
?
madgoose3371
madgoose3371OP2y ago
its the user interface that is a bit crazy
sibber
sibber2y ago
but the app launches fine?
madgoose3371
madgoose3371OP2y ago
yes, it probably is some dependency that it need in the other pc but idk how to fix it and how dependencies work
sibber
sibber2y ago
if its a missing dependency the app would probably crash
madgoose3371
madgoose3371OP2y ago
in my pc it looks like image1 and the other pc its like image2
sibber
sibber2y ago
is the windows scaling different on those 2 machines?
madgoose3371
madgoose3371OP2y ago
no look at the images
sibber
sibber2y ago
i did im trying to think of any reason that would cause that to happen is the window resizable?
madgoose3371
madgoose3371OP2y ago
no
madgoose3371
madgoose3371OP2y ago
heres the app
sibber
sibber2y ago
no idea then
sibber
sibber2y ago
runs fine in my vm
sibber
sibber2y ago
the text looks huge tho
gush3l
gush3l2y ago
windows versions may help with debugging
madgoose3371
madgoose3371OP2y ago
exactly thats, how it should look but for the other pc it has a strange formatting
madgoose3371
madgoose3371OP2y ago
like this
madgoose3371
madgoose3371OP2y ago
my version and the other, ok
Hannsen
Hannsen2y ago
Post the XAML of MainWindow
madgoose3371
madgoose3371OP2y ago
winforms
madgoose3371
madgoose3371OP2y ago
here's form1.cs not xaml, ig u can try and see something
Buddy
Buddy2y ago
This is because you set the exact location Even in WinForms you should not do that but you must use the layout controls WrapPanel, Docking, etc. WYSIWYG (What you see is what you get) is stupid. A lot of scaling / layouting issues
madgoose3371
madgoose3371OP2y ago
how do i acess that?
Buddy
Buddy2y ago
You have containers in toolbox Although WrapPanel may not exist - Been so long since I last touched WinForms. WinForms is insanely old, and not really recommended these days. To be fair, it is much easier than for example WPF.
madgoose3371
madgoose3371OP2y ago
yeah i choose winforms bcs people said to not use drag and drop in wpf and i wanted to do a quick app but it seems that maybe its not so quick/simple
gush3l
gush3l2y ago
WinUI3 ftw
madgoose3371
madgoose3371OP2y ago
but yeah i need to learn new stuff so il start making apps in wpf yeah i also searched for that but it has no designer thats too much of a change to me from drag and drop to no designer
gush3l
gush3l2y ago
it has live reload and also uses native windows ui components
madgoose3371
madgoose3371OP2y ago
does live reload work well in code(C#)
gush3l
gush3l2y ago
C# stuff doesn't support live reload ofc only the stuff in the xaml files iirc
madgoose3371
madgoose3371OP2y ago
i used live reload in winforms
gush3l
gush3l2y ago
GitHub
GitHub - microsoft/WinUI-Gallery: This app demonstrates the control...
This app demonstrates the controls available in WinUI and the Fluent Design System. - GitHub - microsoft/WinUI-Gallery: This app demonstrates the controls available in WinUI and the Fluent Design S...
madgoose3371
madgoose3371OP2y ago
sorry hot reload does winui 3 hot reload work well in code(C#)?
gush3l
gush3l2y ago
¯\_(ツ)_/¯
madgoose3371
madgoose3371OP2y ago
whats native win...?
gush3l
gush3l2y ago
not like control panel type ui like new windows store or settings yk
madgoose3371
madgoose3371OP2y ago
works as it should be right? i havent tried yet thats why im asking i dont know what that means
gush3l
gush3l2y ago
yk - you know
madgoose3371
madgoose3371OP2y ago
thx, i think i have have been enlightened by your and LLVM explanations, so if i have patience to finish this app il use the containers section in winforms and for new apps ima use winui 3
madgoose3371
madgoose3371OP2y ago
winui 3 is backwards compatible to this version right?
gush3l
gush3l2y ago
yeah i guess $tias
Buddy
Buddy2y ago
LULLLLLL WinUI3 is terrible, the API is very different. And MSIX all around stinks.
sibber
sibber2y ago
i wouldnt say its terrible, its just not mature its still in beta even though they say its not it can also be unpackaged, otherwise youd just use uwp
Henkypenky
Henkypenky2y ago
msix is where they are going with maui for publishing and i absolutely hate it you lose a lot of control
sibber
sibber2y ago
last i checked you could publish unpackaged with maui too
Henkypenky
Henkypenky2y ago
yeah as project but it's weird
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server