When I was looking for the quickest way to get a GUI based program running on Debian Linux 4.1.x (on the BeagleBone Black), I stumbled upon this thread:
running a NET app in linux in 2015
The platform offering GUI I am most familiar with is .NET, so that seemed like a perfect situation. Now, when I put together a WinForms app in VS2017, even with pretty new .NET 4.7.1, compile it, copy & execute with mono on the Linux target, it does indeed work. I'd be happy, if it weren't for this little spoiler:
If I set the resolution of my main Windows.Forms.Form in Visual Studio to 800x480, which is the native resolution of the TFT display the BeagleBone is supposed to get, for one thing, I noticed that screenshots of that WinForms app's form are only 784x472 instead of 800x480 (on Windows 10), which is already funny enough. But it gets funnier.
First, the setup: The BeagleBone has a FullHD (1920x1080) screen connected to its HDMI port right now, and I configured the resolution to the later target of 800x480, which doesn't look pretty, of course, but the minimalist GUI on there does tell me in the system settings it's really 800x480.
Now the kicker: That program, which gives me nominally too small screenshots in Windows (10), i.e. 16x8 pixels short, actually appears as too wide when executed with Mono on the BeagleBone. And not just a few pixels too wide, more like 1/4 too wide.
Does anybody know why? ...and a solution would be nice also. (Well, make everything less wide in VS until it fits, but that's not a nice solution).
I know that not much work is currently done on Mono WinForms support, but this looks like such a simple problem... that makes it seem not entirely unrealistic that there could be a fix ;)