Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-21 Thread fredvs
> Can those methods be overloaded? Kept, but replaced with identical methods
that do internally a conversion to fpc methods?

Yes, maybe.

Circular did a class bridge for all graphic class, if you use the bridge all
the fpc graphic class will be used vs mse class.

Now to overloaded the methods, sure a guru can do it.
But he must have lot of courage because some of those mse methods use
msethreads that would need to be overloaded too.

The best would be to fix the semaphores and class conversion for aarch64 and
keep mse methods.
Martin did not make interface for aarch64, only for arm 32.

I did add interface for aarch64, all works for graphic stuffs but I am
blocked with the implementation of semaphores for aarch64, used by mseide.

Because I dont really need it, all my applications ( appart ideU )use fpc
methods to access disk and because also I dont have time + skill, I give up
for this part.

When I have time, I will re-jump into Linux aarch64 (that is not yet stable
and under development) and continue that mse semaphore aarch64 battle.

Fre;D






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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-21 Thread fredvs
> > Fred, if your application made for aarch64 wants to create files on disk,
is that working? 

Following of the following of previous post.

A other problem that I found with msegui on aarch64 is msethread (the custom
mse tthread).
It crashed at execute so I replaced it by fpc tthread.

All that fixed, all my mse applications are working perfectly (unlike many
other "ténor" like Firefox or Gimp for aarch64).
( I was not able to install Lazarus on aarch64 so I dont know for LCL )

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-21 Thread vasi vasi
Can those methods be overloaded? Kept, but replaced with identical methods
that do internally a conversion to fpc methods?

On Sun, Mar 21, 2021 at 7:40 PM vasi vasi  wrote:

> Understood... thank you for explaining this!
>
> On Sun, Mar 21, 2021 at 7:33 PM fredvs  wrote:
>
>> > Fred, if your application made for aarch64 wants to create files on
>> disk,
>> is that working?
>> ...
>> Follow of previous post.
>>
>> So, to be sure to not have any problems, better to be careful with the use
>> of the mse "sta" files.
>> The mse "sta" files if a very good feature, for each widget there is a
>> "statfile" property.
>> When you assign it to a "sta" file, at close, automatically the value of
>> widget will be saved in the stat file (like position and size, etc).
>>
>> And when you load the application, that "stat" file is read and set the
>> saved values for eachwidget.
>>
>> It is what the INI file does for other applications.
>>
>> But the mse "statfile" feature uses all the mse methods to access files.
>> So maybe it is safer to use something like fpgini to save all that data
>> (but
>> is is much more work).
>>
>> Fre;D
>>
>>
>>
>> '
>>
>>
>>
>> --
>> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>>
>>
>> ___
>> mseide-msegui-talk mailing list
>> mseide-msegui-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>>
>
>
> --
> Vasi
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-21 Thread vasi vasi
Understood... thank you for explaining this!

On Sun, Mar 21, 2021 at 7:33 PM fredvs  wrote:

> > Fred, if your application made for aarch64 wants to create files on disk,
> is that working?
> ...
> Follow of previous post.
>
> So, to be sure to not have any problems, better to be careful with the use
> of the mse "sta" files.
> The mse "sta" files if a very good feature, for each widget there is a
> "statfile" property.
> When you assign it to a "sta" file, at close, automatically the value of
> widget will be saved in the stat file (like position and size, etc).
>
> And when you load the application, that "stat" file is read and set the
> saved values for eachwidget.
>
> It is what the INI file does for other applications.
>
> But the mse "statfile" feature uses all the mse methods to access files.
> So maybe it is safer to use something like fpgini to save all that data
> (but
> is is much more work).
>
> Fre;D
>
>
>
> '
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-21 Thread fredvs
> Fred, if your application made for aarch64 wants to create files on disk,
is that working? 
...
Follow of previous post.

So, to be sure to not have any problems, better to be careful with the use
of the mse "sta" files.
The mse "sta" files if a very good feature, for each widget there is a
"statfile" property.
When you assign it to a "sta" file, at close, automatically the value of
widget will be saved in the stat file (like position and size, etc).

And when you load the application, that "stat" file is read and set the
saved values for eachwidget.

It is what the INI file does for other applications.

But the mse "statfile" feature uses all the mse methods to access files.
So maybe it is safer to use something like fpgini to save all that data (but
is is much more work).

Fre;D



'  



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-21 Thread fredvs
> Fred, if your application made for aarch64 wants to create files on disk,
is that working?

If you use all the fpc methods to access disk, like fileexists(), create,
open, edit, ... files, it works perfectly.
It is what I use for all my applications.

But if you use the custom mse methods, like msefileexists, msefilecreate,
etc ( that is used by mseide ) there could have problems.

I jumped already in semaphores used by MSEgui but I dont have the skill yet
to understand how semaphore works.
The goal is to replace all the mse methods to access disk with the one of
fpc.

But it is a absolutely not easy because msegui methods dont use same
parameters and logical as the fpc methods.

It is on my todo list. 

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-21 Thread vasi vasi
Fred, if your application made for aarch64 wants to create files on disk,
is that working?

On Sun, Mar 21, 2021 at 6:22 PM fredvs  wrote:

> > Regarding the acclaimed fpGUI, I have problems with it on my
> configuration,
> like text disappearing from the hint window for a while. What I mean is, as
> long as X11 continue to have driver problems, not even fpGUI is trouble
> free.
>
> I like fpGUI very well.
> But there are some problems.
> There are some issues in GitHub that wait to be fixed.
> I know that hint bug, there is a issue for that.
> Also there are some pull-request that are waiting.
>
> On MSEgui side I dont have found problems, apart for the Radeon driver bug
> and with mseide on Rpi aarch64 bit (all my apps works fine on aarch64 but
> mseide him-self has problems with his sta files and fpc semaphores).
>
> And for aarch64 and mseide semaphore problems (access to disk), it is not
> really a problem for me because all the sources are developed on my Linux
> desktop and I do the compilation on aarch64 with a terminal and a
> command-line, not using mseide.
>
> Fre;D
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-21 Thread fredvs
> Regarding the acclaimed fpGUI, I have problems with it on my configuration,
like text disappearing from the hint window for a while. What I mean is, as
long as X11 continue to have driver problems, not even fpGUI is trouble
free.

I like fpGUI very well.
But there are some problems.
There are some issues in GitHub that wait to be fixed.
I know that hint bug, there is a issue for that.
Also there are some pull-request that are waiting.

On MSEgui side I dont have found problems, apart for the Radeon driver bug
and with mseide on Rpi aarch64 bit (all my apps works fine on aarch64 but
mseide him-self has problems with his sta files and fpc semaphores).

And for aarch64 and mseide semaphore problems (access to disk), it is not
really a problem for me because all the sources are developed on my Linux
desktop and I do the compilation on aarch64 with a terminal and a
command-line, not using mseide.

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-21 Thread vasi vasi
Regarding the acclaimed fpGUI, I have problems with it on my configuration,
like text disappearing from the hint window for a while. What I mean is, as
long as X11 continue to have driver problems, not even fpGUI is trouble
free. I compile it with 3.2.0 pascal version, don't know if fpGUI supports.
that. Anyway, right now msegui works perfect for me.

On Sun, Mar 21, 2021 at 4:49 PM fredvs  wrote:

> Hello Alexander.
>
> OK, it is clear.
>
> In my side, I cannot help more.
> I have to find a computer with a Radeon card.
> But it is not easy, all the people that I know dont use Radeon and nobody
> wants to buy one.
>
> Anyway, many thanks for your patience.
>
> Maybe you may try things by yourself, imho the problems comes from
> msegui.pas in function twindow.internalupdate.
>
> But of course the problem could come from elsewhere;
>
> Fre;D
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-21 Thread fredvs
Hello Alexander.

OK, it is clear.

In my side, I cannot help more.
I have to find a computer with a Radeon card.
But it is not easy, all the people that I know dont use Radeon and nobody
wants to buy one.

Anyway, many thanks for your patience.

Maybe you may try things by yourself, imho the problems comes from
msegui.pas in function twindow.internalupdate.

But of course the problem could come from elsewhere;

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-21 Thread Alexander via mseide-msegui-talk
Yes, in video problem see as lost lines.

In object inspector bug may find fast (object inspector has inside many 
controls),
but bug is not only object inspector: in MSE entry and all programs written on 
MSE.

On Sun, 21 Mar 2021 04:02:21 -0700 (MST)
fredvs  wrote:

> Hello Alexander.
> 
> Maybe I miss something, but in your video all seems ok.
> Or maybe the lines of the Tstringgrid are not painted (difficult to see on
> the video)?
> 
> And if you run mseide and only click on the Tstringgrid of the
> form-designer, do you have still problems with the object inspector?
> 
> Fre;D
> 
> 
> 
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
> 
> 
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-21 Thread fredvs
Hello Alexander.

Here video of mseradeon_test.prj with mseide binary from previous post on a
i5 machine.

Do you have the same with radeon ?

mse_radeon_test.mp4
  

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-21 Thread fredvs
Hello Alexander.

Maybe I miss something, but in your video all seems ok.
Or maybe the lines of the Tstringgrid are not painted (difficult to see on
the video)?

And if you run mseide and only click on the Tstringgrid of the
form-designer, do you have still problems with the object inspector?

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread Alexander via mseide-msegui-talk
http://soft.self-made-free.ru/mse_radeon_test.webm

On Sat, 20 Mar 2021 11:24:23 -0700 (MST)
fredvs  wrote:

> Re-...re- hello Alexander.
> 
> Could you please load the project in attachment with last mseide binary ?
> This is a simple project with only one msestringlist.
> 
> mseradeon_test.zip
>   
> 
> Does it have problems too if you select in Object Inspector?
> 
> 
> 
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
> 
> 
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread fredvs
Re-...re- hello Alexander.

Could you please load the project in attachment with last mseide binary ?
This is a simple project with only one msestringlist.

mseradeon_test.zip
  

Does it have problems too if you select in Object Inspector?



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread vasi vasi
I have a desktop PC with AMD processor, 10 cores... I have a problem at the
power source, last time it shut down before completing the boot process. If
I am lucky to start it, I can test the binary.  Slim chances, but I will
try.

On Sat, Mar 20, 2021 at 7:43 PM fredvs  wrote:

> Hello Alexander.
>
> Do you have the same with a new project, created with mseide binary of
> previous post?
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread fredvs
Hello Alexander.

Do you have the same with a new project, created with mseide binary of
previous post?



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread fredvs
Thanks Alexander.

Indeed, it did not solve your problem.

I am sorry.

;(

Fred.



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread Alexander via mseide-msegui-talk
http://soft.self-made-free.ru/mse_from_list.webm

http://soft.self-made-free.ru/


On Sat, 20 Mar 2021 08:05:58 -0700 (MST)
fredvs  wrote:

> Hello Alexander.
> 
> Please try mseide binary in attachment and please, do a video of the result.
> 
> mseide.zip
>   
> 
> Many thanks.
> 
> 
> 
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
> 
> 
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread fredvs
Hello Alexander.

Please try mseide binary in attachment and please, do a video of the result.

mseide.zip
  

Many thanks.



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread Alexander via mseide-msegui-talk
I use this file and recomple MSE.

But bug also stay up. :(

On Sat, 20 Mar 2021 13:25:15 +
Fred van Stappen  wrote:

> 
> De : vasi vasi 
> Envoyé : samedi 20 mars 2021 14:00
> À : General list for MSEide+MSEgui 
> Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
> 
> Fred, can you compile the IDE for linux 64 with the current modifications and 
> make a zip for Alexander to test> I think this will go faster.
> 
> 
> On Sat, Mar 20, 2021 at 2:59 PM vasi vasi 
> mailto:funl...@gmail.com>> wrote:
> Maybe Alexander does not know where to put msegui.pas...
> 
> On Sat, Mar 20, 2021 at 2:53 PM fredvs 
> mailto:fi...@hotmail.com>> wrote:
> Re-hello Alexander.
> 
> The previous attachment is not the good one.
> 
> Here the good one:
> 
> msegui.zip
> <http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/msegui.zip>
> 
> Fre;D
> 
> 
> 
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
> 
> 
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
> 
> 
> --
> Vasi
> 
> 
> --
> Vasi


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread vasi vasi
Yep, Lazarus forums...

On Sat, Mar 20, 2021 at 4:46 PM Alexander via mseide-msegui-talk <
mseide-msegui-talk@lists.sourceforge.net> wrote:

> I add this lines and again recompile MSE.
>
> Bug stay up. :(
>
> On Sat, 20 Mar 2021 06:13:31 -0700 (MST)
> fredvs  wrote:
>
> > Hello Alexander.
> >
> > No, this will not work, please add those lines:
> >
> > >fownerwidget.paint(bmp.canvas);
> > >  bmp.paint(fcanvas,rect1);
> > >  sleep(10);   // Add this
> > >fownerwidget.paint(bmp.canvas); // Add this
> > >  bmp.paint(fcanvas,rect1);  // Add this
> > >  fcanvas.endpaint;   // Add this
> > > end
> >
> >
> >
> > --
> > Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
> >
> >
> > ___
> > mseide-msegui-talk mailing list
> > mseide-msegui-talk@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread Alexander via mseide-msegui-talk
I add this lines and again recompile MSE.

Bug stay up. :(

On Sat, 20 Mar 2021 06:13:31 -0700 (MST)
fredvs  wrote:

> Hello Alexander.
> 
> No, this will not work, please add those lines:
> 
> >fownerwidget.paint(bmp.canvas);
> >  bmp.paint(fcanvas,rect1);
> >  sleep(10);   // Add this
> >fownerwidget.paint(bmp.canvas); // Add this
> >  bmp.paint(fcanvas,rect1);  // Add this
> >  fcanvas.endpaint;   // Add this
> > end   
> 
> 
> 
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
> 
> 
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread vasi vasi
You have to explain them what the problem is, maybe some images, or link to
my video... anything that can present the problem.

On Sat, Mar 20, 2021 at 4:02 PM vasi vasi  wrote:

> Fred, can you try on Lazarus forums? Ask someone that has Radeon to try
> the package you prepared. You can find there more help.
>
> On Sat, Mar 20, 2021 at 3:29 PM fredvs  wrote:
>
>> Hello Vasi.
>> Good idea.
>>
>> Hello Alexander.
>> Could you try mseide compiled for Linux 64 bit?
>>
>> . mseide.zip
>> 
>>
>> Thanks.
>>
>>
>>
>>
>>
>> --
>> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>>
>>
>> ___
>> mseide-msegui-talk mailing list
>> mseide-msegui-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>>
>
>
> --
> Vasi
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread vasi vasi
Fred, can you try on Lazarus forums? Ask someone that has Radeon to try the
package you prepared. You can find there more help.

On Sat, Mar 20, 2021 at 3:29 PM fredvs  wrote:

> Hello Vasi.
> Good idea.
>
> Hello Alexander.
> Could you try mseide compiled for Linux 64 bit?
>
> . mseide.zip
> 
>
> Thanks.
>
>
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread fredvs
Hello Vasi.
Good idea.

Hello Alexander.
Could you try mseide compiled for Linux 64 bit?

. mseide.zip
  

Thanks.





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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread Fred van Stappen



De : vasi vasi 
Envoyé : samedi 20 mars 2021 14:00
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

Fred, can you compile the IDE for linux 64 with the current modifications and 
make a zip for Alexander to test> I think this will go faster.


On Sat, Mar 20, 2021 at 2:59 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Maybe Alexander does not know where to put msegui.pas...

On Sat, Mar 20, 2021 at 2:53 PM fredvs 
mailto:fi...@hotmail.com>> wrote:
Re-hello Alexander.

The previous attachment is not the good one.

Here the good one:

msegui.zip
<http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/msegui.zip>

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread fredvs
Hello Alexander.

No, this will not work, please add those lines:

>fownerwidget.paint(bmp.canvas);
>  bmp.paint(fcanvas,rect1);
>  sleep(10);   // Add this
>fownerwidget.paint(bmp.canvas); // Add this
>  bmp.paint(fcanvas,rect1);  // Add this
>  fcanvas.endpaint;   // Add this
> end 



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread Alexander via mseide-msegui-talk
I add this lines and recomple MSE.

But bug stay up. :(

On Fri, 19 Mar 2021 13:17:59 -0700 (MST)
fredvs  wrote:

> Hello.
> 
> Could somebody try this (sorry to annoy but otherwise it is impossible to
> fix it).
> 
> Dont use "flushgdi := TRUE;" and also not "-dmse_flushgdi".
> 
> In /mseide-msegui/lib/common/kernel/msegui.pas, 
> in function twindow.internalupdate,
> 
> at line 17017
> Add the 2 lines like follow:
> 
> ...
>   result:= true;
>  fownerwidget.paint(bmp.canvas);
>  bmp.paint(fcanvas,rect1);
>  fcanvas.endpaint;   // Add this
>  sleep(10);   // Add this
> end
> else begin
> ...
> 
> Compile and see what happen?
> 
> Thanks.
> 
> Fre;D
> 
> 
> 
> 
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
> 
> 
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread vasi vasi
Fred, can you compile the IDE for linux 64 with the current modifications
and make a zip for Alexander to test> I think this will go faster.


On Sat, Mar 20, 2021 at 2:59 PM vasi vasi  wrote:

> Maybe Alexander does not know where to put msegui.pas...
>
> On Sat, Mar 20, 2021 at 2:53 PM fredvs  wrote:
>
>> Re-hello Alexander.
>>
>> The previous attachment is not the good one.
>>
>> Here the good one:
>>
>> msegui.zip
>> 
>>
>> Fre;D
>>
>>
>>
>> --
>> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>>
>>
>> ___
>> mseide-msegui-talk mailing list
>> mseide-msegui-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>>
>
>
> --
> Vasi
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread vasi vasi
Maybe Alexander does not know where to put msegui.pas...

On Sat, Mar 20, 2021 at 2:53 PM fredvs  wrote:

> Re-hello Alexander.
>
> The previous attachment is not the good one.
>
> Here the good one:
>
> msegui.zip
> 
>
> Fre;D
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread fredvs
Re-hello Alexander.

The previous attachment is not the good one.

Here the good one:

msegui.zip
  

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-20 Thread fredvs
Hello Alexander.

>I try fpc -dmse_flushgdi -Fu./lib/common/* -Fu./lib/common/kernel/linux -B
-CX ./apps/ide/mseide.pas
>But bug stay up. As with -dmse_flushgdi as much without it.

I need your help because I dont have a Radeon card to test.

Would it be possible to give a video, like you did, with mseide.pas compiled
with -dmse_flushgdi and without -dmse_flushgdi ?

Could you try to compile mseide.pas with the msegui.pas that is in
attachment and without -dmse_flushgdi ?
msegui.zip
  
Just replace msegui.pas into mseide-msegui/lib/common/kernel/msegui.pas

Thanks.

Fre;D




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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread Alexander via mseide-msegui-talk
I try fpc -dmse_flushgdi -Fu./lib/common/* -Fu./lib/common/kernel/linux -B -CX 
./apps/ide/mseide.pas
But bug stay up. As with -dmse_flushgdi as much without it.

fpGUI works fine without problem. http://soft.self-made-free.ru/fpGUI.webm , 
http://soft.self-made-free.ru/

On Fri, 19 Mar 2021 15:40:38 +0200
vasi vasi  wrote:

> There are problems also on some Intel graphics on low end laptops. But I
> see a temporary smudge in a tdirtreeview, but only when I select an item
> from that list with the mouse and that only for a fraction of a second,
> then the item is drawn properly.
> 
> The trick with flushgdi := TRUE; works, but on such a low end laptop the
> loss in performance is visible.
> 
> Not a problem on another Intel I3 laptop.
> 
> So, I wonder what does fpGUI different...
> 
> On Fri, Mar 19, 2021 at 9:34 AM Alexander via mseide-msegui-talk <
> mseide-msegui-talk@lists.sourceforge.net> wrote:
> 
> > On Fri, 19 Mar 2021 01:44:52 +0200
> > vasi vasi  wrote:
> >  
> > > Is fpGUI suffering from the same problem?  
> >
> > Not. Without problems. In fpGUI all works fine.
> >
> >
> > ___
> > mseide-msegui-talk mailing list
> > mseide-msegui-talk@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
> >  
> 
> 
> -- 
> Vasi


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
If this works also for Radeon and AMD graphics in general, then this is
great!

On Sat, Mar 20, 2021 at 3:19 AM Fred van Stappen  wrote:

> I vote for this:
>
>  fownerwidget.paint(bmp.canvas);
>  fownerwidget.paint(bmp.canvas);
>  bmp.paint(fcanvas,rect1);
>
>
>
> --
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 02:15
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> This works best:
>  fownerwidget.paint(bmp.canvas);
>  fownerwidget.paint(bmp.canvas);
>  bmp.paint(fcanvas,rect1);
>
> On the other, smudges reappear.
>
> On Sat, Mar 20, 2021 at 3:09 AM Fred van Stappen 
> wrote:
>
> And doubling only one of the paint ?:
>
> this:
>
> fownerwidget.paint(bmp.canvas);
> fownerwidget.paint(bmp.canvas);
>  bmp.paint(fcanvas,rect1);
>
> or this:
>
> fownerwidget.paint(bmp.canvas);
>  bmp.paint(fcanvas,rect1);
>  bmp.paint(fcanvas,rect1);
>
>
> --
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 01:21
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> It even works with double painting without the sleep(). frankly, I prefer
> this, but depends also on Alexander...
>
> On Sat, Mar 20, 2021 at 2:18 AM vasi vasi  wrote:
>
> no, the smudges return. the previous solution works.
>
> On Sat, Mar 20, 2021 at 2:10 AM Fred van Stappen 
> wrote:
>
> Very-very last thing (I sleep already).
>
> Ok, repeat seems to fix the thing.
>
> But what without repeat but place a sleep(10) before paint, like this:
>
> ...
>  sleep(10);  // sleep before paint
>
> fownerwidget.paint(bmp.canvas);
>  bmp.paint(fcanvas,rect1);
>
> // no repeat
> ...
>
> Ok, I continue to sleep() too.
>
> Fre;D
>
> --
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 00:39
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> Good night and thank you again!
>
> On Sat, Mar 20, 2021 at 1:39 AM Fred van Stappen 
> wrote:
>
> > we need Alexander's confirmation.
>
> Yes, I cross my fingers.
>
> Good night.
>
> Fre;D
>
> --
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 00:35
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> I will try to tune that delay, meantime we need Alexander's confirmation.
> I think the delay tune might depend also on him.
>
> On Sat, Mar 20, 2021 at 1:34 AM Fred van Stappen 
> wrote:
>
> Really ?
>
> So excellent news!
>
> Maybe you may try to decrease the sleep(x) to see how many time is needed.
> Maybe only sleep(1) is enough.
>
> When you are ok, could you attach the msegui.pas with fixes on a post?
>
> Before to commit it, it would be better to test it deeply to see if there
> is no lost of performence.
>
> Here on a i5, no difference.
>
> Thanks, it was a nice combat.
>
> Fre;D
>
> --
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 00:25
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> This (see attachment)
> [image: smudges_gone.png]
>
>
> On Sat, Mar 20, 2021 at 1:22 AM Fred van Stappen 
> wrote:
>
> Huh, not sure to understand, what did I do, what fixes the things ?
>
> --
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 00:18
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> You know what?
>
> YOU DID IT!  NO SMUDGES HERE!
>
> If this fixes the problem also for Alexander then this is huge!
> Thank you Fred for not giving up! Sleep well!
>
> On Sat, Mar 20, 2021 at 1:03 AM fredvs  wrote:
>
> > Is msegui using BGRABitmap as foundation in drawing it's widgets? Because
> if it is not, then I don't see the point...
>
> No, it was just a (bad) idea, I did try it but it gives much more problem,
> better to stay with msebitmap.
>
> Hum, last thing before to sleep, if you repeat the paint in msegui.pas,
> changing this at the sa

Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread Fred van Stappen
I vote for this:

 fownerwidget.paint(bmp.canvas);
 fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);




De : vasi vasi 
Envoyé : samedi 20 mars 2021 02:15
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

This works best:
 fownerwidget.paint(bmp.canvas);
 fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);

On the other, smudges reappear.

On Sat, Mar 20, 2021 at 3:09 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
And doubling only one of the paint ?:

this:

fownerwidget.paint(bmp.canvas);
fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);

or this:

fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);
 bmp.paint(fcanvas,rect1);



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 01:21
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

It even works with double painting without the sleep(). frankly, I prefer this, 
but depends also on Alexander...

On Sat, Mar 20, 2021 at 2:18 AM vasi vasi 
mailto:funl...@gmail.com>> wrote:
no, the smudges return. the previous solution works.

On Sat, Mar 20, 2021 at 2:10 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Very-very last thing (I sleep already).

Ok, repeat seems to fix the thing.

But what without repeat but place a sleep(10) before paint, like this:

...
 sleep(10);  // sleep before paint

fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);

// no repeat
...

Ok, I continue to sleep() too.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:39
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

Good night and thank you again!

On Sat, Mar 20, 2021 at 1:39 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
> we need Alexander's confirmation.

Yes, I cross my fingers.

Good night.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:35
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

I will try to tune that delay, meantime we need Alexander's confirmation. I 
think the delay tune might depend also on him.

On Sat, Mar 20, 2021 at 1:34 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Really ?

So excellent news!

Maybe you may try to decrease the sleep(x) to see how many time is needed.
Maybe only sleep(1) is enough.

When you are ok, could you attach the msegui.pas with fixes on a post?

Before to commit it, it would be better to test it deeply to see if there is no 
lost of performence.

Here on a i5, no difference.

Thanks, it was a nice combat.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:25
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

This (see attachment)
[smudges_gone.png]


On Sat, Mar 20, 2021 at 1:22 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Huh, not sure to understand, what did I do, what fixes the things ?


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:18
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

You know what?

YOU DID IT!  NO SMUDGES HERE!

If this fixes the problem also for Alexander then this is huge!
Thank you Fred for not giving up! Sleep well!

On Sat, Mar 20, 2021 at 1:03 AM fredvs 
mailto:fi...@hotmail.com>> wrote:
> Is msegui using BGRABitmap as foundation in drawing it's widgets? Because
if it is not, then I don't see the point...

No, it was just a (bad) idea, I did try it but it gives much more problem,
better to stay with msebitmap.

Hum, last thing before to sleep, if you repeat the paint in msegui.pas,
changing this at the same place that explained in previous post:

...
fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);

sleep(10);

 fownerwidget.paint(bmp.canvas); // repeat this
 bmp.paint(fcanvas,rect1); // repeat this

 fcanvas.endpaint;

   ...

> I don't have it installed. It is installed in Lazarus (again is not clear
> to me if Lazarus use it instead of gtk, qt, etc.) but I don't have it
> installed for msegui.

It works perfectly with msegui, if you want I will explain how to use it
(but not now, I have to sleep).

Fre;D



--
Sent from: http:/

Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
This works best:
 fownerwidget.paint(bmp.canvas);
 fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);

On the other, smudges reappear.

On Sat, Mar 20, 2021 at 3:09 AM Fred van Stappen  wrote:

> And doubling only one of the paint ?:
>
> this:
>
> fownerwidget.paint(bmp.canvas);
> fownerwidget.paint(bmp.canvas);
>  bmp.paint(fcanvas,rect1);
>
> or this:
>
> fownerwidget.paint(bmp.canvas);
>  bmp.paint(fcanvas,rect1);
>  bmp.paint(fcanvas,rect1);
>
>
> --
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 01:21
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> It even works with double painting without the sleep(). frankly, I prefer
> this, but depends also on Alexander...
>
> On Sat, Mar 20, 2021 at 2:18 AM vasi vasi  wrote:
>
> no, the smudges return. the previous solution works.
>
> On Sat, Mar 20, 2021 at 2:10 AM Fred van Stappen 
> wrote:
>
> Very-very last thing (I sleep already).
>
> Ok, repeat seems to fix the thing.
>
> But what without repeat but place a sleep(10) before paint, like this:
>
> ...
>  sleep(10);  // sleep before paint
>
> fownerwidget.paint(bmp.canvas);
>  bmp.paint(fcanvas,rect1);
>
> // no repeat
> ...
>
> Ok, I continue to sleep() too.
>
> Fre;D
>
> ------
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 00:39
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> Good night and thank you again!
>
> On Sat, Mar 20, 2021 at 1:39 AM Fred van Stappen 
> wrote:
>
> > we need Alexander's confirmation.
>
> Yes, I cross my fingers.
>
> Good night.
>
> Fre;D
>
> ------
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 00:35
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> I will try to tune that delay, meantime we need Alexander's confirmation.
> I think the delay tune might depend also on him.
>
> On Sat, Mar 20, 2021 at 1:34 AM Fred van Stappen 
> wrote:
>
> Really ?
>
> So excellent news!
>
> Maybe you may try to decrease the sleep(x) to see how many time is needed.
> Maybe only sleep(1) is enough.
>
> When you are ok, could you attach the msegui.pas with fixes on a post?
>
> Before to commit it, it would be better to test it deeply to see if there
> is no lost of performence.
>
> Here on a i5, no difference.
>
> Thanks, it was a nice combat.
>
> Fre;D
>
> --
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 00:25
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> This (see attachment)
> [image: smudges_gone.png]
>
>
> On Sat, Mar 20, 2021 at 1:22 AM Fred van Stappen 
> wrote:
>
> Huh, not sure to understand, what did I do, what fixes the things ?
>
> --
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 00:18
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> You know what?
>
> YOU DID IT!  NO SMUDGES HERE!
>
> If this fixes the problem also for Alexander then this is huge!
> Thank you Fred for not giving up! Sleep well!
>
> On Sat, Mar 20, 2021 at 1:03 AM fredvs  wrote:
>
> > Is msegui using BGRABitmap as foundation in drawing it's widgets? Because
> if it is not, then I don't see the point...
>
> No, it was just a (bad) idea, I did try it but it gives much more problem,
> better to stay with msebitmap.
>
> Hum, last thing before to sleep, if you repeat the paint in msegui.pas,
> changing this at the same place that explained in previous post:
>
> ...
> fownerwidget.paint(bmp.canvas);
>  bmp.paint(fcanvas,rect1);
>
> sleep(10);
>
>  fownerwidget.paint(bmp.canvas); // repeat this
>  bmp.paint(fcanvas,rect1); // repeat this
>
>  fcanvas.endpaint;
>
>...
>
> > I don't have it installed. It is installed in Lazarus (again is not clear
> > to me if Lazarus use it instead of gtk, qt, etc.) but I don't have it
> > installed for msegui.
>
> It works perfectly with msegui, if you want I will explain how to use it
> (but no

Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread Fred van Stappen
And doubling only one of the paint ?:

this:

fownerwidget.paint(bmp.canvas);
fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);

or this:

fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);
 bmp.paint(fcanvas,rect1);



De : vasi vasi 
Envoyé : samedi 20 mars 2021 01:21
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

It even works with double painting without the sleep(). frankly, I prefer this, 
but depends also on Alexander...

On Sat, Mar 20, 2021 at 2:18 AM vasi vasi 
mailto:funl...@gmail.com>> wrote:
no, the smudges return. the previous solution works.

On Sat, Mar 20, 2021 at 2:10 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Very-very last thing (I sleep already).

Ok, repeat seems to fix the thing.

But what without repeat but place a sleep(10) before paint, like this:

...
 sleep(10);  // sleep before paint

fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);

// no repeat
...

Ok, I continue to sleep() too.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:39
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

Good night and thank you again!

On Sat, Mar 20, 2021 at 1:39 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
> we need Alexander's confirmation.

Yes, I cross my fingers.

Good night.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:35
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

I will try to tune that delay, meantime we need Alexander's confirmation. I 
think the delay tune might depend also on him.

On Sat, Mar 20, 2021 at 1:34 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Really ?

So excellent news!

Maybe you may try to decrease the sleep(x) to see how many time is needed.
Maybe only sleep(1) is enough.

When you are ok, could you attach the msegui.pas with fixes on a post?

Before to commit it, it would be better to test it deeply to see if there is no 
lost of performence.

Here on a i5, no difference.

Thanks, it was a nice combat.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:25
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

This (see attachment)
[smudges_gone.png]


On Sat, Mar 20, 2021 at 1:22 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Huh, not sure to understand, what did I do, what fixes the things ?


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:18
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

You know what?

YOU DID IT!  NO SMUDGES HERE!

If this fixes the problem also for Alexander then this is huge!
Thank you Fred for not giving up! Sleep well!

On Sat, Mar 20, 2021 at 1:03 AM fredvs 
mailto:fi...@hotmail.com>> wrote:
> Is msegui using BGRABitmap as foundation in drawing it's widgets? Because
if it is not, then I don't see the point...

No, it was just a (bad) idea, I did try it but it gives much more problem,
better to stay with msebitmap.

Hum, last thing before to sleep, if you repeat the paint in msegui.pas,
changing this at the same place that explained in previous post:

...
fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);

sleep(10);

 fownerwidget.paint(bmp.canvas); // repeat this
 bmp.paint(fcanvas,rect1); // repeat this

 fcanvas.endpaint;

   ...

> I don't have it installed. It is installed in Lazarus (again is not clear
> to me if Lazarus use it instead of gtk, qt, etc.) but I don't have it
> installed for msegui.

It works perfectly with msegui, if you want I will explain how to use it
(but not now, I have to sleep).

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@list

Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread Fred van Stappen
Yes that would be the cleanest.

But Alexander is the boss to decide.


De : vasi vasi 
Envoyé : samedi 20 mars 2021 01:21
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

It even works with double painting without the sleep(). frankly, I prefer this, 
but depends also on Alexander...

On Sat, Mar 20, 2021 at 2:18 AM vasi vasi 
mailto:funl...@gmail.com>> wrote:
no, the smudges return. the previous solution works.

On Sat, Mar 20, 2021 at 2:10 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Very-very last thing (I sleep already).

Ok, repeat seems to fix the thing.

But what without repeat but place a sleep(10) before paint, like this:

...
 sleep(10);  // sleep before paint

fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);

// no repeat
...

Ok, I continue to sleep() too.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:39
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

Good night and thank you again!

On Sat, Mar 20, 2021 at 1:39 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
> we need Alexander's confirmation.

Yes, I cross my fingers.

Good night.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:35
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

I will try to tune that delay, meantime we need Alexander's confirmation. I 
think the delay tune might depend also on him.

On Sat, Mar 20, 2021 at 1:34 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Really ?

So excellent news!

Maybe you may try to decrease the sleep(x) to see how many time is needed.
Maybe only sleep(1) is enough.

When you are ok, could you attach the msegui.pas with fixes on a post?

Before to commit it, it would be better to test it deeply to see if there is no 
lost of performence.

Here on a i5, no difference.

Thanks, it was a nice combat.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:25
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

This (see attachment)
[smudges_gone.png]


On Sat, Mar 20, 2021 at 1:22 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Huh, not sure to understand, what did I do, what fixes the things ?


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:18
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

You know what?

YOU DID IT!  NO SMUDGES HERE!

If this fixes the problem also for Alexander then this is huge!
Thank you Fred for not giving up! Sleep well!

On Sat, Mar 20, 2021 at 1:03 AM fredvs 
mailto:fi...@hotmail.com>> wrote:
> Is msegui using BGRABitmap as foundation in drawing it's widgets? Because
if it is not, then I don't see the point...

No, it was just a (bad) idea, I did try it but it gives much more problem,
better to stay with msebitmap.

Hum, last thing before to sleep, if you repeat the paint in msegui.pas,
changing this at the same place that explained in previous post:

...
fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);

sleep(10);

 fownerwidget.paint(bmp.canvas); // repeat this
 bmp.paint(fcanvas,rect1); // repeat this

 fcanvas.endpaint;

   ...

> I don't have it installed. It is installed in Lazarus (again is not clear
> to me if Lazarus use it instead of gtk, qt, etc.) but I don't have it
> installed for msegui.

It works perfectly with msegui, if you want I will explain how to use it
(but not now, I have to sleep).

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
_

Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
It even works with double painting without the sleep(). frankly, I prefer
this, but depends also on Alexander...

On Sat, Mar 20, 2021 at 2:18 AM vasi vasi  wrote:

> no, the smudges return. the previous solution works.
>
> On Sat, Mar 20, 2021 at 2:10 AM Fred van Stappen 
> wrote:
>
>> Very-very last thing (I sleep already).
>>
>> Ok, repeat seems to fix the thing.
>>
>> But what without repeat but place a sleep(10) before paint, like this:
>>
>> ...
>>  sleep(10);  // sleep before paint
>>
>> fownerwidget.paint(bmp.canvas);
>>  bmp.paint(fcanvas,rect1);
>>
>> // no repeat
>> ...
>>
>> Ok, I continue to sleep() too.
>>
>> Fre;D
>>
>> --
>> *De :* vasi vasi 
>> *Envoyé :* samedi 20 mars 2021 00:39
>> *À :* General list for MSEide+MSEgui <
>> mseide-msegui-talk@lists.sourceforge.net>
>> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>>
>> Good night and thank you again!
>>
>> On Sat, Mar 20, 2021 at 1:39 AM Fred van Stappen 
>> wrote:
>>
>> > we need Alexander's confirmation.
>>
>> Yes, I cross my fingers.
>>
>> Good night.
>>
>> Fre;D
>>
>> --
>> *De :* vasi vasi 
>> *Envoyé :* samedi 20 mars 2021 00:35
>> *À :* General list for MSEide+MSEgui <
>> mseide-msegui-talk@lists.sourceforge.net>
>> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>>
>> I will try to tune that delay, meantime we need Alexander's confirmation.
>> I think the delay tune might depend also on him.
>>
>> On Sat, Mar 20, 2021 at 1:34 AM Fred van Stappen 
>> wrote:
>>
>> Really ?
>>
>> So excellent news!
>>
>> Maybe you may try to decrease the sleep(x) to see how many time is needed.
>> Maybe only sleep(1) is enough.
>>
>> When you are ok, could you attach the msegui.pas with fixes on a post?
>>
>> Before to commit it, it would be better to test it deeply to see if there
>> is no lost of performence.
>>
>> Here on a i5, no difference.
>>
>> Thanks, it was a nice combat.
>>
>> Fre;D
>>
>> --
>> *De :* vasi vasi 
>> *Envoyé :* samedi 20 mars 2021 00:25
>> *À :* General list for MSEide+MSEgui <
>> mseide-msegui-talk@lists.sourceforge.net>
>> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>>
>> This (see attachment)
>> [image: smudges_gone.png]
>>
>>
>> On Sat, Mar 20, 2021 at 1:22 AM Fred van Stappen 
>> wrote:
>>
>> Huh, not sure to understand, what did I do, what fixes the things ?
>>
>> --
>> *De :* vasi vasi 
>> *Envoyé :* samedi 20 mars 2021 00:18
>> *À :* General list for MSEide+MSEgui <
>> mseide-msegui-talk@lists.sourceforge.net>
>> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>>
>> You know what?
>>
>> YOU DID IT!  NO SMUDGES HERE!
>>
>> If this fixes the problem also for Alexander then this is huge!
>> Thank you Fred for not giving up! Sleep well!
>>
>> On Sat, Mar 20, 2021 at 1:03 AM fredvs  wrote:
>>
>> > Is msegui using BGRABitmap as foundation in drawing it's widgets?
>> Because
>> if it is not, then I don't see the point...
>>
>> No, it was just a (bad) idea, I did try it but it gives much more problem,
>> better to stay with msebitmap.
>>
>> Hum, last thing before to sleep, if you repeat the paint in msegui.pas,
>> changing this at the same place that explained in previous post:
>>
>> ...
>> fownerwidget.paint(bmp.canvas);
>>  bmp.paint(fcanvas,rect1);
>>
>> sleep(10);
>>
>>  fownerwidget.paint(bmp.canvas); // repeat this
>>  bmp.paint(fcanvas,rect1); // repeat this
>>
>>  fcanvas.endpaint;
>>
>>...
>>
>> > I don't have it installed. It is installed in Lazarus (again is not
>> clear
>> > to me if Lazarus use it instead of gtk, qt, etc.) but I don't have it
>> > installed for msegui.
>>
>> It works perfectly with msegui, if you want I will explain how to use it
>> (but not now, I have to sleep).
>>
>> Fre;D
>>
>>
>>
>> --
>> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>>
>>
>> ___
>> mseide-msegui-talk mailing list
>> ms

Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
no, the smudges return. the previous solution works.

On Sat, Mar 20, 2021 at 2:10 AM Fred van Stappen  wrote:

> Very-very last thing (I sleep already).
>
> Ok, repeat seems to fix the thing.
>
> But what without repeat but place a sleep(10) before paint, like this:
>
> ...
>  sleep(10);  // sleep before paint
>
> fownerwidget.paint(bmp.canvas);
>  bmp.paint(fcanvas,rect1);
>
> // no repeat
> ...
>
> Ok, I continue to sleep() too.
>
> Fre;D
>
> --
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 00:39
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> Good night and thank you again!
>
> On Sat, Mar 20, 2021 at 1:39 AM Fred van Stappen 
> wrote:
>
> > we need Alexander's confirmation.
>
> Yes, I cross my fingers.
>
> Good night.
>
> Fre;D
>
> --
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 00:35
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> I will try to tune that delay, meantime we need Alexander's confirmation.
> I think the delay tune might depend also on him.
>
> On Sat, Mar 20, 2021 at 1:34 AM Fred van Stappen 
> wrote:
>
> Really ?
>
> So excellent news!
>
> Maybe you may try to decrease the sleep(x) to see how many time is needed.
> Maybe only sleep(1) is enough.
>
> When you are ok, could you attach the msegui.pas with fixes on a post?
>
> Before to commit it, it would be better to test it deeply to see if there
> is no lost of performence.
>
> Here on a i5, no difference.
>
> Thanks, it was a nice combat.
>
> Fre;D
>
> ----------
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 00:25
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> This (see attachment)
> [image: smudges_gone.png]
>
>
> On Sat, Mar 20, 2021 at 1:22 AM Fred van Stappen 
> wrote:
>
> Huh, not sure to understand, what did I do, what fixes the things ?
>
> --
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 00:18
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> You know what?
>
> YOU DID IT!  NO SMUDGES HERE!
>
> If this fixes the problem also for Alexander then this is huge!
> Thank you Fred for not giving up! Sleep well!
>
> On Sat, Mar 20, 2021 at 1:03 AM fredvs  wrote:
>
> > Is msegui using BGRABitmap as foundation in drawing it's widgets? Because
> if it is not, then I don't see the point...
>
> No, it was just a (bad) idea, I did try it but it gives much more problem,
> better to stay with msebitmap.
>
> Hum, last thing before to sleep, if you repeat the paint in msegui.pas,
> changing this at the same place that explained in previous post:
>
> ...
> fownerwidget.paint(bmp.canvas);
>  bmp.paint(fcanvas,rect1);
>
> sleep(10);
>
>  fownerwidget.paint(bmp.canvas); // repeat this
>  bmp.paint(fcanvas,rect1); // repeat this
>
>  fcanvas.endpaint;
>
>...
>
> > I don't have it installed. It is installed in Lazarus (again is not clear
> > to me if Lazarus use it instead of gtk, qt, etc.) but I don't have it
> > installed for msegui.
>
> It works perfectly with msegui, if you want I will explain how to use it
> (but not now, I have to sleep).
>
> Fre;D
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
>
>
> --
> Vasi
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
>
>
> --
> Vasi
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
>
>
> --
> Vasi
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
>
>
> --
> Vasi
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread Fred van Stappen
Very-very last thing (I sleep already).

Ok, repeat seems to fix the thing.

But what without repeat but place a sleep(10) before paint, like this:

...
 sleep(10);  // sleep before paint

fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);

// no repeat
...

Ok, I continue to sleep() too.

Fre;D


De : vasi vasi 
Envoyé : samedi 20 mars 2021 00:39
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

Good night and thank you again!

On Sat, Mar 20, 2021 at 1:39 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
> we need Alexander's confirmation.

Yes, I cross my fingers.

Good night.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:35
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

I will try to tune that delay, meantime we need Alexander's confirmation. I 
think the delay tune might depend also on him.

On Sat, Mar 20, 2021 at 1:34 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Really ?

So excellent news!

Maybe you may try to decrease the sleep(x) to see how many time is needed.
Maybe only sleep(1) is enough.

When you are ok, could you attach the msegui.pas with fixes on a post?

Before to commit it, it would be better to test it deeply to see if there is no 
lost of performence.

Here on a i5, no difference.

Thanks, it was a nice combat.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:25
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

This (see attachment)
[smudges_gone.png]


On Sat, Mar 20, 2021 at 1:22 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Huh, not sure to understand, what did I do, what fixes the things ?


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:18
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

You know what?

YOU DID IT!  NO SMUDGES HERE!

If this fixes the problem also for Alexander then this is huge!
Thank you Fred for not giving up! Sleep well!

On Sat, Mar 20, 2021 at 1:03 AM fredvs 
mailto:fi...@hotmail.com>> wrote:
> Is msegui using BGRABitmap as foundation in drawing it's widgets? Because
if it is not, then I don't see the point...

No, it was just a (bad) idea, I did try it but it gives much more problem,
better to stay with msebitmap.

Hum, last thing before to sleep, if you repeat the paint in msegui.pas,
changing this at the same place that explained in previous post:

...
fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);

sleep(10);

 fownerwidget.paint(bmp.canvas); // repeat this
 bmp.paint(fcanvas,rect1); // repeat this

 fcanvas.endpaint;

   ...

> I don't have it installed. It is installed in Lazarus (again is not clear
> to me if Lazarus use it instead of gtk, qt, etc.) but I don't have it
> installed for msegui.

It works perfectly with msegui, if you want I will explain how to use it
(but not now, I have to sleep).

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread Fred van Stappen



De : vasi vasi 
Envoyé : samedi 20 mars 2021 00:39
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

Good night and thank you again!

On Sat, Mar 20, 2021 at 1:39 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
> we need Alexander's confirmation.

Yes, I cross my fingers.

Good night.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:35
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

I will try to tune that delay, meantime we need Alexander's confirmation. I 
think the delay tune might depend also on him.

On Sat, Mar 20, 2021 at 1:34 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Really ?

So excellent news!

Maybe you may try to decrease the sleep(x) to see how many time is needed.
Maybe only sleep(1) is enough.

When you are ok, could you attach the msegui.pas with fixes on a post?

Before to commit it, it would be better to test it deeply to see if there is no 
lost of performence.

Here on a i5, no difference.

Thanks, it was a nice combat.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:25
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

This (see attachment)
[smudges_gone.png]


On Sat, Mar 20, 2021 at 1:22 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Huh, not sure to understand, what did I do, what fixes the things ?


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:18
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

You know what?

YOU DID IT!  NO SMUDGES HERE!

If this fixes the problem also for Alexander then this is huge!
Thank you Fred for not giving up! Sleep well!

On Sat, Mar 20, 2021 at 1:03 AM fredvs 
mailto:fi...@hotmail.com>> wrote:
> Is msegui using BGRABitmap as foundation in drawing it's widgets? Because
if it is not, then I don't see the point...

No, it was just a (bad) idea, I did try it but it gives much more problem,
better to stay with msebitmap.

Hum, last thing before to sleep, if you repeat the paint in msegui.pas,
changing this at the same place that explained in previous post:

...
fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);

sleep(10);

 fownerwidget.paint(bmp.canvas); // repeat this
 bmp.paint(fcanvas,rect1); // repeat this

 fcanvas.endpaint;

   ...

> I don't have it installed. It is installed in Lazarus (again is not clear
> to me if Lazarus use it instead of gtk, qt, etc.) but I don't have it
> installed for msegui.

It works perfectly with msegui, if you want I will explain how to use it
(but not now, I have to sleep).

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
Good night and thank you again!

On Sat, Mar 20, 2021 at 1:39 AM Fred van Stappen  wrote:

> > we need Alexander's confirmation.
>
> Yes, I cross my fingers.
>
> Good night.
>
> Fre;D
>
> --
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 00:35
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> I will try to tune that delay, meantime we need Alexander's confirmation.
> I think the delay tune might depend also on him.
>
> On Sat, Mar 20, 2021 at 1:34 AM Fred van Stappen 
> wrote:
>
> Really ?
>
> So excellent news!
>
> Maybe you may try to decrease the sleep(x) to see how many time is needed.
> Maybe only sleep(1) is enough.
>
> When you are ok, could you attach the msegui.pas with fixes on a post?
>
> Before to commit it, it would be better to test it deeply to see if there
> is no lost of performence.
>
> Here on a i5, no difference.
>
> Thanks, it was a nice combat.
>
> Fre;D
>
> --
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 00:25
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> This (see attachment)
> [image: smudges_gone.png]
>
>
> On Sat, Mar 20, 2021 at 1:22 AM Fred van Stappen 
> wrote:
>
> Huh, not sure to understand, what did I do, what fixes the things ?
>
> --------------
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 00:18
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> You know what?
>
> YOU DID IT!  NO SMUDGES HERE!
>
> If this fixes the problem also for Alexander then this is huge!
> Thank you Fred for not giving up! Sleep well!
>
> On Sat, Mar 20, 2021 at 1:03 AM fredvs  wrote:
>
> > Is msegui using BGRABitmap as foundation in drawing it's widgets? Because
> if it is not, then I don't see the point...
>
> No, it was just a (bad) idea, I did try it but it gives much more problem,
> better to stay with msebitmap.
>
> Hum, last thing before to sleep, if you repeat the paint in msegui.pas,
> changing this at the same place that explained in previous post:
>
> ...
> fownerwidget.paint(bmp.canvas);
>  bmp.paint(fcanvas,rect1);
>
> sleep(10);
>
>  fownerwidget.paint(bmp.canvas); // repeat this
>  bmp.paint(fcanvas,rect1); // repeat this
>
>  fcanvas.endpaint;
>
>...
>
> > I don't have it installed. It is installed in Lazarus (again is not clear
> > to me if Lazarus use it instead of gtk, qt, etc.) but I don't have it
> > installed for msegui.
>
> It works perfectly with msegui, if you want I will explain how to use it
> (but not now, I have to sleep).
>
> Fre;D
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
>
>
> --
> Vasi
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
>
>
> --
> Vasi
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
>
>
> --
> Vasi
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread Fred van Stappen
> we need Alexander's confirmation.

Yes, I cross my fingers.

Good night.

Fre;D


De : vasi vasi 
Envoyé : samedi 20 mars 2021 00:35
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

I will try to tune that delay, meantime we need Alexander's confirmation. I 
think the delay tune might depend also on him.

On Sat, Mar 20, 2021 at 1:34 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Really ?

So excellent news!

Maybe you may try to decrease the sleep(x) to see how many time is needed.
Maybe only sleep(1) is enough.

When you are ok, could you attach the msegui.pas with fixes on a post?

Before to commit it, it would be better to test it deeply to see if there is no 
lost of performence.

Here on a i5, no difference.

Thanks, it was a nice combat.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:25
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

This (see attachment)
[smudges_gone.png]


On Sat, Mar 20, 2021 at 1:22 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Huh, not sure to understand, what did I do, what fixes the things ?


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:18
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

You know what?

YOU DID IT!  NO SMUDGES HERE!

If this fixes the problem also for Alexander then this is huge!
Thank you Fred for not giving up! Sleep well!

On Sat, Mar 20, 2021 at 1:03 AM fredvs 
mailto:fi...@hotmail.com>> wrote:
> Is msegui using BGRABitmap as foundation in drawing it's widgets? Because
if it is not, then I don't see the point...

No, it was just a (bad) idea, I did try it but it gives much more problem,
better to stay with msebitmap.

Hum, last thing before to sleep, if you repeat the paint in msegui.pas,
changing this at the same place that explained in previous post:

...
fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);

sleep(10);

 fownerwidget.paint(bmp.canvas); // repeat this
 bmp.paint(fcanvas,rect1); // repeat this

 fcanvas.endpaint;

   ...

> I don't have it installed. It is installed in Lazarus (again is not clear
> to me if Lazarus use it instead of gtk, qt, etc.) but I don't have it
> installed for msegui.

It works perfectly with msegui, if you want I will explain how to use it
(but not now, I have to sleep).

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
sleep(1) is ok for my case. works well.

On Sat, Mar 20, 2021 at 1:35 AM vasi vasi  wrote:

> I will try to tune that delay, meantime we need Alexander's confirmation.
> I think the delay tune might depend also on him.
>
> On Sat, Mar 20, 2021 at 1:34 AM Fred van Stappen 
> wrote:
>
>> Really ?
>>
>> So excellent news!
>>
>> Maybe you may try to decrease the sleep(x) to see how many time is needed.
>> Maybe only sleep(1) is enough.
>>
>> When you are ok, could you attach the msegui.pas with fixes on a post?
>>
>> Before to commit it, it would be better to test it deeply to see if there
>> is no lost of performence.
>>
>> Here on a i5, no difference.
>>
>> Thanks, it was a nice combat.
>>
>> Fre;D
>>
>> --
>> *De :* vasi vasi 
>> *Envoyé :* samedi 20 mars 2021 00:25
>> *À :* General list for MSEide+MSEgui <
>> mseide-msegui-talk@lists.sourceforge.net>
>> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>>
>> This (see attachment)
>> [image: smudges_gone.png]
>>
>>
>> On Sat, Mar 20, 2021 at 1:22 AM Fred van Stappen 
>> wrote:
>>
>> Huh, not sure to understand, what did I do, what fixes the things ?
>>
>> ----------
>> *De :* vasi vasi 
>> *Envoyé :* samedi 20 mars 2021 00:18
>> *À :* General list for MSEide+MSEgui <
>> mseide-msegui-talk@lists.sourceforge.net>
>> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>>
>> You know what?
>>
>> YOU DID IT!  NO SMUDGES HERE!
>>
>> If this fixes the problem also for Alexander then this is huge!
>> Thank you Fred for not giving up! Sleep well!
>>
>> On Sat, Mar 20, 2021 at 1:03 AM fredvs  wrote:
>>
>> > Is msegui using BGRABitmap as foundation in drawing it's widgets?
>> Because
>> if it is not, then I don't see the point...
>>
>> No, it was just a (bad) idea, I did try it but it gives much more problem,
>> better to stay with msebitmap.
>>
>> Hum, last thing before to sleep, if you repeat the paint in msegui.pas,
>> changing this at the same place that explained in previous post:
>>
>> ...
>> fownerwidget.paint(bmp.canvas);
>>  bmp.paint(fcanvas,rect1);
>>
>> sleep(10);
>>
>>  fownerwidget.paint(bmp.canvas); // repeat this
>>  bmp.paint(fcanvas,rect1); // repeat this
>>
>>  fcanvas.endpaint;
>>
>>...
>>
>> > I don't have it installed. It is installed in Lazarus (again is not
>> clear
>> > to me if Lazarus use it instead of gtk, qt, etc.) but I don't have it
>> > installed for msegui.
>>
>> It works perfectly with msegui, if you want I will explain how to use it
>> (but not now, I have to sleep).
>>
>> Fre;D
>>
>>
>>
>> --
>> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>>
>>
>> ___
>> mseide-msegui-talk mailing list
>> mseide-msegui-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>>
>>
>>
>> --
>> Vasi
>> ___
>> mseide-msegui-talk mailing list
>> mseide-msegui-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>>
>>
>>
>> --
>> Vasi
>> ___
>> mseide-msegui-talk mailing list
>> mseide-msegui-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>>
>
>
> --
> Vasi
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
I will try to tune that delay, meantime we need Alexander's confirmation. I
think the delay tune might depend also on him.

On Sat, Mar 20, 2021 at 1:34 AM Fred van Stappen  wrote:

> Really ?
>
> So excellent news!
>
> Maybe you may try to decrease the sleep(x) to see how many time is needed.
> Maybe only sleep(1) is enough.
>
> When you are ok, could you attach the msegui.pas with fixes on a post?
>
> Before to commit it, it would be better to test it deeply to see if there
> is no lost of performence.
>
> Here on a i5, no difference.
>
> Thanks, it was a nice combat.
>
> Fre;D
>
> --
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 00:25
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> This (see attachment)
> [image: smudges_gone.png]
>
>
> On Sat, Mar 20, 2021 at 1:22 AM Fred van Stappen 
> wrote:
>
> Huh, not sure to understand, what did I do, what fixes the things ?
>
> --
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 00:18
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> You know what?
>
> YOU DID IT!  NO SMUDGES HERE!
>
> If this fixes the problem also for Alexander then this is huge!
> Thank you Fred for not giving up! Sleep well!
>
> On Sat, Mar 20, 2021 at 1:03 AM fredvs  wrote:
>
> > Is msegui using BGRABitmap as foundation in drawing it's widgets? Because
> if it is not, then I don't see the point...
>
> No, it was just a (bad) idea, I did try it but it gives much more problem,
> better to stay with msebitmap.
>
> Hum, last thing before to sleep, if you repeat the paint in msegui.pas,
> changing this at the same place that explained in previous post:
>
> ...
> fownerwidget.paint(bmp.canvas);
>  bmp.paint(fcanvas,rect1);
>
> sleep(10);
>
>  fownerwidget.paint(bmp.canvas); // repeat this
>  bmp.paint(fcanvas,rect1); // repeat this
>
>  fcanvas.endpaint;
>
>...
>
> > I don't have it installed. It is installed in Lazarus (again is not clear
> > to me if Lazarus use it instead of gtk, qt, etc.) but I don't have it
> > installed for msegui.
>
> It works perfectly with msegui, if you want I will explain how to use it
> (but not now, I have to sleep).
>
> Fre;D
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
>
>
> --
> Vasi
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
>
>
> --
> Vasi
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread Fred van Stappen
Really ?

So excellent news!

Maybe you may try to decrease the sleep(x) to see how many time is needed.
Maybe only sleep(1) is enough.

When you are ok, could you attach the msegui.pas with fixes on a post?

Before to commit it, it would be better to test it deeply to see if there is no 
lost of performence.

Here on a i5, no difference.

Thanks, it was a nice combat.

Fre;D


De : vasi vasi 
Envoyé : samedi 20 mars 2021 00:25
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

This (see attachment)
[smudges_gone.png]


On Sat, Mar 20, 2021 at 1:22 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Huh, not sure to understand, what did I do, what fixes the things ?


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 20 mars 2021 00:18
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

You know what?

YOU DID IT!  NO SMUDGES HERE!

If this fixes the problem also for Alexander then this is huge!
Thank you Fred for not giving up! Sleep well!

On Sat, Mar 20, 2021 at 1:03 AM fredvs 
mailto:fi...@hotmail.com>> wrote:
> Is msegui using BGRABitmap as foundation in drawing it's widgets? Because
if it is not, then I don't see the point...

No, it was just a (bad) idea, I did try it but it gives much more problem,
better to stay with msebitmap.

Hum, last thing before to sleep, if you repeat the paint in msegui.pas,
changing this at the same place that explained in previous post:

...
fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);

sleep(10);

 fownerwidget.paint(bmp.canvas); // repeat this
 bmp.paint(fcanvas,rect1); // repeat this

 fcanvas.endpaint;

   ...

> I don't have it installed. It is installed in Lazarus (again is not clear
> to me if Lazarus use it instead of gtk, qt, etc.) but I don't have it
> installed for msegui.

It works perfectly with msegui, if you want I will explain how to use it
(but not now, I have to sleep).

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
This (see attachment)
[image: smudges_gone.png]


On Sat, Mar 20, 2021 at 1:22 AM Fred van Stappen  wrote:

> Huh, not sure to understand, what did I do, what fixes the things ?
>
> --
> *De :* vasi vasi 
> *Envoyé :* samedi 20 mars 2021 00:18
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?
>
> You know what?
>
> YOU DID IT!  NO SMUDGES HERE!
>
> If this fixes the problem also for Alexander then this is huge!
> Thank you Fred for not giving up! Sleep well!
>
> On Sat, Mar 20, 2021 at 1:03 AM fredvs  wrote:
>
> > Is msegui using BGRABitmap as foundation in drawing it's widgets? Because
> if it is not, then I don't see the point...
>
> No, it was just a (bad) idea, I did try it but it gives much more problem,
> better to stay with msebitmap.
>
> Hum, last thing before to sleep, if you repeat the paint in msegui.pas,
> changing this at the same place that explained in previous post:
>
> ...
> fownerwidget.paint(bmp.canvas);
>  bmp.paint(fcanvas,rect1);
>
> sleep(10);
>
>  fownerwidget.paint(bmp.canvas); // repeat this
>  bmp.paint(fcanvas,rect1); // repeat this
>
>  fcanvas.endpaint;
>
>...
>
> > I don't have it installed. It is installed in Lazarus (again is not clear
> > to me if Lazarus use it instead of gtk, qt, etc.) but I don't have it
> > installed for msegui.
>
> It works perfectly with msegui, if you want I will explain how to use it
> (but not now, I have to sleep).
>
> Fre;D
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
>
>
> --
> Vasi
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread Fred van Stappen
Huh, not sure to understand, what did I do, what fixes the things ?


De : vasi vasi 
Envoyé : samedi 20 mars 2021 00:18
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

You know what?

YOU DID IT!  NO SMUDGES HERE!

If this fixes the problem also for Alexander then this is huge!
Thank you Fred for not giving up! Sleep well!

On Sat, Mar 20, 2021 at 1:03 AM fredvs 
mailto:fi...@hotmail.com>> wrote:
> Is msegui using BGRABitmap as foundation in drawing it's widgets? Because
if it is not, then I don't see the point...

No, it was just a (bad) idea, I did try it but it gives much more problem,
better to stay with msebitmap.

Hum, last thing before to sleep, if you repeat the paint in msegui.pas,
changing this at the same place that explained in previous post:

...
fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);

sleep(10);

 fownerwidget.paint(bmp.canvas); // repeat this
 bmp.paint(fcanvas,rect1); // repeat this

 fcanvas.endpaint;

   ...

> I don't have it installed. It is installed in Lazarus (again is not clear
> to me if Lazarus use it instead of gtk, qt, etc.) but I don't have it
> installed for msegui.

It works perfectly with msegui, if you want I will explain how to use it
(but not now, I have to sleep).

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
You know what?

YOU DID IT!  NO SMUDGES HERE!

If this fixes the problem also for Alexander then this is huge!
Thank you Fred for not giving up! Sleep well!

On Sat, Mar 20, 2021 at 1:03 AM fredvs  wrote:

> > Is msegui using BGRABitmap as foundation in drawing it's widgets? Because
> if it is not, then I don't see the point...
>
> No, it was just a (bad) idea, I did try it but it gives much more problem,
> better to stay with msebitmap.
>
> Hum, last thing before to sleep, if you repeat the paint in msegui.pas,
> changing this at the same place that explained in previous post:
>
> ...
> fownerwidget.paint(bmp.canvas);
>  bmp.paint(fcanvas,rect1);
>
> sleep(10);
>
>  fownerwidget.paint(bmp.canvas); // repeat this
>  bmp.paint(fcanvas,rect1); // repeat this
>
>  fcanvas.endpaint;
>
>...
>
> > I don't have it installed. It is installed in Lazarus (again is not clear
> > to me if Lazarus use it instead of gtk, qt, etc.) but I don't have it
> > installed for msegui.
>
> It works perfectly with msegui, if you want I will explain how to use it
> (but not now, I have to sleep).
>
> Fre;D
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread Fred van Stappen
> msegui.pas(17003,79) Error: Incompatible type for arg no. 2: Got 
> "pgdifunctionaty", expected "LongInt"

Yes, I know, I have try it, you have to use the parameters of TBGRAbitmap that 
are not the same than msebitmap.

 bmp   := tbgrabitmap.Create(rect1.x, rect1.y);

I did adapt it for all the code that follows but there is a crash at running, 
TBgrabitmap is too different than msegui Tbitmap.

So better to forget to use tbgrabitmap here in msegui.pas



De : vasi vasi 
Envoyé : samedi 20 mars 2021 00:01
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

I added bgrabitmap to the uses region and started compiling (with lots of 
warnings) and stopped exactly at the replaced line with the following message:

msegui.pas(17003,79) Error: Incompatible type for arg no. 2: Got 
"pgdifunctionaty", expected "LongInt"


On Sat, Mar 20, 2021 at 12:54 AM vasi vasi 
mailto:funl...@gmail.com>> wrote:
your steps are not enough;

I cloned bgra from github, added the include paths to project, added the 
definitions for compilations, changed the code line from msegui.pas with the 
line you provided, and it reports that it does not know that identifier.

I think you omitted to include a unit in your steps?

On Sat, Mar 20, 2021 at 12:20 AM fredvs 
mailto:fi...@hotmail.com>> wrote:
A other option would be to enable the class bridge and use BGRABitmap (like
StrumPract does).

It is done with this parameters : "-dclass_bridge" and
"-dBGRABITMAP_USE_MSEGUI".
But for this you need to have Bgrabitmap installed and update the "-Fu
Directories" in project option.

And then in msegui.pas

"bmp:= tBGRAbitmap.create(bmk_rgb,fgdi)";

Maybe.



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread fredvs
> Is msegui using BGRABitmap as foundation in drawing it's widgets? Because
if it is not, then I don't see the point...

No, it was just a (bad) idea, I did try it but it gives much more problem,
better to stay with msebitmap.

Hum, last thing before to sleep, if you repeat the paint in msegui.pas,
changing this at the same place that explained in previous post:

...
fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);

sleep(10);
 
 fownerwidget.paint(bmp.canvas); // repeat this
 bmp.paint(fcanvas,rect1); // repeat this

 fcanvas.endpaint;

   ...

> I don't have it installed. It is installed in Lazarus (again is not clear
> to me if Lazarus use it instead of gtk, qt, etc.) but I don't have it
> installed for msegui.

It works perfectly with msegui, if you want I will explain how to use it
(but not now, I have to sleep).

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
I added bgrabitmap to the uses region and started compiling (with lots of
warnings) and stopped exactly at the replaced line with the following
message:

msegui.pas(17003,79) Error: Incompatible type for arg no. 2: Got
"pgdifunctionaty", expected "LongInt"


On Sat, Mar 20, 2021 at 12:54 AM vasi vasi  wrote:

> your steps are not enough;
>
> I cloned bgra from github, added the include paths to project, added the
> definitions for compilations, changed the code line from msegui.pas with
> the line you provided, and it reports that it does not know that identifier.
>
> I think you omitted to include a unit in your steps?
>
> On Sat, Mar 20, 2021 at 12:20 AM fredvs  wrote:
>
>> A other option would be to enable the class bridge and use BGRABitmap
>> (like
>> StrumPract does).
>>
>> It is done with this parameters : "-dclass_bridge" and
>> "-dBGRABITMAP_USE_MSEGUI".
>> But for this you need to have Bgrabitmap installed and update the "-Fu
>> Directories" in project option.
>>
>> And then in msegui.pas
>>
>> "bmp:= tBGRAbitmap.create(bmk_rgb,fgdi)";
>>
>> Maybe.
>>
>>
>>
>> --
>> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>>
>>
>> ___
>> mseide-msegui-talk mailing list
>> mseide-msegui-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>>
>
>
> --
> Vasi
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
your steps are not enough;

I cloned bgra from github, added the include paths to project, added the
definitions for compilations, changed the code line from msegui.pas with
the line you provided, and it reports that it does not know that identifier.

I think you omitted to include a unit in your steps?

On Sat, Mar 20, 2021 at 12:20 AM fredvs  wrote:

> A other option would be to enable the class bridge and use BGRABitmap (like
> StrumPract does).
>
> It is done with this parameters : "-dclass_bridge" and
> "-dBGRABITMAP_USE_MSEGUI".
> But for this you need to have Bgrabitmap installed and update the "-Fu
> Directories" in project option.
>
> And then in msegui.pas
>
> "bmp:= tBGRAbitmap.create(bmk_rgb,fgdi)";
>
> Maybe.
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
Is msegui using BGRABitmap as foundation in drawing it's widgets? Because
if it is not, then I don't see the point...

I don't have it installed. It is installed in Lazarus (again is not clear
to me if Lazarus use it instead of gtk, qt, etc.) but I don't have it
installed for msegui.

On Sat, Mar 20, 2021 at 12:20 AM fredvs  wrote:

> A other option would be to enable the class bridge and use BGRABitmap (like
> StrumPract does).
>
> It is done with this parameters : "-dclass_bridge" and
> "-dBGRABITMAP_USE_MSEGUI".
> But for this you need to have Bgrabitmap installed and update the "-Fu
> Directories" in project option.
>
> And then in msegui.pas
>
> "bmp:= tBGRAbitmap.create(bmk_rgb,fgdi)";
>
> Maybe.
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread fredvs
A other option would be to enable the class bridge and use BGRABitmap (like
StrumPract does).

It is done with this parameters : "-dclass_bridge" and
"-dBGRABITMAP_USE_MSEGUI".
But for this you need to have Bgrabitmap installed and update the "-Fu
Directories" in project option.

And then in msegui.pas

"bmp:= tBGRAbitmap.create(bmk_rgb,fgdi)";

Maybe.



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread fredvs
We need help from Graeme or Circular, I dont see other things.



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
no effect on my side. it still smudges.

On Fri, Mar 19, 2021 at 11:22 PM fredvs  wrote:

> Hum, Ok.
>
> Now that you are inside the engine, it is how it work (I think).
>
> in function twindow.internalupdate, when "flushgdi := TRUE;", it redraw all
> the widgets, and it is why all the widgets of your application flash. But
> the smudges disapear.
>
> When "flushgdi := false;" (the default) it re-raw only the widget selected
> but that does smudges on radeon and some other cards.
>
> I suspect that maybe there is something wrong with "bmp:=
> tbitmap.create(bmk_rgb,fgdi)";
>
> tbitmap is a msebitmap, maybe with the original fpc tbitmap it should be
> better.
>
> But for this, a class-bridge is needed.
>
> Huh, wait a little, Circular has done a bridge to make BGRABimap compatible
> with msegui.
>
> To enable it, just add this parameter at compil: "-dclass_bridge".
>
> Not sure it will do something because normally the bridge concern BGRABimap
> but who knows.
>
> I am very sorry to not be able to test the bug.
>
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread fredvs
Hum, Ok.

Now that you are inside the engine, it is how it work (I think).

in function twindow.internalupdate, when "flushgdi := TRUE;", it redraw all
the widgets, and it is why all the widgets of your application flash. But
the smudges disapear.

When "flushgdi := false;" (the default) it re-raw only the widget selected
but that does smudges on radeon and some other cards.

I suspect that maybe there is something wrong with "bmp:=
tbitmap.create(bmk_rgb,fgdi)";

tbitmap is a msebitmap, maybe with the original fpc tbitmap it should be
better.

But for this, a class-bridge is needed.

Huh, wait a little, Circular has done a bridge to make BGRABimap compatible
with msegui.

To enable it, just add this parameter at compil: "-dclass_bridge".

Not sure it will do something because normally the bridge concern BGRABimap
but who knows.

I am very sorry to not be able to test the bug.
  



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
same smudges as in my first video. increasing sleep to 20 also has no
effect.

On Fri, Mar 19, 2021 at 10:18 PM fredvs  wrote:

> Hello.
>
> Could somebody try this (sorry to annoy but otherwise it is impossible to
> fix it).
>
> Dont use "flushgdi := TRUE;" and also not "-dmse_flushgdi".
>
> In /mseide-msegui/lib/common/kernel/msegui.pas,
> in function twindow.internalupdate,
>
> at line 17017
> Add the 2 lines like follow:
>
> ...
>   result:= true;
>  fownerwidget.paint(bmp.canvas);
>  bmp.paint(fcanvas,rect1);
>  fcanvas.endpaint;   // Add this
>  sleep(10);   // Add this
> end
> else begin
> ...
>
> Compile and see what happen?
>
> Thanks.
>
> Fre;D
>
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread fredvs
Hello.

Could somebody try this (sorry to annoy but otherwise it is impossible to
fix it).

Dont use "flushgdi := TRUE;" and also not "-dmse_flushgdi".

In /mseide-msegui/lib/common/kernel/msegui.pas, 
in function twindow.internalupdate,

at line 17017
Add the 2 lines like follow:

...
  result:= true;
 fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);
 fcanvas.endpaint;   // Add this
 sleep(10);   // Add this
end
else begin
...

Compile and see what happen?

Thanks.

Fre;D




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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
for 1. and 2. there was no msegui source modification...

On Fri, Mar 19, 2021 at 7:23 PM fredvs  wrote:

> > 1. Without flushgdi := TRUE; in my program, but with -dmse_flushgdi
> option
> and with msegui sources untouched there is incredible slowness = unusable.
>
> > 2. With flushgdi := TRUE; but without -dmse_flushgdi and unmodified
> msegui
> > sources is a little better, as in my movie, but still flickering.
>
> This I dont understand because 1. = 2. , there is no difference, both with
> use flushgdi := TRUE for all units (msegui.pas, msegraphic.pas, ...).
>
> > 3. Modifying the sources just disable flushgdi and program is performant
> > but smudges.
>
> Ok, that is what I needed to know, thanks.
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread fredvs
> 1. Without flushgdi := TRUE; in my program, but with -dmse_flushgdi option
and with msegui sources untouched there is incredible slowness = unusable.

> 2. With flushgdi := TRUE; but without -dmse_flushgdi and unmodified msegui
> sources is a little better, as in my movie, but still flickering.

This I dont understand because 1. = 2. , there is no difference, both with
use flushgdi := TRUE for all units (msegui.pas, msegraphic.pas, ...).

> 3. Modifying the sources just disable flushgdi and program is performant
> but smudges.

Ok, that is what I needed to know, thanks.



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
Ok Fred,

1. Without flushgdi := TRUE; in my program, but with -dmse_flushgdi option
and with msegui sources untouched there is incredible slowness = unusable.

2. With flushgdi := TRUE; but without -dmse_flushgdi and unmodified msegui
sources is a little better, as in my movie, but still flickering.

3. Modifying the sources just disable flushgdi and program is performant
but smudges.

I tried all these options. No luck, I think the  design has problems.

On Fri, Mar 19, 2021 at 7:03 PM fredvs  wrote:

> > Actually, what you see there, is without -dmse_flushgdi
> > but with the flushgdi := TRUE; inserted in my program.
>
> Huh, it does the same, when you add -dmse_flushgdi, at initialization of
> msegraphic.pas it does  flushgdi := TRUE.
>
> "flushgdi" is used in many units, it is why it is important to know what
> "flushgdi" fixes the problem.
>
> If you add  "flushgdi := TRUE" in your program, each unit will use it.
> It is why I asked in last proposition to not set "flushgdi := TRUE" but
> only
> change the one in msegui.pas.
>
> About your last video, yes, I have just the same result as you on my i5
> compiling with "-dmse_flushgdi" or only changing in msegui.pas.
>
> So it is obvious that using "-dmse_flushgdi" is not the solution but can
> give us some way to find where is the problem.
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread fredvs
Lot of post for this "Need or not needed domain for MSE ?" !

Imho, the solution will be to fix something in msegui.pas, in: 

function twindow.internalupdate: boolean; //false if nothing is painted
begin
...

// Here someting must be fixed.
 begin
   bmp:= tbitmap.create(bmk_rgb,fgdi);
   try
if intersectrect(fcanvas.clipbox,
makerect(nullpoint,fownerwidget.widgetrect.size),rect1) then
begin
 bmp.size:= rect1.size;
 bmp.canvas.clipregion:= bmp.canvas.createregion(fupdateregion.region);
 po1.x:= -rect1.x;
 po1.y:= -rect1.y;
 tcanvas1(bmp.canvas).setcliporigin(po1);
 bmp.canvas.origin:= nullpoint;
 fupdateregion.region:= 0;
 result:= true;
 fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);
end
else begin
 fupdateregion.region:= 0;
end;
   finally
bmp.Free;
if bo1 then begin
 tcaret1(appinst.fcaret).restore;
end;
   end;
 



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread fredvs
> Actually, what you see there, is without -dmse_flushgdi
> but with the flushgdi := TRUE; inserted in my program.

Huh, it does the same, when you add -dmse_flushgdi, at initialization of
msegraphic.pas it does  flushgdi := TRUE.

"flushgdi" is used in many units, it is why it is important to know what
"flushgdi" fixes the problem.

If you add  "flushgdi := TRUE" in your program, each unit will use it.
It is why I asked in last proposition to not set "flushgdi := TRUE" but only
change the one in msegui.pas.

About your last video, yes, I have just the same result as you on my i5
compiling with "-dmse_flushgdi" or only changing in msegui.pas.

So it is obvious that using "-dmse_flushgdi" is not the solution but can
give us some way to find where is the problem.



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
And without altering the msegui sources.

On Fri, Mar 19, 2021 at 6:46 PM vasi vasi  wrote:

> Actually, what you see there, is without -dmse_flushgdi
> but with the flushgdi := TRUE; inserted in my program.
>
> If I use both options, the program becomes even slower, you are able to
> see all drawing operations on screen.
>
>
> On Fri, Mar 19, 2021 at 6:42 PM vasi vasi  wrote:
>
>> I said before, performance restores but also smudges.
>>
>> Now, below is a movie with flushgdi active:
>> https://youtu.be/M9-LvAWalps
>>
>> On Fri, Mar 19, 2021 at 6:30 PM fredvs  wrote:
>>
>>> OK, perfect.
>>>
>>> Sorry to ask one more thing, and with the last proposition, no
>>> "-dmse_flushgdi" but changing in msegui.pas, does it solves with slowing
>>> down ?
>>>
>>> This to be sure to point the guilty.
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>>>
>>>
>>> ___
>>> mseide-msegui-talk mailing list
>>> mseide-msegui-talk@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>>>
>>
>>
>> --
>> Vasi
>>
>
>
> --
> Vasi
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
Actually, what you see there, is without -dmse_flushgdi
but with the flushgdi := TRUE; inserted in my program.

If I use both options, the program becomes even slower, you are able to see
all drawing operations on screen.


On Fri, Mar 19, 2021 at 6:42 PM vasi vasi  wrote:

> I said before, performance restores but also smudges.
>
> Now, below is a movie with flushgdi active:
> https://youtu.be/M9-LvAWalps
>
> On Fri, Mar 19, 2021 at 6:30 PM fredvs  wrote:
>
>> OK, perfect.
>>
>> Sorry to ask one more thing, and with the last proposition, no
>> "-dmse_flushgdi" but changing in msegui.pas, does it solves with slowing
>> down ?
>>
>> This to be sure to point the guilty.
>>
>>
>>
>>
>>
>> --
>> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>>
>>
>> ___
>> mseide-msegui-talk mailing list
>> mseide-msegui-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>>
>
>
> --
> Vasi
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
I said before, performance restores but also smudges.

Now, below is a movie with flushgdi active:
https://youtu.be/M9-LvAWalps

On Fri, Mar 19, 2021 at 6:30 PM fredvs  wrote:

> OK, perfect.
>
> Sorry to ask one more thing, and with the last proposition, no
> "-dmse_flushgdi" but changing in msegui.pas, does it solves with slowing
> down ?
>
> This to be sure to point the guilty.
>
>
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread fredvs
OK, perfect.

Sorry to ask one more thing, and with the last proposition, no
"-dmse_flushgdi" but changing in msegui.pas, does it solves with slowing
down ?

This to be sure to point the guilty.





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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
yes, without any combination of flushgdi.
flushgdi solves that but everything slows down.

On Fri, Mar 19, 2021 at 6:20 PM fredvs  wrote:

> > Mine is intel, and here is a video that shows the problem:
>
> Ooops, yes, not good.
>
> Just to be sure, do you have that result without "-dmse_flushgdi" parameter
> or with it (or both)?
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread fredvs
> Mine is intel, and here is a video that shows the problem:

Ooops, yes, not good.

Just to be sure, do you have that result without "-dmse_flushgdi" parameter
or with it (or both)?



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
Mine is intel, and here is a video that shows the problem:
https://youtu.be/r49iQ3r_7KE

On Fri, Mar 19, 2021 at 6:10 PM fredvs  wrote:

> OK, so we know where is the guilty.
>
> Sadly I cannot find a machine with radeon drivers to  test.
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread fredvs
Also we dont even know it using  "-dmse_flushgdi" parameter helps for a
radeon card.

Maybe Alexander can confirm it.



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread fredvs
OK, so we know where is the guilty.

Sadly I cannot find a machine with radeon drivers to  test.



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
smudges are back

On Fri, Mar 19, 2021 at 6:00 PM fredvs  wrote:

> Hello Vasi.
>
> And doing this:
> Compiles without "-dmse_flushgdi" and in
> /msegui/lib/common/kernel/msegui.pas, change line 16990:
>
>   "if flushgdi then begin"
>
> with
>
>   "if 1 = 1 then begin" // to force use flushgdi
>
> What does it say?
>
> Here on i5, only very few flickering on animation programs.
> And then maybe we can work only on msegui.pas, around line 16990.
>
> Fre;D
>
>
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread fredvs
Hello Vasi.

And doing this:
Compiles without "-dmse_flushgdi" and in
/msegui/lib/common/kernel/msegui.pas, change line 16990:

  "if flushgdi then begin"

with

  "if 1 = 1 then begin" // to force use flushgdi

What does it say?

Here on i5, only very few flickering on animation programs.
And then maybe we can work only on msegui.pas, around line 16990.

Fre;D





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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
I know that... it rebuilds all in compiling my project, all msegui files.

On Fri, Mar 19, 2021 at 5:41 PM fredvs  wrote:

> Note that you need to re-build all.
> Only adding " "-dmse_flushgdi" parameter will not re-build all.
> Or add "-B" parameter.
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
You can see slowness not only on themed controls, but also in the default
ones if there is a certain number of them on the window... The more widgets
you have, the greater the slowness is.

Three things attracted me towards msegui:
1. the independence. it does not rely on gtk, qt, etc.
2. the theme engine.
3. the database and report components

Now, in this new light, as a programmer that makes apps for many, there are
still a couple of reasons in msegui favor: point number one and point
number three.

Back to the point in case, I think there is nothing to see on that portion
of code without the general image about the msegui design that was in the
author's head. Only Graeme can shed some light, but I start to think that
the theme engine (the way it was designed and incorporated in the code) is
too much of a burden.

On Fri, Mar 19, 2021 at 4:59 PM vasi vasi  wrote:

> Performance returns, but also the smudges...
>
> On Fri, Mar 19, 2021 at 3:56 PM fredvs  wrote:
>
>> Hello Vasi.
>>
>> Many thanks to test it, your remarks help  a lot.
>>
>> Yes, I also see some regression of rendering with flushgdi := TRUE.
>>
>> I try now to isolate what makes the difference.
>>
>> It seems to me that it is in /msegui/lib/common/kernel/msegui.pas.
>>
>> It would be great is somebody that have a radeon or problems test this:
>>
>> In /msegui/lib/common/kernel/msegui.pas, change line 16990:
>>
>>   if flushgdi then begin
>>
>> with
>>
>>   if 1 = 2  then begin // to force not use flushgdi
>>
>> And compile with "-dmse_flushgdi"
>>
>> And see what happens.
>>
>> Here there is no more flickering but it can be too that the problem come
>> back.
>>
>> If it is the case, we will have done a big step to isolate the problem.
>>
>> Fre;D
>>
>>
>>
>> --
>> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>>
>>
>> ___
>> mseide-msegui-talk mailing list
>> mseide-msegui-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>>
>
>
> --
> Vasi
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread fredvs
Note that you need to re-build all.
Only adding " "-dmse_flushgdi" parameter will not re-build all.
Or add "-B" parameter.



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread fredvs
> Performance returns, but also the smudges...

Ok, so if I understand ok, with compile with "-dmse_flushgdi" without
changing anything in msegui.pas = no smudges but poor performance.

And compile with "-dmse_flushgdi" and changing in msegui.pas " if 1 = 2 
then"  = back smudges but good performance.

Is it so?

Anyway, here the code in msegui.pas, if somebody see something:

  if flushgdi then begin // this changed to "if 1 = 2  then begin" to force
"normal" behavior.
   try
fupdateregion.region:= 0;
result:= true;
fownerwidget.paint(fcanvas);
   finally
if bo1 then begin
 tcaret1(appinst.fcaret).restore;
end;
fcanvas.endpaint;
   end;
  end   // end of if flushgdi = true
  
else begin
   bmp:= tbitmap.create(bmk_rgb,fgdi);
   try
if intersectrect(fcanvas.clipbox,
makerect(nullpoint,fownerwidget.widgetrect.size),rect1) then
begin
 bmp.size:= rect1.size;
 bmp.canvas.clipregion:= bmp.canvas.createregion(fupdateregion.region);
 po1.x:= -rect1.x;
 po1.y:= -rect1.y;
 tcanvas1(bmp.canvas).setcliporigin(po1);
 bmp.canvas.origin:= nullpoint;
 fupdateregion.region:= 0;
 result:= true;
 fownerwidget.paint(bmp.canvas);
 bmp.paint(fcanvas,rect1);
end
else begin
 fupdateregion.region:= 0;
end;
   finally
bmp.Free;
if bo1 then begin
 tcaret1(appinst.fcaret).restore;
end;
   end;
  end; // if flushgdi = false



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
Performance returns, but also the smudges...

On Fri, Mar 19, 2021 at 3:56 PM fredvs  wrote:

> Hello Vasi.
>
> Many thanks to test it, your remarks help  a lot.
>
> Yes, I also see some regression of rendering with flushgdi := TRUE.
>
> I try now to isolate what makes the difference.
>
> It seems to me that it is in /msegui/lib/common/kernel/msegui.pas.
>
> It would be great is somebody that have a radeon or problems test this:
>
> In /msegui/lib/common/kernel/msegui.pas, change line 16990:
>
>   if flushgdi then begin
>
> with
>
>   if 1 = 2  then begin // to force not use flushgdi
>
> And compile with "-dmse_flushgdi"
>
> And see what happens.
>
> Here there is no more flickering but it can be too that the problem come
> back.
>
> If it is the case, we will have done a big step to isolate the problem.
>
> Fre;D
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread fredvs
Hello Vasi.

Many thanks to test it, your remarks help  a lot.

Yes, I also see some regression of rendering with flushgdi := TRUE.

I try now to isolate what makes the difference.

It seems to me that it is in /msegui/lib/common/kernel/msegui.pas.

It would be great is somebody that have a radeon or problems test this:

In /msegui/lib/common/kernel/msegui.pas, change line 16990:

  if flushgdi then begin

with 

  if 1 = 2  then begin // to force not use flushgdi

And compile with "-dmse_flushgdi"

And see what happens.

Here there is no more flickering but it can be too that the problem come
back.

If it is the case, we will have done a big step to isolate the problem.

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
It might be the way the theme engine works? Because I see slowness on the
controls I themed.

On Fri, Mar 19, 2021 at 3:40 PM vasi vasi  wrote:

> There are problems also on some Intel graphics on low end laptops. But I
> see a temporary smudge in a tdirtreeview, but only when I select an item
> from that list with the mouse and that only for a fraction of a second,
> then the item is drawn properly.
>
> The trick with flushgdi := TRUE; works, but on such a low end laptop the
> loss in performance is visible.
>
> Not a problem on another Intel I3 laptop.
>
> So, I wonder what does fpGUI different...
>
> On Fri, Mar 19, 2021 at 9:34 AM Alexander via mseide-msegui-talk <
> mseide-msegui-talk@lists.sourceforge.net> wrote:
>
>> On Fri, 19 Mar 2021 01:44:52 +0200
>> vasi vasi  wrote:
>>
>> > Is fpGUI suffering from the same problem?
>>
>> Not. Without problems. In fpGUI all works fine.
>>
>>
>> ___
>> mseide-msegui-talk mailing list
>> mseide-msegui-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>>
>
>
> --
> Vasi
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread vasi vasi
There are problems also on some Intel graphics on low end laptops. But I
see a temporary smudge in a tdirtreeview, but only when I select an item
from that list with the mouse and that only for a fraction of a second,
then the item is drawn properly.

The trick with flushgdi := TRUE; works, but on such a low end laptop the
loss in performance is visible.

Not a problem on another Intel I3 laptop.

So, I wonder what does fpGUI different...

On Fri, Mar 19, 2021 at 9:34 AM Alexander via mseide-msegui-talk <
mseide-msegui-talk@lists.sourceforge.net> wrote:

> On Fri, 19 Mar 2021 01:44:52 +0200
> vasi vasi  wrote:
>
> > Is fpGUI suffering from the same problem?
>
> Not. Without problems. In fpGUI all works fine.
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-19 Thread Alexander via mseide-msegui-talk
On Fri, 19 Mar 2021 01:44:52 +0200
vasi vasi  wrote:

> Is fpGUI suffering from the same problem?

Not. Without problems. In fpGUI all works fine.


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-18 Thread vasi vasi
Is fpGUI suffering from the same problem?

On Thu, Mar 18, 2021 at 4:07 PM fredvs  wrote:

> Re-...-re hello Alexander.
>
> If, by chance, the radeontest.pas test of previous post, with flushgdi:=
> true, does fix things, could you please try this:
>
> Compile MSEide or ideU with this parameter added: "-dmse_flushgdi" and see
> if it fix the problem.
>
> I did try for ideU, with a intel graphic driver, and I do not feel any lost
> of graphic performance.
>
> But for other applications that uses animations I can see a lost of
> performance in rendering.
>
> Last question, what fpc version are you using?
> I test all here with fpc 3.2.0. 64 bit.
>
> Fre;D
>
>
>
> --
> Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
>
>
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>


-- 
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-18 Thread fredvs
Re-...-re hello Alexander.

If, by chance, the radeontest.pas test of previous post, with flushgdi:=
true, does fix things, could you please try this:

Compile MSEide or ideU with this parameter added: "-dmse_flushgdi" and see
if it fix the problem.

I did try for ideU, with a intel graphic driver, and I do not feel any lost
of graphic performance.

But for other applications that uses animations I can see a lost of
performance in rendering.

Last question, what fpc version are you using?
I test all here with fpc 3.2.0. 64 bit.

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-18 Thread fredvs
Hello Alexander.

> In ideU also see same bug. :(

Aaargh, but there is progress, we will find exactly where is the problem.

In a previous mail, I did ask what happen with the demo that is mseuniverse:
https://github.com/mse-org/mseuniverse

But you did not answer.

Here my previous post:
__

Did you test /mseuniverse/testcase/graphics/radeon/radeontest.pas?

With  flushgdi:= true or false ?
Does it change something?

 program radeontest;
{$ifdef FPC}{$mode objfpc}{$h+}{$endif}
{$ifdef FPC}
 {$ifdef mswindows}{$apptype gui}{$endif}
{$endif}
uses
 {$ifdef FPC}{$ifdef unix}cthreads,{$endif}{$endif}
 msegui,mseforms,main,msegraphics;
begin
 flushgdi:= true;
 application.createform(tmainfo,mainfo);
 application.run;
end. 


Also do you have a idea what widgets has problem?
Do you have the same problem with all your MSE applications?

Thanks.

Fre;D


Fre;D




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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-17 Thread Alexander via mseide-msegui-talk
I download https://github.com/fredvs/ideU/archive/master.zip

I add to plugmanager.pas {$MODE OBJFPC} else see error: plugmanager.pas(302,3) 
Error: Identifier not found "result"

I compile ideU.pas : fpc -Fu../../../mseide-msegui/lib/common/* 
-Fu../../../mseide-msegui/lib/common/kernel/linux -B -CX ideU.pas

In ideU also see same bug. :(

On Wed, 17 Mar 2021 16:36:26 -0700 (MST)
fredvs  wrote:

> Hello Alexander.
> 
> Ok, I have seen the video.
> I already get this but I dont remember with what program and it was long
> ago.
> 
> Does it happen only with MSEide or for all the MSEgui applications?
> 
> If it happen only with MSEide, did you try with ideU (there are some more
> options for rendering)?
> https://github.com/fredvs/ideU/releases/
> 
> Do you have also problem with it?
> 
> Fre;D


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-17 Thread fredvs
Re_re hello Alexander.

Here what I would try in first:

1) Add cmem in uses section of mseide.pas, like this:

   uses
{$ifdef FPC}{$ifdef unix}cmem, cthreads,{$endif}{$endif}

2) Compile MSEide without any optimization ( no -O2 ).

3) Run and see.

This to be sure that the problems comes from the graphic driver.

After we can try adding some sleep(10) after flush') like Martin proposed in
mseguiintf.pas

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-17 Thread fredvs
Hello Alexander.

Ok, I have seen the video.
I already get this but I dont remember with what program and it was long
ago.

Does it happen only with MSEide or for all the MSEgui applications?

If it happen only with MSEide, did you try with ideU (there are some more
options for rendering)?
https://github.com/fredvs/ideU/releases/

Do you have also problem with it?

Fre;D



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-17 Thread Alexander via mseide-msegui-talk
Hi,

I upload screen capture to http://soft.self-made-free.ru/ , 
http://soft.self-made-free.ru/msescr.webm

On Mon, 15 Mar 2021 12:28:45 -0700 (MST)
fredvs  wrote:

>   
> 
> And rec-compile your application to see if it is better?
> 
> Thanks.
> 
> Fre;D


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-17 Thread Alexander via mseide-msegui-talk
On Mon, 15 Mar 2021 12:55:56 -0700 (MST)
fredvs  wrote:

> Re-re hello Alexander.
> 
> In my previous attachment there is xsync(appdisp,true) after
> xfillrectangle();
> 
> But maybe Martin wanted to say  xsync(appdisp,false).
> 
> So this attachment is with xsync(appdisp,false) after xfillrectangle(); 
> (Replace /mseide-msegui/lib/common/graphics/msex11gdi.pas) 
> 
> msex11gdi.zip
>   
> 
> I hope it will help.
> 
> Fre;D

I replace msex11gdi and recompile IDE, but bug stay up.



___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-15 Thread Graeme Geldenhuys
On 15/03/2021 10:02 pm, fredvs wrote:
> Sorry for my ignorance, but does NV refers to NVidia?

Yes, the proprietary NVidia driver. It is so much faster and feature rich
compared to the open source equivalent. It's basically source code with
some binary blobs. Much the same as the Broadcom wireless driver (which
everybody uses anyway).


> And about those graphic drivers, with a Intel i5 and his build-in graphic
> card, is it allowed to use a other graphic driver than the Intel one?

You have to use the Intel one. Linux incudes a Intel driver. Not sure how
good it is though.

I've always used physical video cards Initially
ATI Radeon, but after the terrible experience with the open source
driver (and no proprietary driver from AMD), I switch to NVidia and
never looked back. The proprietary NVidia driver is available for Windows,
Linux, FreeBSD, Solaris etc. As far as I know it's the same code for
all platforms, and same driver versions.


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-15 Thread fredvs
Hello Graeme.

> when there is a 1000x better NV driver out there.

Sorry for my ignorance, but does NV refers to NVidia?

And about those graphic drivers, with a Intel i5 and his build-in graphic
card, is it allowed to use a other graphic driver than the Intel one?

Or is it possible to use also a Radeon or NV driver for i5?

Thanks.

Fre;D 



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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-15 Thread Graeme Geldenhuys
On 15/03/2021 7:17 pm, fredvs wrote:
>> Also "xflush(); sleep(10ms);" or "xsync()" between xfillrectangle() and 
> xdrawlines() prevents the distortion.

I honestly don't know the degraded performance Martin was speaking of.
Maybe it's something you can only noticed in a timed performance test
application. Not sure you would be able to detect it with the naked eye.

So maybe the easiest solution is no not use that x11 feature - seeing as
the open source drivers are pretty terrible anyway, and I doubt a fix
will come in the next decade at least.


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-15 Thread Graeme Geldenhuys
On 15/03/2021 3:03 pm, Alexander via mseide-msegui-talk wrote:
> In last version I see old problems described in 
> https://gitlab.freedesktop.org/xorg/xserver/-/issues/79

I know about that bug too, and I can definitively say that the open
source ATI/AMD and nVidia drivers are all rubbish. I don't know why
anybody would want to use NOUVEAU driver, when there is a 1000x better
NV driver out there.

I have reported similar issue with the open source ATI Radeon driver, and
12+ years later it is still not fixed.

Vote with your wallet. I moved away from ATI/AMD to nVidia and now use
the NV driver under Linux and FreeBSD and have excellent performance
and no rendering issues.

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ?

2021-03-15 Thread fredvs
Re-re-re hello Alexander.

Did you test /mseuniverse/testcase/graphics/radeon/radeontest.pas

With  flushgdi:= true or false ?
Does it change something?

 program radeontest;
{$ifdef FPC}{$mode objfpc}{$h+}{$endif}
{$ifdef FPC}
 {$ifdef mswindows}{$apptype gui}{$endif}
{$endif}
uses
 {$ifdef FPC}{$ifdef unix}cthreads,{$endif}{$endif}
 msegui,mseforms,main,msegraphics;
begin
 flushgdi:= true;
 application.createform(tmainfo,mainfo);
 application.run;
end.




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


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


  1   2   >