Page 2 of 2

Re: PureBasic 5.46 LTS Beta 1 is out for testing !

Posted: Tue Nov 07, 2017 1:28 pm
by Berikco
Thx Fred :D

Re: PureBasic 5.46 LTS Beta 1 is out for testing !

Posted: Sat Nov 11, 2017 12:26 pm
by Psychophanta
Thanks a lot :wink: :!:

Re: PureBasic 5.46 LTS Beta 1 is out for testing !

Posted: Wed Nov 15, 2017 6:01 am
by bal
Testing one of my applications on Linux using this beta, and it seems it's not possible to create a button with arbitrary sizes. Is that a GTK3 "feature"?

It's not a problem in PB5.2x (GTK2?), but with PB5.4x the button will always be big/wide enough for its text and some padding, which means they using up more space then necessary, so I have to make the window bigger to fit all the gadgets.

Using 5.24 it's possible to create 1px wide buttons, even if there is text on them.

On 5.45 (or 5.46b1) if I set button width to 1px, it will be ignored and the button will be wide enough for its caption and some padding. However GadgetWidth(#mybutton) returns 1, which means my button is 1px wide. But visually it's clearly not. Luckily GadgetWidth(#mybutton, #PB_Gadget_RequiredSize) provides the minimum size required, however, like I said, I need to make the whole interface bigger which I would try not to do.

Try Gadget.pb example with 5.2x and 5.4x to see what I mean. Changed "Play" button width to 9 here:

ButtonGadget(1, 223, Top, 9, GadgetHeight, "Play") ; width was 72: ButtonGadget(1, 223, Top, 72, GadgetHeight, "Play")
Debug "Button Width: " + Str(GadgetWidth(1)) ; prints "Button Width: 9"
Debug "RequiredSize: " + GadgetWidth(1, #PB_Gadget_RequiredSize) ; prints "RequiredSize: 57"

Can anything be done with this or this is something we need to live with?

Thanks,

Re: PureBasic 5.46 LTS Beta 1 is out for testing !

Posted: Wed Nov 15, 2017 12:34 pm
by walbus
This is a gtk3 "Feature"
Not a PB issue
This can change in the future with new gtk3 versions
You can use gtk2 or you must create your own custom buttons, as sample canvas based
What works now can no longer work in the future, or vice versa :shock:

Re: PureBasic 5.46 LTS Beta 1 is out for testing !

Posted: Thu Nov 16, 2017 4:43 pm
by Wolfram
Would be great to fix this also in this release.
http://www.purebasic.fr/english/viewtop ... 48#p514948

Re: PureBasic 5.46 LTS Beta 1 is out for testing !

Posted: Mon Dec 04, 2017 9:05 pm
by Wolfram
Hope you can fix these Bug in the 5.46 release too.
http://www.purebasic.fr/english/viewtop ... 19&t=69715

Re: PureBasic 5.46 LTS Beta 1 is out for testing !

Posted: Wed Dec 13, 2017 11:17 pm
by Fred
Sorry for the long delay between the beta. The beta 2 is out to test on your account ! :)

Re: PureBasic 5.46 LTS Beta 1 is out for testing !

Posted: Thu Dec 14, 2017 8:39 am
by Lord
Fred wrote:...
The beta 2 is out to test on your account ! :)
Thx!

Re: PureBasic 5.46 LTS Beta 2 is out for testing !

Posted: Sun Dec 24, 2017 5:53 pm
by srod
Hi Fred,

I've taken a program which creates a quite fiddly GUI with some gadget placement which was, honestly, unworkable on PB 5.61 x64 Ubuntu/GTK3 (despite my best efforts) but it generally works fine on PB 5.46 beta 2 Ubuntu/GTK3 aside from one issue which is in the bugs section and there is a workaround posted by Oma.

Point I am making is that I can see what a nightmare GTK3's layout manager is for gadget placement and it has been quite a shock to a Window's man like myself! :) You and Timo must have been pulling your hair out in clumps!

Looks to me though that the 5.46 beta 2 has make huge progress on that score which is really appreciated. Thanks guys.

Will these fixes make their way to PB 5.61?

Re: PureBasic 5.46 LTS Beta 2 is out for testing !

Posted: Sun Dec 24, 2017 9:02 pm
by deeproot
srod wrote:Looks to me though that the 5.46 beta 2 has make huge progress on that score which is really appreciated. Thanks guys.
With srod on all those comments - my thoughts exactly. Great work from Freak and Fred - looking forward to next year !

Re: PureBasic 5.46 LTS released !

Posted: Sun Jan 07, 2018 6:26 pm
by Fred
Final version is out and contain a critical fix for OS X 10.13. Thanks a lot everyone for all the testing !

Re: PureBasic 5.46 LTS released !

Posted: Mon Jan 08, 2018 9:59 am
by hoerbie
Hello Fred,

thanks, but may I ask, what the plans and time schedule are for the LTS, maybe of the newer 5.6 tree?

When coming out with the first LTS it was said, that every LTS tree will be active for about 2 years, the LTS 5.46 is now over this time, and the download area still says
This LTS version will be supported at least until September 2017.
I can think of a lot people loving the 5.4 LTS because of its last Utf and Ascii features, but a real new LTS with then only Utf and the new features of 5.6 would - for me - be more interesting.

The "having a stable tree for 2 years but then getting the new features" for me was the point to buy PureBasic.

Regards, Hoerbie

Re: PureBasic 5.46 LTS released !

Posted: Mon Jan 08, 2018 10:36 am
by Fred
Next major version (probably 5.70) will be the new LTS. We don't switch an old version to LTS because the date has been hit. It said "at least until september 2017", which means it can last above this date. I hope it's a bit more clear now, feel free to propose some change to the wording to make it better :)

Re: PureBasic 5.46 LTS released !

Posted: Mon Jan 08, 2018 8:59 pm
by Fred
A new version has been uploaded on your account for Linux x86 and x64 to fix some nasty bugs, so please download the 5.46 again if you need it.

Re: PureBasic 5.46 LTS released !

Posted: Mon Jan 08, 2018 9:31 pm
by Psychophanta
Thank you very much!
I was waiting for this one!