PureBasic 5.46 LTS released !
- Psychophanta
- Addict
- Posts: 4997
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Lípetsk, Russian Federation
- Contact:
Re: PureBasic 5.46 LTS Beta 1 is out for testing !
Thanks a lot
http://www.zeitgeistmovie.com
While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB
While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB
Re: PureBasic 5.46 LTS Beta 1 is out for testing !
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,
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 !
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
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
Re: PureBasic 5.46 LTS Beta 1 is out for testing !
Would be great to fix this also in this release.
http://www.purebasic.fr/english/viewtop ... 48#p514948
http://www.purebasic.fr/english/viewtop ... 48#p514948
macOS Catalina 10.15.7
Re: PureBasic 5.46 LTS Beta 1 is out for testing !
Hope you can fix these Bug in the 5.46 release too.
http://www.purebasic.fr/english/viewtop ... 19&t=69715
http://www.purebasic.fr/english/viewtop ... 19&t=69715
macOS Catalina 10.15.7
Re: PureBasic 5.46 LTS Beta 1 is out for testing !
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 !
Thx!Fred wrote:...
The beta 2 is out to test on your account !
Re: PureBasic 5.46 LTS Beta 2 is out for testing !
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?
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?
I may look like a mule, but I'm not a complete ass.
-
- Enthusiast
- Posts: 271
- Joined: Thu Dec 17, 2009 12:00 pm
- Location: Llangadog, Wales, UK
- Contact:
Re: PureBasic 5.46 LTS Beta 2 is out for testing !
With srod on all those comments - my thoughts exactly. Great work from Freak and Fred - looking forward to next year !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.
Re: PureBasic 5.46 LTS released !
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 !
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
The "having a stable tree for 2 years but then getting the new features" for me was the point to buy PureBasic.
Regards, Hoerbie
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
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.This LTS version will be supported at least until September 2017.
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 !
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 !
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.
- Psychophanta
- Addict
- Posts: 4997
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Lípetsk, Russian Federation
- Contact:
Re: PureBasic 5.46 LTS released !
Thank you very much!
I was waiting for this one!
I was waiting for this one!
http://www.zeitgeistmovie.com
While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB
While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB