FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Bug in TBar?
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: Bug in TBar?

Posted:

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

EMG

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Bug in TBar?

Posted: Tue May 31, 2011 03: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

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

Re: Bug in TBar?

Posted: Tue May 31, 2011 03: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
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: Bug in TBar?

Posted: Tue May 31, 2011 03: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

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: Bug in TBar?

Posted: Tue May 31, 2011 05: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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

Re: Bug in TBar?

Posted: Wed Jul 06, 2011 07: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
Posts: 103
Joined: Sat Oct 18, 2008 08:13 PM

Re: Bug in TBar?

Posted: Wed Jul 06, 2011 08: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 (fw): Select all Collapse
//----------------------------------------------------------------------------//

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
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: Bug in TBar?

Posted: Wed Jul 06, 2011 09: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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM

Re: Bug in TBar?

Posted: Wed Jul 06, 2011 02:42 PM

Enrico,

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

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: Bug in TBar?

Posted: Wed Jul 06, 2011 02:51 PM

It maybe, but eventually the leaks is inside FWH.

EMG

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM

Re: Bug in TBar?

Posted: Wed Jul 06, 2011 03: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: Bug in TBar?

Posted: Thu Jul 07, 2011 03:42 PM
Here it is a screenshot of the problem:



EMG
Posts: 417
Joined: Tue Feb 23, 2010 03:09 PM

Re: Bug in TBar?

Posted: Sat Jul 16, 2011 01: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
Posts: 417
Joined: Tue Feb 23, 2010 03:09 PM

Re: Bug in TBar?

Posted: 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
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM

Re: Bug in TBar?

Posted: Sun Aug 14, 2011 05: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.