It is currently Wed Aug 22, 2018 3:05 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 30 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: PureBasic 5.46 LTS Beta 1 is out for testing !
PostPosted: Tue Nov 07, 2017 1:28 pm 
Offline
Administrator
Administrator

Joined: Wed Apr 23, 2003 7:57 pm
Posts: 1316
Location: Belgium
Thx Fred :D

_________________
Berikco

http://www.vispluk.be


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.46 LTS Beta 1 is out for testing !
PostPosted: Sat Nov 11, 2017 12:26 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Jun 11, 2003 9:33 pm
Posts: 4428
Location: Spa, relaxing and thinking, and learning...
Thanks a lot :wink: :!:

_________________
http://www.zeitgeistmovie.com

While world=business:world+mafia:Wend
While (world==business) {world+=mafia}


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.46 LTS Beta 1 is out for testing !
PostPosted: Wed Nov 15, 2017 6:01 am 
Offline
New User
New User

Joined: Fri Sep 03, 2010 6:15 pm
Posts: 7
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,


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.46 LTS Beta 1 is out for testing !
PostPosted: Wed Nov 15, 2017 12:34 pm 
Offline
Addict
Addict

Joined: Sat Mar 02, 2013 9:17 am
Posts: 931
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:

_________________
http://www.nachtoptik.de


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.46 LTS Beta 1 is out for testing !
PostPosted: Thu Nov 16, 2017 4:43 pm 
Offline
Enthusiast
Enthusiast

Joined: Thu May 30, 2013 4:39 pm
Posts: 387
Would be great to fix this also in this release.
http://www.purebasic.fr/english/viewtopic.php?f=13&t=69629&p=514948#p514948


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.46 LTS Beta 1 is out for testing !
PostPosted: Mon Dec 04, 2017 9:05 pm 
Offline
Enthusiast
Enthusiast

Joined: Thu May 30, 2013 4:39 pm
Posts: 387
Hope you can fix these Bug in the 5.46 release too.
http://www.purebasic.fr/english/viewtopic.php?f=19&t=69715


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.46 LTS Beta 1 is out for testing !
PostPosted: Wed Dec 13, 2017 11:17 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 13349
Location: France
Sorry for the long delay between the beta. The beta 2 is out to test on your account ! :)


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.46 LTS Beta 1 is out for testing !
PostPosted: Thu Dec 14, 2017 8:39 am 
Offline
Enthusiast
Enthusiast

Joined: Tue May 26, 2009 2:11 pm
Posts: 506
Fred wrote:
...
The beta 2 is out to test on your account ! :)
Thx!

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.46 LTS Beta 2 is out for testing !
PostPosted: Sun Dec 24, 2017 5:53 pm 
Offline
PureBasic Expert
PureBasic Expert

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 10427
Location: Beyond the pale...
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 may look like a mule, but I'm not a complete ass.


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.46 LTS Beta 2 is out for testing !
PostPosted: Sun Dec 24, 2017 9:02 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Dec 17, 2009 12:00 pm
Posts: 158
Location: Llangadog, Wales, UK
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 !

_________________
www.deeproot.co.uk


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.46 LTS released !
PostPosted: Sun Jan 07, 2018 6:26 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 13349
Location: France
Final version is out and contain a critical fix for OS X 10.13. Thanks a lot everyone for all the testing !


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.46 LTS released !
PostPosted: Mon Jan 08, 2018 9:59 am 
Offline
User
User

Joined: Fri Dec 06, 2013 11:57 am
Posts: 11
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

Quote:
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


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.46 LTS released !
PostPosted: Mon Jan 08, 2018 10:36 am 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 13349
Location: France
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 :)


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.46 LTS released !
PostPosted: Mon Jan 08, 2018 8:59 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 13349
Location: France
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.46 LTS released !
PostPosted: Mon Jan 08, 2018 9:31 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Jun 11, 2003 9:33 pm
Posts: 4428
Location: Spa, relaxing and thinking, and learning...
Thank you very much!
I was waiting for this one!

_________________
http://www.zeitgeistmovie.com

While world=business:world+mafia:Wend
While (world==business) {world+=mafia}


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 30 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye