HMG 3.4.3

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
srvet_claudio
Posts: 1952
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 31 times
Been thanked: 120 times
Contact:

Re: HMG 3.4.3

Post by srvet_claudio » Thu Mar 23, 2017 1:20 am

serge_girard wrote:
Wed Mar 22, 2017 4:43 pm
IDE crashes also when a compilation error occurs and F5 is accidentally pressed (again)

Serge
Thanks
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
srvet_claudio
Posts: 1952
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 31 times
Been thanked: 120 times
Contact:

Post by srvet_claudio » Thu Mar 23, 2017 1:29 am

Pablo César wrote:
Thu Mar 23, 2017 1:16 am
Hi Claudio,

This is the captured screen when the new IDE crashed.

It was minimized and when I tried to return came likes (no buttons and no title in main window of IDE).
 
Screen145.png
 
As you can see, I am using not themed Windows and there was two different projects open.

If I click at "x" button I can not close IDE. Ide is not responding at all. Only i f I close thru the TaskBar:
Screen146.png
Sorry but I do not understand very well, the IDE crashed ( closes ) or has repainting problem?
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
Pablo César
Posts: 4058
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 177 times

Post by Pablo César » Thu Mar 23, 2017 1:38 am

Es como si no tuviera ningun botón, mismo que tente pasar el pontero del mouse, los botones no existen. A veces el title me retorna cuando hago foco, pero no es siempre.
El F5 funciona. Es decir puedo seguir compilando.
Yo hice priebas como Serge de apretar el F5 pero solo me dá error cuando cliclo muchas veces. Es decir eso no seria mi problema.
Creo que basicamente está cuando minimizo la IDe. Eso porque tengo 2 instancias abiertas con la IDE (2 proyectos). Lo estraño es que el botón x no hace nada, no cierra el IDE. Pero si busco cerrarlo por el TaskBar aí si me viene la pregunta: si estoy seguiro de encerrar...

Cuando el title desaparece, todos los titles desaparen (del main, ProjectBrowser y del Object Inspector) pero tengo que hace foco clicando en cada una de las 3 ventanas. El TAB, funciona y los forms puedo abrirlo.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
srvet_claudio
Posts: 1952
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 31 times
Been thanked: 120 times
Contact:

Post by srvet_claudio » Thu Mar 23, 2017 2:29 am

Pablo César wrote:
Thu Mar 23, 2017 1:38 am
Es como si no tuviera ningun botón, mismo que tente pasar el pontero del mouse, los botones no existen. A veces el title me retorna cuando hago foco, pero no es siempre.
El F5 funciona. Es decir puedo seguir compilando.
Yo hice priebas como Serge de apretar el F5 pero solo me dá error cuando cliclo muchas veces. Es decir eso no seria mi problema.
Creo que basicamente está cuando minimizo la IDe. Eso porque tengo 2 instancias abiertas con la IDE (2 proyectos). Lo estraño es que el botón x no hace nada, no cierra el IDE. Pero si busco cerrarlo por el TaskBar aí si me viene la pregunta: si estoy seguiro de encerrar...

Cuando el title desaparece, todos los titles desaparen (del main, ProjectBrowser y del Object Inspector) pero tengo que hace foco clicando en cada una de las 3 ventanas. El TAB, funciona y los forms puedo abrirlo.
Gracias por la info, entonces es un problema​ de repintado (actualización ) de la ventana y no un crash de la app.
Cuando desaparezca los controles intenta minimizar nuevamente y luego maximizar a ver si se repintan los controles.
El problema aparece solo cuando tenés más de una instancia abierta del IDE?
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
Pablo César
Posts: 4058
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 177 times

Post by Pablo César » Thu Mar 23, 2017 11:03 am

Gracias por la info, entonces es un problema​ de repintado (actualización ) de la ventana y no un crash de la app.
Si creo que el mayor problema seria repintar, pero no lo hace y desabilita el botón [x] de salida en la ventana principal. Es decir es algo más que falta de repinte, estimo.
Cuando desaparezca los controles intenta minimizar nuevamente y luego maximizar a ver si se repintan los controles.
Si, eso ya lo hice varias veces y no responde al repinte de forma alguna. Lo mostré en la video que te envié por email.
El problema aparece solo cuando tenés más de una instancia abierta del IDE?
Voy a trabajar hoy con uno solo y fijarme. Es que es normal para mi trabajar con várias instancias.
Creo que me serviria trabajar con 2 monitores para facilitarme, pero lo veo un lujo eso.

Otra cosa que observé después que se produjo esta falla en la IDE, es que si yo hacia foco clicando en el editor Notepad++ por ejemplo, la IDE se minimizaba. El comportamiento no seria eso lo normal. Y cada vez que se minimizaba perdia los títulos de las 3 ventanas.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
Pablo César
Posts: 4058
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 177 times

Post by Pablo César » Thu Mar 23, 2017 1:42 pm

My recognition and testimony as a user and viewer  
I would like to clarify a little about the feasibility of using THREADs in HMG. And I hope to pass to you the profile on the subject and Claudio please correct me if I am wrong.

I think always is good to heard and follow the advices of our leader and creator of HMG.
Roberto here makes mention of HMG and Multi-Threading and the need to use in the IDE: viewtopic.php?p=45719#p45719 (great idea).

In another forum (exactly here: http://www.pctoledo.com.br/forum/viewto ... 20#p113920), to Dr. Claudio was tirelessly asked why at HMG the Threads did not work as Harbour as it should. Several situations and impossibilities have been shown as well and that in other tools this does not lead any difficulties... :?

Consequently Claudio studied deeply and saw that our limitation was something much more complex than it seemed. But since he has great knowledge in C and know a lot about the Windows operating system, it has made it possible to use Threads in HMG.

Before this last patch (#2), I had found many difficulties controlling these calls that by the HMG functionality and prevented Harbour threads from overrunning.

We have taken another important step in HMG.

I thank to Roberto, Claudio and José Quintas and others who helped to clarify this matter around.

I am sure that every of us will recognize and the the importance in your due time...

To myself, it is time to thank now. For more one of this: thank you very much !

Image
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
serge_girard
Posts: 1868
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 292 times
Been thanked: 67 times
Contact:

Post by serge_girard » Thu Mar 23, 2017 6:26 pm

IDE sometimes doesn't react when clicking on 'Open Project' ?

Serge

nobi
Posts: 1
Joined: Fri Mar 24, 2017 4:02 am

Post by nobi » Sat Mar 25, 2017 11:43 am

need to know how to include libraries

User avatar
serge_girard
Posts: 1868
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 292 times
Been thanked: 67 times
Contact:

Post by serge_girard » Sat Mar 25, 2017 1:34 pm

Claudio,

IDE is doing very strange after 20-30 compilations..!
Can't open project and close box is empty. IDE title is gone away.. See attachment,

Serge
Attachments
IDE.png
IDE.png (14.83 KiB) Viewed 542 times

User avatar
Pablo César
Posts: 4058
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 177 times

Post by Pablo César » Sat Mar 25, 2017 2:54 pm

nobi wrote:
Sat Mar 25, 2017 11:43 am
need to know how to include libraries
Hi nobi,

Have you welcome to our community.

HMG use MiniGW compiler which uses .a files as library.
If you have partice with hourbour you would include in .hbc file as well.

If you are practice in IDE you can follows as exemple this: viewtopic.php?p=49152#p49152
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

Post Reply