Re: [MSEide-MSEgui-talk] Artifacts in form scrolling (was tdirdropdownedit with statfile)

2017-09-18 Thread fredvs
> The problem is the negative shifts in mainfo.container.frame

OK, removed that rounded "global"  frames. (that was not nice in fact).

Now, scrolling main form is perfect.

Well, MSE dock was hardly and deeply tested.

Verdict:

There are no limit.
Time to create now.

Many thanks and wow Martin.

Fre;D





--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Artifacts in form scrolling (was tdirdropdownedit with statfile)

2017-09-18 Thread fredvs
> A hint: the program crashes if compiled with -gh (heaptrace) there seems to
> be a memory error somewhere.

in uos code line 2878:

for x := 0 to (Data.OutFrames div ratio) do ...

Must be:

for x := 0 to (Data.OutFrames div ratio)  -1 do ...

Many thanks Martin and Heaptrace. ;-)

And for the memory leak:

All the created msetimers must be freed on Form.OnDestroy.
--> Done: -->

Heap dump by heaptrc unit
72271 memory blocks allocated : 39115233/39248848
72271 memory blocks freed : 39115233/39248848
0 unfreed memory blocks : 0
True heap size : 753664
True free heap : 753664

;-) 

> The problem is the negative shifts in
> mainfo.container.frame.frameimage_left

OK, I will study it.

Many thanks Martin.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] tdirdropdownedit with statfile (was strumpract)

2017-09-18 Thread Martin Schreiber
On Monday 18 September 2017 14:08:13 fredvs wrote:
> >> On my system -Dir- (tdirdropdownedit) appears with the list of
> >> directory,
>
> like if it was selected.
>
> > Please try again with git master a26cde4dd6fd0d15c94c1e5ce0919d4baf7ef683
>
> Perfect, fixed, many thanks.
>
> Sorry but there s something else ;-(.
>
Please open a new thread if there is something else.

Martin

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] strumpract (was MSE and docking).

2017-09-18 Thread fredvs
> AFAIK heaptrace can not work with cmem. 

Aaargh, indeed, with cmem and using float 32 resolution:

Heap dump by heaptrc unit
0 memory blocks allocated : 0/0
0 memory blocks freed : 0/0
0 unfreed memory blocks : 0
True heap size : 0
True free heap : 0

Here without cmem and float 32 resolution:

Marked memory at $7FD6E9CD80D0 invalid
Wrong signature $F11E8A3B instead of C4C4C11E
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server
":0.0"
  after 2539 requests (2538 known processed) with 0 events remaining.

And here  without cmem and integer 32/16 resolution:

Heap dump by heaptrc unit
6964 memory blocks allocated : 3952422/3965960
6964 memory blocks freed : 3952422/3965960
0 unfreed memory blocks : 0
True heap size : 1179648
True free heap : 1179648

...

How to debug that, if somebody has a idea, he is welcome to share it ;-)

Thanks.

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] tdirdropdownedit with statfile (was strumpract)

2017-09-18 Thread fredvs
>> On my system -Dir- (tdirdropdownedit) appears with the list of directory, 
like if it was selected. 
> Please try again with git master a26cde4dd6fd0d15c94c1e5ce0919d4baf7ef683

Perfect, fixed, many thanks.

Sorry but there s something else ;-(.

When main form is "scrolled"  using the scrollbar does not refresh docked
form.

See video:

mse_scroll.mp4
  

Thanks.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk