Bug in TBar?

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

Bug in TBar?

Post by Enrico Maria Giordano »

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
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Bug in TBar?

Post by nageswaragunupudi »

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
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: Bug in TBar?

Post by Otto »

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

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

Re: Bug in TBar?

Post by Enrico Maria Giordano »

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: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Bug in TBar?

Post by Enrico Maria Giordano »

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

EMG
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Bug in TBar?

Post by nageswaragunupudi »

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
IBTC
Posts: 103
Joined: Sat Oct 18, 2008 8:13 pm
Location: Stuttgart, Germany
Contact:

Re: Bug in TBar?

Post by IBTC »

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

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

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
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Bug in TBar?

Post by Enrico Maria Giordano »

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
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Re: Bug in TBar?

Post by James Bott »

Enrico,

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

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

Re: Bug in TBar?

Post by James Bott »

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
ukservice
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: Bug in TBar?

Post by ukservice »

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?

Post by ukservice »

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
lucasdebeltran
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am
Contact:

Re: Bug in TBar?

Post by lucasdebeltran »

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.
Post Reply