firemonkey form can't show controls.

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Wormy
Newbie
Newbie
Posts: 4
Joined: Fri Aug 12, 2011 12:00 am

Re: firemonkey form can't show controls.

Post by Wormy » Fri Mar 02, 2012 1:11 pm

Me too...

I am running XE2 Update 4 on Win7 64bit.

In addition to not showing the visual controls, I see Access Violation errors in fmx162.bpl when clicking on the non-visual controls, such as a TStyleBook.

These problems are gone when I remove the TChartPro packages.

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: firemonkey form can't show controls.

Post by Yeray » Fri Mar 02, 2012 2:22 pm

Hi,

The update 4 has just been published and we are working to make an installer supporting it asap.
If you are a source code customer, you can either use it with update 3 or update 4 using the Recompile tool provided with the source code installer to compile and install the packages into the IDE.
Wormy wrote:In addition to not showing the visual controls, I see Access Violation errors in fmx162.bpl when clicking on the non-visual controls, such as a TStyleBook.
Regarding the "ghost" controls, I'm afraid we haven't found an explanation yet.
Regarding the AV you get, I'm not sure to understand the situation. Did you recompile and install the packages with TeeRecompile?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Wormy
Newbie
Newbie
Posts: 4
Joined: Fri Aug 12, 2011 12:00 am

Re: firemonkey form can't show controls.

Post by Wormy » Fri Mar 02, 2012 5:01 pm

Yes, I have used the Recompile tool to rebuild and install the latest source (from November 2011 I think) with Update 4.

When I remove the TeeChartPro packages both the "ghost" controls and Access Violations are gone.

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: firemonkey form can't show controls.

Post by Yeray » Tue Mar 06, 2012 3:53 pm

Hi,

We are still investigating the problem with the ghost controls.

Regarding the AV, I can't reproduce the problem here. I create a FireMonkey HD Application (Delphi), and I can add TStyleBook, click on it and run the program. We'll try it in a machine where the controls are invisible to see if it could be related.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: firemonkey form can't show controls.

Post by Yeray » Wed Mar 07, 2012 12:43 pm

Hi again,
Yeray wrote:Regarding the AV, I can't reproduce the problem here. I create a FireMonkey HD Application (Delphi), and I can add TStyleBook, click on it and run the program. We'll try it in a machine where the controls are invisible to see if it could be related.
It doesn't seem to be related since we haven't been able to reproduce the AV either in a machine with the controls visible nor invisible.

We may be doing something wrong. If you see any relevant step we could be missing, please don't hesitate to let us know.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Wormy
Newbie
Newbie
Posts: 4
Joined: Fri Aug 12, 2011 12:00 am

Re: firemonkey form can't show controls.

Post by Wormy » Thu Mar 15, 2012 1:11 pm

Any new insights into the ghost control issue? Is there a fix/workaround available yet?

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: firemonkey form can't show controls.

Post by Yeray » Fri Mar 16, 2012 4:12 pm

Hi,

I'm afraid not yet.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

jls
Newbie
Newbie
Posts: 27
Joined: Fri May 06, 2011 12:00 am

Re: firemonkey form can't show controls.

Post by jls » Mon Mar 26, 2012 8:40 am

I have the same problem

Update 4 did not help


Jørgen

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: firemonkey form can't show controls.

Post by Yeray » Wed Mar 28, 2012 8:16 am

Hello,

We've just published the TeeChart v2012.05 installer supporting XE2 Update 4. The problem with the ghost controls still looks random to us, but it could fix the problem for some of you who were experiencing it.
http://www.teechart.net/support/viewtop ... 118#p57118
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: firemonkey form can't show controls.

Post by Narcís » Thu Apr 05, 2012 2:26 pm

Hello everyone,

I have found one way to fix this issue which consists in the following steps:

1. Close all XE2 projects. Go to Component -> Install packages... and disable all (5) TeeChart related packages: TeeChar Pro VCL, TeeChar Pro Firemonkey, TeeChar Pro Firemonkey for iOS, TeeMaker & TeeTree.
2. Close & restart RAD Studio XE2.
3. Enable TeeChart Pro VCL, restart the IDE, create a new Firemonkey HD application and try adding a TButton.
4. Close & restart RAD Studio XE2.
5. Repeat step 3 but with TeeTree package.
6. Close & restart RAD Studio XE2.
7. Repeat step 3 but with TeeMaker package this time.
8. Close & restart RAD Studio XE2.
9. Repeat step 3 but with TeeChart Pro Firemonkey for iOS package.
10. Close & restart RAD Studio XE2.
11. Repeat step 3 but with TeeChart Pro Firemonkey package.

After following all those steps I solved the "ghost" TButton and char editor issues.

Also, another client could solve the issue as he explained here.

If you test the solution suggestions at your end please post the results here.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Wormy
Newbie
Newbie
Posts: 4
Joined: Fri Aug 12, 2011 12:00 am

Re: firemonkey form can't show controls.

Post by Wormy » Sat Apr 07, 2012 3:38 pm

I worked through the steps and still had problems with the "ghost" controls. However, when I simply removed the TeeTree package then this solved the issue. So, not sure if all of the steps are necessary or whether the issue is related just to the TeeTree package.

X-Ray
Newbie
Newbie
Posts: 49
Joined: Fri Jan 27, 2012 12:00 am

Re: firemonkey form can't show controls.

Post by X-Ray » Tue Apr 10, 2012 7:21 am

Hi Narcis,

I also worked through these steps.
First it didn't help then I did it one more time and
and I left 2 packages disabled, since I don't need them:

TeeMaker
and
TeeTree 2 Components

And now the problem with the ghost controls is gone as well as the crash with changing styles.
By the way, here is the stack trace of the crash that I always had when I tried to edit a Style:

[0C793A4A]{fmi162.bpl } FMX_Controls.TScrollBar.SetValue (Line 2901, "FMX_Controls.pas" + 1) + $0
[50037A80]{rtl160.bpl } System.@GetMem (Line 3454, "System.pas" + 20) + $0
[50037A9C]{rtl160.bpl } System.@FreeMem (Line 3502, "System.pas" + 20) + $0
[5003E77D]{rtl160.bpl } System.@UStrArrayClr (Line 19392, "System.pas" + 16) + $0
[0C8195DB]{fmi162.bpl } FMX_Types.TFmxObject.FindStyleResource (Line 9568, "FMX_Types.pas" + 23) + $15
[50037A9C]{rtl160.bpl } System.@FreeMem (Line 3502, "System.pas" + 20) + $0
[5003E77D]{rtl160.bpl } System.@UStrArrayClr (Line 19392, "System.pas" + 16) + $0
[0C8195DB]{fmi162.bpl } FMX_Types.TFmxObject.FindStyleResource (Line 9568, "FMX_Types.pas" + 23) + $15
[5003E7CF]{rtl160.bpl } System.@WStrArrayClr (Line 19508, "System.pas" + 9) + $0
[0C81F6E3]{fmi162.bpl } FMX_Types.TStyledControl.GetStyleObject (Line 12203, "FMX_Types.pas" + 79) + $22
[0C81F767]{fmi162.bpl } FMX_Types.TStyledControl.ApplyStyleLookup (Line 12222, "FMX_Types.pas" + 5) + $4
[11D3A911]{dclfmistd160.bpl} FMX_Design_Style.TStyleDesigner.UpdateTree (Line 649, "FMX_Design_Style.pas" + 29) + $11
[5004311C]{rtl160.bpl } System.@IntfClear (Line 29967, "System.pas" + 10) + $0
[11D3B108]{dclfmistd160.bpl} FMX_Design_Style.TStyleDesigner.LoadFromStrings (Line 844, "FMX_Design_Style.pas" + 26) + $2
[11D52E77]{dclfmistd160.bpl} FmiReg.DesignStyleBook (Line 137, "FmiReg.pas" + 14) + $A
[11D5303A]{dclfmistd160.bpl} FmiReg.TStyleBookEditor.Edit (Line 176, "FmiReg.pas" + 1) + $12
[0B8BF004]{fmidesigner160.bpl} FmiSurface.TFmxDesignSurface.DoEditDefaultStyle (Line 3506, "FmiSurface.pas" + 66) + $5
[50438083]{vcl160.bpl } Vcl.Menus.TMenuItem.Click (Line 2522, "Vcl.Menus.pas" + 19) + $8
[50439687]{vcl160.bpl } Vcl.Menus.TMenu.DispatchCommand (Line 3435, "Vcl.Menus.pas" + 5) + $2
[5043A8F6]{vcl160.bpl } Vcl.Menus.TPopupList.WndProc (Line 4596, "Vcl.Menus.pas" + 4) + $E
[5043A845]{vcl160.bpl } Vcl.Menus.TPopupList.MainWndProc (Line 4571, "Vcl.Menus.pas" + 2) + $5
[500B6890]{rtl160.bpl } System.Classes.StdWndProc (Line 13878, "System.Classes.pas" + 8) + $0
[50454598]{vcl160.bpl } Vcl.Forms.TApplication.CancelHint (Line 10993, "Vcl.Forms.pas" + 6) + $7
[50453213]{vcl160.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10164, "Vcl.Forms.pas" + 23) + $1
[50453256]{vcl160.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10194, "Vcl.Forms.pas" + 1) + $4
[50453595]{vcl160.bpl } Vcl.Forms.TApplication.Run (Line 10332, "Vcl.Forms.pas" + 26) + $3

best regards,

X-Ray

Blue
Newbie
Newbie
Posts: 10
Joined: Wed Jun 08, 2011 12:00 am

Re: firemonkey form can't show controls.

Post by Blue » Fri Apr 27, 2012 9:15 am

Same Problem here. No controls visible only after disabling TeeChart controls are visible again.

I also am running XE2 Update 4 on Win7 64bit.

What suprised me is that this problem still isn't resolved considering the fact that the Teechart Pro isn't very cheap to say the least and this problem is about 4 months old. Maybe time to think about compensation in the form of an extended service period.

StratnVox
Newbie
Newbie
Posts: 2
Joined: Mon Nov 21, 2011 12:00 am

Re: firemonkey form can't show controls.

Post by StratnVox » Sun Apr 29, 2012 2:57 am

As of today with Update 4 on XE2 and TeeChart Pro Update 4, these problems exist. Disable all Tee* components and the design components appear.
I hope the following provides to insight into the problem. The project is an FMX HD with Win32 and OSX as targets. XE2 is x86 on a Windows 7 (64 bit) virtual machine on a Mac Pro. In the mean while, no Tee* components will be enabled!

Image

Happy hunting!

yazou
Newbie
Newbie
Posts: 5
Joined: Thu Mar 01, 2012 12:00 am

Re: firemonkey form can't show controls.

Post by yazou » Sat May 26, 2012 4:55 pm

If you uninstall TeeTree components from the IDE everything works well.

Post Reply