PB 6.30 Beta 4 - ScreenGadget library - bug report

Post bugreports for the Windows version here
User avatar
pf shadoko
Enthusiast
Enthusiast
Posts: 435
Joined: Thu Jul 09, 2015 9:07 am

Re: PB 6.30 Beta 4 - ScreenGadget library - bug report

Post by pf shadoko »

@PeDe
may be, flipbuffer don't work correctly
please run this code and give me the debug

Code: Select all

InitSprite():InitMouse():InitKeyboard()
OpenWindow(0,0,0,800,600,"",#PB_Window_ScreenCentered)
OpenWindowedScreen(WindowID(0),0,0,800,600)
CreateSprite(0,128,128)
StartDrawing(SpriteOutput(0))
Circle(64,64,64,$ff)
StopDrawing()

t=ElapsedMilliseconds()
For i=1 To 60
  While WindowEvent():Wend
  ExamineMouse()
  ExamineKeyboard()
  ClearScreen(0)
  DisplaySprite(0,MouseX()-64,MouseY()-64)
  FlipBuffers()
Next

Debug (ElapsedMilliseconds()-t)
PeDe
Enthusiast
Enthusiast
Posts: 338
Joined: Sun Nov 26, 2017 3:13 pm

Re: PB 6.30 Beta 4 - ScreenGadget library - bug report

Post by PeDe »

The output is: 986

Peter
User avatar
pf shadoko
Enthusiast
Enthusiast
Posts: 435
Joined: Thu Jul 09, 2015 9:07 am

Re: PB 6.30 Beta 4 - ScreenGadget library - bug report

Post by pf shadoko »

That makes sense.
Submit a bug report.
(Fred already told me about a problem with the mouse library on Linux.)
As for the compilation issues, I'll talk to him about it.
User avatar
mk-soft
Always Here
Always Here
Posts: 6501
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PB 6.30 Beta 4 - ScreenGadget library - bug report

Post by mk-soft »

I run Linux as a virtual machine under Parallels (macOS)
Here the MouseDeltaX/Y function also causes problems and is very inaccurate. Thus, all examples with MouseDelta run very badly.
MouseX/Y work well

P.S.
It looks like ScreenGadget Library is used internally for Mouse position MouseDeltaX/Y. Otherwise the problem would not be.
Is it so and why. If necessary, use MouseX/Y absolute position.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
pf shadoko
Enthusiast
Enthusiast
Posts: 435
Joined: Thu Jul 09, 2015 9:07 am

Re: PB 6.30 Beta 4 - ScreenGadget library - bug report

Post by pf shadoko »

@rmk-soft
no, i use only MouseX/Y()
User avatar
STARGÅTE
Addict
Addict
Posts: 2277
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: PB 6.30 Beta 4 - ScreenGadget library - bug report

Post by STARGÅTE »

Dear pf shadoko,

as the final release is getting closer, I want to note that there is still reported bug which you marked as fixed:
I get still an IMA at RenderScreenGadgets() when I click on an empty ListViewScreenGadget() near the border of the gadget.
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
Post Reply