PureBasic 5.70 LTS is out !

Developed or developing a new product in PureBasic? Tell the world about it.
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.70 LTS beta 2 is out !

Post by Fred »

Justin wrote:Now the popup appears way below

Image
Could you try to download it again ? May be you got an intermediate version with an incomplete fix.
PeDe
Enthusiast
Enthusiast
Posts: 119
Joined: Sun Nov 26, 2017 3:13 pm
Location: Vienna
Contact:

Re: PureBasic 5.70 LTS beta 2 is out !

Post by PeDe »

As far as I could test, compiling with DPIaware works very well.
Of the used controls I have to scale the following manually:

CanvasGadget - size
StatusBar - field width
ListIconGadget - column width

Peter
Justin
Addict
Addict
Posts: 829
Joined: Sat Apr 26, 2003 2:49 pm

Re: PureBasic 5.70 LTS beta 2 is out !

Post by Justin »

@Fred, it works fine now thanks.
User avatar
Blue
Addict
Addict
Posts: 864
Joined: Fri Oct 06, 2006 4:41 am
Location: Canada

Re: PureBasic 5.70 LTS beta 2 is out !

Post by Blue »

@ Justin :
I just happened to read the post you deleted a few seconds ago.
You had questions about some new functions, DesktopScaleX() being one I remember.

The discussion here (viewtopic.php?f=13&t=71468) may be of interest to you.
Last edited by Blue on Thu Sep 27, 2018 12:42 am, edited 1 time in total.
"That's not a bug..." said the programmer. "it's a feature! "
"Oh! I see..." replied the blind man.
User avatar
the.weavster
Addict
Addict
Posts: 1537
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: PureBasic 5.70 LTS beta 2 is out !

Post by the.weavster »

Win 10 x64

If I Compile/Run a program then click the title bar of that program's main window and while keeping my mouse button down wiggle it from side to side the IDE crashes.
User avatar
the.weavster
Addict
Addict
Posts: 1537
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: PureBasic 5.70 LTS beta 2 is out !

Post by the.weavster »

As 2 of my 3 requests will have been fulfilled when this release is finalised it looks like I'm going to need to hit the donate button :)
Cezary
User
User
Posts: 89
Joined: Sun Feb 12, 2017 2:31 pm

Re: PureBasic 5.70 LTS beta 2 is out !

Post by Cezary »

I have a problem with a PB 5.70b2 ScrollAreaGadget on Linux (Mint 19): when a Width or Height is greater than a ScrollAreaWidth or ScrollAreaHeight (respectively), the gadget background color is black.
Someone could check it, please?
Best regards
User avatar
Kiffi
Addict
Addict
Posts: 1353
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

Re: PureBasic 5.70 LTS beta 2 is out !

Post by Kiffi »

Cezary wrote:Someone could check it, please?
An example code would have been helpful...

However: i can't confirm (Linux Mint 18.3 Cinnamon 64-bit / PB 5.70 LTS Beta 2 (x64)):

Code: Select all

OpenWindow(0, 0, 0, 800, 600, "ScrollAreaGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ScrollAreaGadget(0, 10, 10, WindowWidth(0)-20, WindowHeight(0)-20, 100, 100, 30, #PB_ScrollArea_Flat)
CloseGadgetList()

Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
Hygge
Cezary
User
User
Posts: 89
Joined: Sun Feb 12, 2017 2:31 pm

Re: PureBasic 5.70 LTS beta 2 is out !

Post by Cezary »

Here it is:

Code: Select all

If OpenWindow(0, 100, 200, 500, 300, "Test")
  
  ScrollAreaGadget(0, 100, 100, 100, 100, 90, 98, 1, #PB_ScrollArea_Raised)
  CloseGadgetList()
  ScrollAreaGadget(1, 300, 100, 100, 100, 90, 110, 1, #PB_ScrollArea_Raised)
  CloseGadgetList()

  Repeat
    Event = WaitWindowEvent()
    
  Until Event = #PB_Event_CloseWindow

EndIf

End 
Gadget on the left side is ok (gray), on the right side is black.
MrMat
Enthusiast
Enthusiast
Posts: 762
Joined: Sun Sep 05, 2004 6:27 am
Location: England

Re: PureBasic 5.70 LTS beta 2 is out !

Post by MrMat »

Thank you for the DPI fixes. The IDE is a lot better in beta 2, but there are still a lot of scaling issues. For instance, the toolbar icons are too small, the scroll buttons on the tab control are too small (both issues visible below):
Image

The form editor looks as follows:
Image

The menu icons look too small also and there are some other minor issues. Overall though, it is much improved so thanks for the hard work!
Mat
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: PureBasic 5.70 LTS beta 2 is out !

Post by chi »

Thanks for the update, Fred! Also, the auto-complete box seems to work like intended now ;)
Et cetera is my worst enemy
User avatar
the.weavster
Addict
Addict
Posts: 1537
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: PureBasic 5.70 LTS beta 2 is out !

Post by the.weavster »

Fred wrote:For UseMySQLDatabase(), the OpenDatabase() command must be used like that:

Code: Select all

db = OpenDatabase(#PB_Any, "host=localhost port=3306 dbname=yourdb", User$, Pass$)
Could this be made to work on Linux by having libmariadb.so in the same folder as the executable? I'm thinking of a CGI on a Linux server where you don't have control over what the web host has installed, you can be pretty sure MySQL will be there but not libmariadb.so.
DontTalkToMe
Enthusiast
Enthusiast
Posts: 334
Joined: Mon Feb 04, 2013 5:28 pm

Re: PureBasic 5.70 LTS beta 2 is out !

Post by DontTalkToMe »

MrMat wrote: but there are still a lot of scaling issues. For instance, the toolbar icons are too small
Indeed but you and everyone else should post all this in the bug forum, here this can be rightfully ignored or innocently missed.
User avatar
the.weavster
Addict
Addict
Posts: 1537
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: PureBasic 5.70 LTS beta 2 is out !

Post by the.weavster »

the.weavster wrote:If I Compile/Run a program then click the title bar of that program's main window and while keeping my mouse button down wiggle it from side to side the IDE crashes.
I was wrong, it's not crashing it's just minimizing, I can alt-tab back to it.
User avatar
KJ67
Enthusiast
Enthusiast
Posts: 218
Joined: Fri Jun 26, 2009 3:51 pm
Location: Westernmost tip of Norway

Re: PureBasic 5.70 LTS beta 2 is out !

Post by KJ67 »

the.weavster wrote:
the.weavster wrote:If I Compile/Run a program then click the title bar of that program's main window and while keeping my mouse button down wiggle it from side to side the IDE crashes.
I was wrong, it's not crashing it's just minimizing, I can alt-tab back to it.
Sounds like built-in Win10 with mouse gestures maybe?
The best preparation for tomorrow is doing your best today.
Post Reply