Incompatibility with DevExpress
-
- Newbie
- Posts: 9
- Joined: Fri Dec 21, 2012 12:00 am
Incompatibility with DevExpress
Hello.
We are using Delphi 7 with DevExpress VCL v2013 vol 2.3 (most recent version).
After updating from TeeChart Pro 7.06 to TeeChart Pro 2014, newly assigned glyphs to their bar buttons look horrible.
I went back in a testing VMware to a snapshot that was created right before updating TeeChart and everything was still fine there.
(check attachment image)
I checked the dfm-file part of the same image, and it differs between TeeChart 7 and TeeChart 2014.
I already asked DevExpress and they believe the issue is in TeeChart Pro 2014.
Here is the link to my bug report there including their response: https://www.devexpress.com/Support/Cent ... ls/Q576315
Regards
We are using Delphi 7 with DevExpress VCL v2013 vol 2.3 (most recent version).
After updating from TeeChart Pro 7.06 to TeeChart Pro 2014, newly assigned glyphs to their bar buttons look horrible.
I went back in a testing VMware to a snapshot that was created right before updating TeeChart and everything was still fine there.
(check attachment image)
I checked the dfm-file part of the same image, and it differs between TeeChart 7 and TeeChart 2014.
I already asked DevExpress and they believe the issue is in TeeChart Pro 2014.
Here is the link to my bug report there including their response: https://www.devexpress.com/Support/Cent ... ls/Q576315
Regards
- Attachments
-
- cxUglyButtons.png (13.25 KiB) Viewed 11639 times
Re: Incompatibility with DevExpress
Hello,
Can you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
Instructions - HowTo post in this forum
Can you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
Instructions - HowTo post in this forum
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 9
- Joined: Fri Dec 21, 2012 12:00 am
Re: Incompatibility with DevExpress
Hello Yeray,
I didn't expect an example was needed, because all you have to do is to drag a dxBarManager on top of the form, add a dxBarButton and assign a png image to the button's glyph property.
It is screwed up in design mode already.
However, attached is a sample project.
Regards.
I didn't expect an example was needed, because all you have to do is to drag a dxBarManager on top of the form, add a dxBarButton and assign a png image to the button's glyph property.
It is screwed up in design mode already.
However, attached is a sample project.
Regards.
- Attachments
-
- TcDxBarGlyphBug.rar
- (8.14 KiB) Downloaded 495 times
Re: Incompatibility with DevExpress
Hello,
I had TeeChart v2014.10 in Delphi 7 here. I installed DevExpress trial from here.
Then I could open the project you attached without errors claiming for uninstalled components.
This is how it looks, always at design time: I see the bitmap at the bottom-left looks different than the bitmap at the right.
I've changed the bitmap to the following through the glyph property as indicated: I've also changed the TcxImage in the right to use png above too, and added a TChart.
Everything looks fine for me here: Check out the modified project here:
I had TeeChart v2014.10 in Delphi 7 here. I installed DevExpress trial from here.
Then I could open the project you attached without errors claiming for uninstalled components.
This is how it looks, always at design time: I see the bitmap at the bottom-left looks different than the bitmap at the right.
I've changed the bitmap to the following through the glyph property as indicated: I've also changed the TcxImage in the right to use png above too, and added a TChart.
Everything looks fine for me here: Check out the modified project here:
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 9
- Joined: Fri Dec 21, 2012 12:00 am
Re: Incompatibility with DevExpress
Hello Yeray,
Thanks for having a look into it.
I downloaded your demo and opened it in Delphi 7. The button you changed looks fine for me.
However, I downloaded the PNG file that was attached in your posting and changed the picture through the glyph again to that image.
This is the result: The difference here is, that I installed DevExpress prior to updating TeeChart to v2014.10. But I already tried reinstalling DevExpress from scratch, and the picture was still screwed up.
Also, I am not using the trial version of DevExpress.
I'll try to track it down with the trial version of DevExpress in a VMware.
I'll post my results here.
Regards.
Thanks for having a look into it.
I downloaded your demo and opened it in Delphi 7. The button you changed looks fine for me.
However, I downloaded the PNG file that was attached in your posting and changed the picture through the glyph again to that image.
This is the result: The difference here is, that I installed DevExpress prior to updating TeeChart to v2014.10. But I already tried reinstalling DevExpress from scratch, and the picture was still screwed up.
Also, I am not using the trial version of DevExpress.
I'll try to track it down with the trial version of DevExpress in a VMware.
I'll post my results here.
Regards.
-
- Newbie
- Posts: 9
- Joined: Fri Dec 21, 2012 12:00 am
Re: Incompatibility with DevExpress
Hello Yeray.
I could track it down a bit.
In a VMware I first installed the DevExpress Trial and then TeeChart Pro v2014.10.
The same problem as described in my first posting showed up again. The PNG images attached to the bar buttons glyph property were not correctly drawn.
Then I tried it the other way round:
First installing TeeChart Pro, then the DevExpress trial.
This time all the images were correctly drawn.
After that I recompiled and reregistered TeeChart using the TeeRecompile.exe utility.
Newly assigned images to the bar buttons glyph property were screwed up again.
I then ran the DevExpress setup again and chose "repair".
After that everything was fine again.
So it seems like chosing the "Repair" option in the DevExpress setup fixes the problems.
Unfortunately, for whatever reason the "Repair" option does not help in the full version of the DevExpress setup
However, I do not know if this screws up some TeeChart drawing routines, because to me it seems like both the DevExpress and the TeeChart setup overwrite some graphic routines for PNG files.
Regards.
I could track it down a bit.
In a VMware I first installed the DevExpress Trial and then TeeChart Pro v2014.10.
The same problem as described in my first posting showed up again. The PNG images attached to the bar buttons glyph property were not correctly drawn.
Then I tried it the other way round:
First installing TeeChart Pro, then the DevExpress trial.
This time all the images were correctly drawn.
After that I recompiled and reregistered TeeChart using the TeeRecompile.exe utility.
Newly assigned images to the bar buttons glyph property were screwed up again.
I then ran the DevExpress setup again and chose "repair".
After that everything was fine again.
So it seems like chosing the "Repair" option in the DevExpress setup fixes the problems.
Unfortunately, for whatever reason the "Repair" option does not help in the full version of the DevExpress setup
However, I do not know if this screws up some TeeChart drawing routines, because to me it seems like both the DevExpress and the TeeChart setup overwrite some graphic routines for PNG files.
Regards.
Re: Incompatibility with DevExpress
Hello,
I'm sorry for the late reply here. I've been doing some tests but I'm still not sure to have found the origin of the problem.
We'll continue investigating and we'll be back to you here asap.
I'm sorry for the late reply here. I've been doing some tests but I'm still not sure to have found the origin of the problem.
We'll continue investigating and we'll be back to you here asap.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Incompatibility with DevExpress
Hello again,
I'm afraid we haven't found the root of the problem yet but found some workaround that could be useful for you.
In the project above, after installing the latest TeeChart version, if I reload the glyph, I get an uncorrect image drawn in the TdxBarButton. Here, if I do this:
- Close the project
- Open the Packages list (Component->Install Packages).
- Unselect the DevExpress components.
- Select the DevExpress components again (I only have to select "ExpressBars cxEditor item..." and "ExpressBars DBNavigator...")
Now I can load the project and when I reload the glyph, the image drawn in the TdxBarButton looks correct.
I'm afraid we haven't found the root of the problem yet but found some workaround that could be useful for you.
In the project above, after installing the latest TeeChart version, if I reload the glyph, I get an uncorrect image drawn in the TdxBarButton. Here, if I do this:
- Close the project
- Open the Packages list (Component->Install Packages).
- Unselect the DevExpress components.
- Select the DevExpress components again (I only have to select "ExpressBars cxEditor item..." and "ExpressBars DBNavigator...")
Now I can load the project and when I reload the glyph, the image drawn in the TdxBarButton looks correct.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 9
- Joined: Fri Dec 21, 2012 12:00 am
Re: Incompatibility with DevExpress
Hello Yeray,
Thank you for the info and the workaround.
Unfortunately, this only seems to work in the trial version of DevExpress
Regards.
Thank you for the info and the workaround.
Unfortunately, this only seems to work in the trial version of DevExpress
Regards.
Re: Incompatibility with DevExpress
Hello,
Strange, but I can't know what differences are between the evaluation and the registered version of this component.
I'll open a ticket at our bug tracking system to further investigate this problem:
http://bugs.teechart.net/show_bug.cgi?id=670
Strange, but I can't know what differences are between the evaluation and the registered version of this component.
I'll open a ticket at our bug tracking system to further investigate this problem:
http://bugs.teechart.net/show_bug.cgi?id=670
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 9
- Joined: Fri Dec 21, 2012 12:00 am
Re: Incompatibility with DevExpress
Hello Yeray.
Thanks for putting so much time into investigating the issue.
I asked DevExpress why the "repair" option (which is pretty much the same as reinstalling a single component) won't work in the registered version.
This is their response:
Thanks for putting so much time into investigating the issue.
I asked DevExpress why the "repair" option (which is pretty much the same as reinstalling a single component) won't work in the registered version.
This is their response:
The main difference between our full and Trial versions is that the full version contains sources and as a result it compiles all our packages using both the source code of your IDE and our units. The Trial version already have precompiled packages (which were compiled with our IDE sources without TeeChart changes) so it just installs them into your IDE. I believe, this is the cause of the difference in "Repair" mechanism.