Page 1 of 2

IDE and Icon bar on 4K monitor

Posted: Tue Jul 13, 2021 8:10 pm
by thyphoon
Hello,

Do you think there is a way to adapt the icon bar to DPI to be compatible with 4K monitor ?
Image

Re: IDE and Icon bar on 4K monitor

Posted: Fri Oct 08, 2021 3:08 pm
by blueb
As new laptops and monitors are now 4k, PureBasic's icons are very hard to see.

Because the IDE has been "open-sourced", does this mean all development by the team will cease?

Re: IDE and Icon bar on 4K monitor

Posted: Fri Oct 08, 2021 3:32 pm
by Mijikai
blueb wrote: Fri Oct 08, 2021 3:08 pm ...
Because the IDE has been "open-sourced", does this mean all development by the team will cease?
PBs development has never stopped.
Infact PB currently gets an entire new compiler backend which is a very important step.
The C backend has huge implications, if all goes well PB will be a even more powerful language.

Re: IDE and Icon bar on 4K monitor

Posted: Fri Oct 08, 2021 4:22 pm
by fryquez
The IDE development seems to have really stopped.

And also the community support to this Open Source project is close to zero.
It took me almost 3 month to fix (most) DPI glitches, giving it a Dark Mode,
fix the terrible speed on Windows 10 and making it really portable.

As having played that much time with the IDE, believe me it needs to be rewritten from scratch.
But, currently PB's native commands are lacking proper high DPI support.

Re: IDE and Icon bar on 4K monitor

Posted: Fri Oct 08, 2021 4:25 pm
by blueb
Mijikai...
PBs development has never stopped.
Infact PB currently gets an entire new compiler backend which is a very important step.
The C backend has huge implications, if all goes well PB will be a even more powerful language.
I realize this... I am only referring to the "IDE". :)

Re: IDE and Icon bar on 4K monitor

Posted: Fri Oct 08, 2021 4:32 pm
by blueb
fryquez wrote: Fri Oct 08, 2021 4:22 pm The IDE development seems to have really stopped.

And also the community support to this Open Source project is close to zero.
It took me almost 3 month to fix (most) DPI glitches, giving it a Dark Mode,
fix the terrible speed on Windows 10 and making it really portable.

As having played that much time with the IDE, believe me it needs to be rewritten from scratch.
But, currently PB's native commands are lacking proper high DPI support.
There's a lot to like about PB's IDE.

For the most part I am very happy with it but there are a couple of issues, including DPI, and the 4k monitor issue needs to be looked at.

Just an opinion.

Re: IDE and Icon bar on 4K monitor

Posted: Fri Oct 08, 2021 4:52 pm
by Mijikai
PB isnt just a IDE!
It makes no sense to say that nothing happens especially if one of the most important updates in PBs history is in the pipeline.

Re: IDE and Icon bar on 4K monitor

Posted: Fri Oct 08, 2021 6:08 pm
by acreis
For me Version 6 has IDE toolbar correct size in 4k monitor, while version 5.73 has very little icons.

Maybe some improvment happended behind the scenes.

Re: IDE and Icon bar on 4K monitor

Posted: Fri Oct 08, 2021 6:18 pm
by Paul
acreis wrote: Fri Oct 08, 2021 6:08 pm For me Version 6 has IDE toolbar correct size in 4k monitor, while version 5.73 has very little icons.

Maybe some improvment happended behind the scenes.
No difference here, icons are tiny using both old and new IDE on 4K monitor and 175% scaling (toolbar and menubar) :(
(also tiny icons on all apps compiled with PureBasic)

Re: IDE and Icon bar on 4K monitor

Posted: Fri Oct 08, 2021 6:30 pm
by Tenaja
There have been few IDE updates since we were given full plugin capability...but not nothing.

My bet would be that we will see absolutely no changes until well after the team has recuperated from the C backend implementation.

Re: IDE and Icon bar on 4K monitor

Posted: Sat Oct 09, 2021 5:51 am
by acreis
Sorry,
I don't know what is happening.
Any version of IDE now has good size toolbar icons, but somewhat pixelated.
I think it's some windows os config, but I can't figure easily what is it.

Re: IDE and Icon bar on 4K monitor

Posted: Sat Oct 09, 2021 10:04 am
by Rinzwind
The icon toolbar (and all menu images!) won't scale with the rest of the GUI aka not DPI aware. Tried both 573 and beta. 4K @200% is same real estate but sharper as 2K
Anyway, PB also doesn't support multi monitor DPI awareness (say a 4K next to a 2K monitor with different scaling settings). Hope it's coming soon.

Image

Normally I use 125% btw.

One can play with compatibility settings, but that results in softness everywhere incl. fonts.

Re: IDE and Icon bar on 4K monitor

Posted: Sat Oct 09, 2021 10:29 am
by BarryG
fryquez wrote: Fri Oct 08, 2021 4:22 pmAnd also the community support to this Open Source project is close to zero.
I'd absolutely LOVE to help with the IDE (and have bucketloads of free time to do it!), but I have no idea how to make edits to it; and when I asked for specific help, none was given (viewtopic.php?p=565191#p565191). So that's why I can't contribute to this Open Source project. All I need is a step-by-step on how to get started, and I'd be on my way.

Re: IDE and Icon bar on 4K monitor

Posted: Sat Oct 09, 2021 10:36 am
by Rinzwind
Can't really fix it anyway without near 100% DPI awareness in the PB gadget/window libraries (without ugly API workarounds where you fight PB gadget library itself which is painful as I experienced). PB libraries should abstract away the dirty details.

https://docs.microsoft.com/en-us/window ... on-windows
https://building.enlyze.com/posts/writi ... 20-part-3/

Re: IDE and Icon bar on 4K monitor

Posted: Sat Oct 09, 2021 8:31 pm
by kenmo
BarryG wrote: Sat Oct 09, 2021 10:29 amI'd absolutely LOVE to help with the IDE (and have bucketloads of free time to do it!), but I have no idea how to make edits to it; and when I asked for specific help, none was given (viewtopic.php?p=565191#p565191). So that's why I can't contribute to this Open Source project. All I need is a step-by-step on how to get started, and I'd be on my way.
Hi BarryG, here are some tips!


1. See the Build Instructions doc, it's the closest thing to a step-by-step
https://github.com/fantaisie-software/p ... l/BUILD.md

2. You will likely run into SOME problems. You're on Windows, right? There is a thread of errors and solutions, for setting up the build environment:
viewtopic.php?f=18&t=74184

3. The team is getting rid of the Microsoft / C dependencies, the biggest hurdle to getting started.
IIRC there are 3 components that require a C compiler. 2 are being removed, and 1 has been rewritten in PureBasic?
https://github.com/fantaisie-software/p ... /issues/38
viewtopic.php?f=14&t=77799
https://github.com/fantaisie-software/p ... c/pull/172

4. Previously, to help others get going, I made a branch that adds the already-compiled C components for you:
https://github.com/kenmo-pb/purebasic/t ... c-binaries
Or, even better, a branch that disables all the C components so you don't need to make and build them:
https://github.com/kenmo-pb/purebasic/t ... pendencies

5. You do still need make and related tools.
But this is easy. See BUILD.md again (above). It's just unzipping some tools, and pointing the .bat scripts to their location.
My goal is a PureBasic script that replaces the make dependency too :mrgreen: someday


It is a bit of work getting started with the IDE, but it has gotten easier since the 2019 release, and it will continue.