Page 12 of 17

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Wed Sep 26, 2018 9:08 am
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.

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Wed Sep 26, 2018 9:57 am
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

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Wed Sep 26, 2018 12:34 pm
by Justin
@Fred, it works fine now thanks.

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Wed Sep 26, 2018 2:29 pm
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.

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Wed Sep 26, 2018 3:08 pm
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.

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Wed Sep 26, 2018 3:16 pm
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 :)

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Wed Sep 26, 2018 7:12 pm
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

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Wed Sep 26, 2018 7:30 pm
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

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Wed Sep 26, 2018 7:41 pm
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.

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Thu Sep 27, 2018 12:30 am
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!

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Thu Sep 27, 2018 6:44 am
by chi
Thanks for the update, Fred! Also, the auto-complete box seems to work like intended now ;)

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Thu Sep 27, 2018 9:54 am
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.

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Thu Sep 27, 2018 10:34 am
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.

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Thu Sep 27, 2018 10:38 am
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.

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Thu Sep 27, 2018 12:25 pm
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?