It is currently Sun Feb 17, 2019 12:41 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: PB 5.70B1 - TreeGadget Slow Reaction
PostPosted: Mon Jun 25, 2018 9:08 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jul 07, 2013 11:35 am
Posts: 364
Location: Canada
Hello,

Code:
; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
; Project name : TreeGadget bug demonstrator
; File Name : TreeGadget - BUG.pb
; File version: 0.0.0
; Programming : Buggy
; Programmed by : StarBootics
; Date : 25-06-2018
; Last Update : 25-06-2018
; PureBasic code : V5.70 beta 1 x64
; Platform : Ubuntu 18.04 x64
; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
; Bug Description
;
; The checkbox are very slow to react and require
; several mouse click to Check or unckeck the
; checkbox.
;
; On large project source code the IDE crash hard
; when the debugger active.
;
; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

If OpenWindow(0, 0, 0, 355, 180, "TreeGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
  TreeGadget(0, 10, 10, 160, 160)                                           ; liste arborescente standard
  TreeGadget(1, 180, 10, 160, 160, #PB_Tree_CheckBoxes | #PB_Tree_NoLines)  ; liste arborescente avec cases à cocher + sans lignes reliant les noeuds
  For ID = 0 To 1
    For a = 0 To 10
      AddGadgetItem(ID, -1, "Elément normal "+Str(a), 0, 0) ; si vous souhaitez ajouter une image, utilisez
      AddGadgetItem(ID, -1, "Noeud "+Str(a), 0, 0)          ; ImageID(x) comme 4ème paramètre
      AddGadgetItem(ID, -1, "Sous-élément 1", 0, 1)         ; Ceux-là sont au premier sous-niveau
      AddGadgetItem(ID, -1, "Sous-élément 2", 0, 1)
      AddGadgetItem(ID, -1, "Sous-élément 3", 0, 1)
      AddGadgetItem(ID, -1, "Sous-élément 4", 0, 1)
      AddGadgetItem(ID, -1, "Fichier "+Str(a), 0, 0) ; sous-niveau 0 à nouveau
    Next
  Next
  Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf

; <<<<<<<<<<<<<<<<<<<<<<<
; <<<<< END OF FILE <<<<<
; <<<<<<<<<<<<<<<<<<<<<<<

Best regards
StarBootics

_________________
The Stone Age did not end due to a shortage of stones !


Top
 Profile  
Reply with quote  
 Post subject: Re: PB 5.70B1 - TreeGadget Slow Reaction
PostPosted: Tue Feb 12, 2019 2:42 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jul 07, 2013 11:35 am
Posts: 364
Location: Canada
Hello everyone,

Sorry to bump but just to let you know. The TreeGadget's checkboxes are not responding anymore in PB 5.70 LTS. So the problem become worse since my first post 8 months ago.

Best regards
StarBootics

_________________
The Stone Age did not end due to a shortage of stones !


Top
 Profile  
Reply with quote  
 Post subject: Re: PB 5.70B1 - TreeGadget Slow Reaction
PostPosted: Tue Feb 12, 2019 8:23 am 
Offline
Addict
Addict

Joined: Thu Aug 30, 2007 11:54 pm
Posts: 917
Location: right here
Works here without problem with all 3 subsytems.
PB570LTS x64, Ubuntu 18.04.


Top
 Profile  
Reply with quote  
 Post subject: Re: PB 5.70B1 - TreeGadget Slow Reaction
PostPosted: Tue Feb 12, 2019 3:10 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Fri Apr 25, 2003 4:34 pm
Posts: 879
Location: Canada
I have noticed here on Mint 19 if I toggle a checkbox on and off constantly at a normal speed (using your code snippet), out of 20 tries maybe 4 will get missed.

_________________
Image Image


Top
 Profile  
Reply with quote  
 Post subject: Re: PB 5.70B1 - TreeGadget Slow Reaction
PostPosted: Tue Feb 12, 2019 10:28 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jul 07, 2013 11:35 am
Posts: 364
Location: Canada
Hello everyone,

I forget to mention, I'm running Ubuntu 18.10 x64.

@#Null : I don't understand why it work for you.

Best regards
StarBootics

_________________
The Stone Age did not end due to a shortage of stones !


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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