Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))
On Monday 25 September 2017 00:27:48 fredvs wrote: > > It works much better but a work-around is still needed. > You probably should adjust the size of basedock too. " procedure tmainfo.onfloatall(const sender: TObject); [...] height := emptyheight; //basedock is still big -> mainfo has scrollbar(s) width := fowidth; " 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] Application paused if no mouse event.
On Sunday 24 September 2017 20:30:07 fredvs wrote: > Hello Martin. > > ... > > WOW > > ... > > > Linux gui_getevent() breakes xfilterevent() loop if there is no message. > > If I may, you did discover something **very** annoying. > No, that problem existed in MSEgui some weeks only (since 2017-09-17 exactly), a side effect (bug) of better IBUS repeat key detection I implemented. 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] Application paused if no mouse event.
Hello Martin. ... WOW ... > Linux gui_getevent() breakes xfilterevent() loop if there is no message. If I may, you did discover something **very** annoying. My previous audio project: miXimum uses LCL + Bass audio library. https://sites.google.com/site/fiensprototyping/ Because of that "random pause", I switched form GTK2 to Qt. It works better for synchro but still that "random pause" when no mouse or keyboard for a certain time. And all my annoying post to Lazarus, Qt or Bass forum did not help. I decided to stop to update miXimum in 2012 because of that random pause. Also Bass library is not open-source and there are some things missing. So I created uos the open source out of the box audio library. I have to confess that I was desperate when same random pause appeared for MSE gui too. But you found the solution. ;-) Like always, brillant. This night will be a merciless test, StrumPract will be the dj all night long. Many, many thanks Brillant Martin. Fre;D PS: @Graeme, maybe that MSE fix-code could help for fixing same random pause with fpGUI. -- 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] Application paused if no mouse event.
On 09/24/2017 09:44 AM, Martin Schreiber wrote: > On 09/23/2017 01:35 PM, fredvs wrote: >> Hello Martin. >> >>> I can reproduce it now if not compiled with -gh >> >> Ha here it appends even with -gh. >> > I can't reproduce it anymore. If it is reproducible for you I fear you > need to debug yourself. > I made an additional test for multi-thread, maybe it improves the situation, MSEgui git master e824a386ac891d22196c96acd9f15a9526965abb. 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 Artifacts in form scrolling (was tdirdropdownedit with statfile))
On 09/23/2017 01:54 PM, fredvs wrote: > > The canvas is not refreshed when floating all the visible forms. > The docking area is there but the docking area caption is not drawn if there are docked invisible forms. Changed in git master 367f65d6c118112ecec6f16eb6af36635fcd85b8. 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] Application paused if no mouse event.
On 09/24/2017 09:44 AM, Martin Schreiber wrote: >> > Seems to be fixed with the attached patch. > " +//and the application.unlock() below looks suspect " because it is in an if statement. 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] Application paused if no mouse event.
On 09/23/2017 01:35 PM, fredvs wrote: > Hello Martin. > >> I can reproduce it now if not compiled with -gh > > Ha here it appends even with -gh. > I can't reproduce it anymore. If it is reproducible for you I fear you need to debug yourself. >> But sometimes there is a libc memory error > > How do you get that error ? Even with -ghl + debugger I cannot have errors. > Very difficult to debug then. > Seems to be fixed with the attached patch. Martin diff --git a/src/drums.pas b/src/drums.pas index 292b60c..d2b31ae 100644 --- a/src/drums.pas +++ b/src/drums.pas @@ -247,7 +247,8 @@ begin if noanim.value = false then begin - application.lock(); +// application.lock();not necessary, timer tick runs in main thread context +//and the application.unlock() below looks suspect label2.visible := true; if (posi = 1) or (posi = 9) then @@ -469,7 +470,7 @@ posi := posi + 1; // Timertick.Enabled := true; Timertick.tag := 0 ; -application.unlock(); +//application.unlock(); ??? end else begin Timertick.Enabled := false; @@ -645,7 +646,6 @@ procedure tdrumsfo.createdrumsplayers; var i : integer; begin - for i := 0 to 3 do begin uos_Stop(i); -- 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