Page 2 of 3

Re: firemonkey form can't show controls.

Posted: Fri Mar 02, 2012 1:11 pm
by 16559997
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.

Re: firemonkey form can't show controls.

Posted: Fri Mar 02, 2012 2:22 pm
by yeray
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?

Re: firemonkey form can't show controls.

Posted: Fri Mar 02, 2012 5:01 pm
by 16559997
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.

Re: firemonkey form can't show controls.

Posted: Tue Mar 06, 2012 3:53 pm
by yeray
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.

Re: firemonkey form can't show controls.

Posted: Wed Mar 07, 2012 12:43 pm
by yeray
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.

Re: firemonkey form can't show controls.

Posted: Thu Mar 15, 2012 1:11 pm
by 16559997
Any new insights into the ghost control issue? Is there a fix/workaround available yet?

Re: firemonkey form can't show controls.

Posted: Fri Mar 16, 2012 4:12 pm
by yeray
Hi,

I'm afraid not yet.

Re: firemonkey form can't show controls.

Posted: Mon Mar 26, 2012 8:40 am
by 16559245
I have the same problem

Update 4 did not help


Jørgen

Re: firemonkey form can't show controls.

Posted: Wed Mar 28, 2012 8:16 am
by yeray
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

Re: firemonkey form can't show controls.

Posted: Thu Apr 05, 2012 2:26 pm
by narcis
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.

Re: firemonkey form can't show controls.

Posted: Sat Apr 07, 2012 3:38 pm
by 16559997
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.

Re: firemonkey form can't show controls.

Posted: Tue Apr 10, 2012 7:21 am
by 16561419
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

Re: firemonkey form can't show controls.

Posted: Fri Apr 27, 2012 9:15 am
by 16559493
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.

Re: firemonkey form can't show controls.

Posted: Sun Apr 29, 2012 2:57 am
by 16460798
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!

Re: firemonkey form can't show controls.

Posted: Sat May 26, 2012 4:55 pm
by 16561845
If you uninstall TeeTree components from the IDE everything works well.