PDA

View Full Version : thinAir Suggestions



paravantis
26-08-2024, 17:57
Post extracted from https://www.thinbasic.com/community/showthread.php?7883-Sorting-arrays-with-built-in-sorting-functions/page2&p=96876#post96876

I'm very happy that I could help, even if it was by chance.

If I may, I'd like to modestly offer a couple of quick suggestions for the next Windows version of thinAir.

When I choose to override high DPI scaling behavior and have the scaling performed by the application, the thinAir open file dialog doesn't work—I just get the busy cursor, and the open file dialog window with recent script files, startup options, etc., does not load! However, if I choose to have scaling performed by the system, it displays and functions correctly. I suspect this issue might be inherited from the PowerBASIC compiler, and there may not be a realistic solution available.

Also, thinAir has several options that don't seem to work. To change the font, syntax colors, etc., one has to manually edit the theme files. It would be great if these could be cleaned up.

Best regards,
John

ErosOlmi
26-08-2024, 19:30
Yes, every time I have some spare time to dedicate to thinBasic project development I say to myself "I need to improve thinAir ..."
Every time.

For me ... developing thinAir is much more complex than to develop thinBasic Core engine or any other thinBasic modules.
Sometimes I'm tempted to stop develop thinAir and develop some plug-in for 3rd party editor like Visual Studio Code
I've also started a Visual Studio 2022 C# .Net project and purchased a syntax colored editor control to substitute thinAir with a more easy programming IDE but I've abandoned that idea so far.
I think that at the end something stops me because in my bottom I like the idea to have a dedicated thinBasic editor.

That said, I will see what I can do.

A visual theme editor was already on the list, something to be ready for autumn I hope.

Regarding Application high DPI settings ... I'm honest: I didn't knew about that since this post.
I suppose are the one in the picture in this post.
I will study it and see why thinAir is a complete mess when activating it.

Thanks
Eros

paravantis
26-08-2024, 20:33
Yes, the picture shows exactly what I am talking about. Otherwise, I am completely on the same page as you regarding thinAir. I also love having an exclusive thinBasic editor.

By the way, I accidentally found a workaround: Choose "Open File" in thinAir, and you'll get the dialog below.

10387

Then, just switch to another window or app and back to thinAir—problem solved! The dialog will display properly.

If you’re considering developing something else in parallel, it would be great if you gave Notepad++ some thought. It’s free and easy to configure for other languages, allowing you to add keywords, set coloring, configure external tools (like compilers), and more. It could be a nice alternative to thinAir.

ErosOlmi
26-08-2024, 20:56
But why one should change compatibility setting of an application?

Default thinAir setting should work also on high dpi monitor.
I use it at office on a computer with 3 monitors that have different dpi settings and seems working fine even moving thinAir from one monitor to the other.

paravantis
26-08-2024, 21:36
I had to adjust the high DPI settings (via compatibility mode) because thinAir appeared blurry on my Windows 10 machine.

You may compare blurry before

10388

and crispier after

10389

The images in this post don't look as good, so I copied them at full resolution to my Google Drive: blurry (https://drive.google.com/file/d/1PbxceqFyFAlWcqGDpittjVfUoU7JpfUW/view?usp=drive_link) and crispier (https://drive.google.com/file/d/10fdRThHL6Ez26yoM0aeTD9yeTctpAF6Z/view?usp=drive_link).