Bug in TBar?

Bug in TBar?

Postby Enrico Maria Giordano » Tue May 31, 2011 3:02 pm

I can't reproduce the problem with a sample but sometimes a btnbmp of the toolbar vanishes.

Do you have any ideas on the possible reason?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8568
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Bug in TBar?

Postby nageswaragunupudi » Tue May 31, 2011 3:45 pm

Surprising.
There has been no change in TBar code as such.
We shall all keep a watch and try to fix any problem.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10482
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Bug in TBar?

Postby Otto » Tue May 31, 2011 3:50 pm

Dear Mr. Rao,
I noticed that I have to use now oBar:SetFont() otherwise I get an ugly bold font for the PROMPT’s.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6272
Joined: Fri Oct 07, 2005 7:07 pm

Re: Bug in TBar?

Postby Enrico Maria Giordano » Tue May 31, 2011 5:53 pm

nageswaragunupudi wrote:Surprising.
There has been no change in TBar code as such.
We shall all keep a watch and try to fix any problem.


Please note that this erratic behavior is older, not related with latest FWH release.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8568
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Bug in TBar?

Postby Enrico Maria Giordano » Wed Jul 06, 2011 6:39 am

I still get this behavior (mainly under Vista and Win7): the bitmaps of the TBar suddenly vanish.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8568
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Bug in TBar?

Postby nageswaragunupudi » Wed Jul 06, 2011 7:48 am

I have not noticed so far, but as you said this happens randomly.
Can we try with an old version of tbar and see?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10482
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Bug in TBar?

Postby IBTC » Wed Jul 06, 2011 8:28 am

nageswaragunupudi wrote:I have not noticed so far, but as you said this happens randomly.


Maybe this is a memory leak problem outside of TBar (in other functions, parts of FWH) and it depends what the user do with the app before you can see it at TBar.

After I use

Code: Select all  Expand view
//----------------------------------------------------------------------------//

FUNCTION MAIN()

   LOCAL oWnd

   SetResDebug()

   ...

   FERASE("CHECKRES.TXT")
   CHECKRES()
   winExec("notepad .\checkres.txt")

return(0)

//----------------------------------------------------------------------------//


the whole time while developing I could reduced memory leaks in my app (or told FiveTech to solve it) and now my customer tell me about the problem only few times. In the past they had the problem very often.
Best Regards,
Ruediger Alich

---
HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper
User avatar
IBTC
 
Posts: 103
Joined: Sat Oct 18, 2008 8:13 pm
Location: Stuttgart, Germany

Re: Bug in TBar?

Postby Enrico Maria Giordano » Wed Jul 06, 2011 9:46 am

nageswaragunupudi wrote:Can we try with an old version of tbar and see?


No, as my customers report me this problem since months. Anyway, if you send me an old TBar I can test it.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8568
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Bug in TBar?

Postby James Bott » Wed Jul 06, 2011 2:42 pm

Enrico,

Like Ruediger I have also seen this problem with memory leaks.

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Bug in TBar?

Postby Enrico Maria Giordano » Wed Jul 06, 2011 2:51 pm

It maybe, but eventually the leaks is inside FWH.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8568
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Bug in TBar?

Postby James Bott » Wed Jul 06, 2011 3:20 pm

Yes, or the leaks could even be in other programs. The bitmaps seem to vanish when the available memory gets low for whatever reason.

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Bug in TBar?

Postby Enrico Maria Giordano » Thu Jul 07, 2011 3:42 pm

Here it is a screenshot of the problem:

Image

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8568
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Bug in TBar?

Postby ukservice » Sat Jul 16, 2011 1:49 pm

Yes, I have noticed this error with Ribbon Bar.

Any clue?.

It is very serious.

Thank you.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
ukservice
 
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: Bug in TBar?

Postby ukservice » Sat Aug 13, 2011 11:14 am

Hello.

Is there any update on this topic?.

Thank you very much.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
ukservice
 
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: Bug in TBar?

Postby lucasdebeltran » Sun Aug 14, 2011 5:36 pm

Hello,

What is the difference between painting Bitmaps on Menu and in Ribbon and TBar?.

Maybe here is the clue.

I do experience this problem too but I have not been able to trace.

Thanks
Muchas gracias. Many thanks.

Un saludo, Best regards,

Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]

Implementando MSVC 2010, FWH64 y ADO.

Abandonando uso xHarbour y SQLRDD.
User avatar
lucasdebeltran
 
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 82 guests