Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 23:37:58 +0000



Notice: Windows 10 Update Causes Date/Time Controls to Not Display Properly

View Count: 5007

[2017-05-18 14:39:05]
Sierra Chart Engineering - Posts: 104368
We have had many reports related to a new Windows 10 update which is causing the operating system provided Date/Time controls used in various areas of Sierra Chart to not display properly.

Here is one such example:
https://www.sierrachart.com/Download.php?Folder=SupportBoard&download=12075

This is a Windows 10 problem. Try running the Windows updates again to see if the problem is corrected. Eventually Microsoft will fix this. There is nothing we can do from our side. This is strictly a Microsoft Windows 10 issue.

For an immediate resolution try rolling back the most recent Windows update you have run which is causing the problem.

If the problem does persist over next 30 days, we will consider replacing these controls with simple edit boxes where you will manually enter a date and lose the capability to choose the date from the calendar which displays when clicking on the down arrow.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-05-18 14:41:49
[2017-05-25 12:46:18]
gomifromparis - Posts: 244
It's supposed to get fixed in the June update from what I understand..

https://social.msdn.microsoft.com/Forums/en-US/4cf03067-46c4-4962-af8c-f4b1483e88ba/date-time-picker-garbled-after-windows-10-creators-update?forum=windowsgeneraldevelopmentissues
[2017-05-25 16:46:03]
Sierra Chart Engineering - Posts: 104368
Someone also said in that discussion thread that running Sierra Chart in compatibility mode with Windows XP as the operating system solves the problem. So that is something to try for the time being.

We see no problem with doing that. It should be just fine.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-05-25 16:46:19
[2017-05-25 16:51:26]
gomifromparis - Posts: 244
Y tried that, it didn't work.
[2017-06-01 04:23:45]
Sierra Chart Engineering - Posts: 104368
We would like to know if this problem exists in version 1564.

This version is no longer compiled to support Windows XP.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2017-06-01 06:10:07]
gomifromparis - Posts: 244
yes
imagescdtpicker.png / V - Attached On 2017-06-01 06:10:01 UTC - Size: 67.65 KB - 349 views
[2017-06-01 12:39:34]
gomifromparis - Posts: 244
From what the msdn forum says, this issue only happens with comctl32 V5, V6 is OK.

Seems also V5 is loaded by default, so it needs a manifest fo load V6

I tried to force the dll using a manifest file like documented here :
https://msdn.microsoft.com/en-us/library/windows/desktop/bb773175%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396#using_manifests

I put this in a SierraChart.exe.manifest file

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="*"
name="SierraChart"
type="win32"/>

<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>



However it didn't work, probably because sierrachart.exe already contains the following embedded manifest :

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
  <security>
    <requestedPrivileges><requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel></requestedPrivileges>
  </security>
  </trustInfo>
  <asmv3:application xmlns="urn:schemas-microsoft-com:asm.v3"><asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
    <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
  </asmv3:windowsSettings></asmv3:application>
</assembly>


So I guess you need to add the dependent assembly to the embedded manifest yourself.
Date Time Of Last Edit: 2017-06-01 12:40:50
[2017-06-01 14:10:34]
gomifromparis - Posts: 244
I hacked the internal xml manifest and added the V6 binding I mentioned above, it confirms the V6 has not the issue, but there are some styling changes.. Kind of nicer in my opinion :-) but obviously would need a thorough check of all forms..
Date Time Of Last Edit: 2017-06-01 14:12:01
imagehackedsierra.PNG / V - Attached On 2017-06-01 14:09:41 UTC - Size: 64.87 KB - 346 views
[2017-06-07 16:43:13]
Sierra Chart Engineering - Posts: 104368
Today we are going to solve this problem by removing dependency on the Windows OS Time control.

The new time control will be easier to use because you can just type an entire time and without having to work with three separate fields which often under certain conditions gives stupid error beeps and it also will support a.m. and p.m. recognition.

For example you could even enter something like this:
4:23p

And will be correctly interpreted as 16:23:00
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-06-07 16:45:18
[2017-06-07 16:56:18]
gomifromparis - Posts: 244
Would be much happier if you had decided to update your controls to V6 (available since XP)..

If anything, this has shown us that the V5 is not thoroughly tested for regression any more since the user base is so small. People having issues with the DateTime picker were a couple of old software and Delphi apps... And Sierra..
So I think regressions from MS updates might happen more frequently now.

Will we still be able to pick a date in the Trade Activity log ?
[2017-06-07 18:06:54]
Sierra Chart Engineering - Posts: 104368
Would be much happier if you had decided to update your controls to V6 (available since XP)..
We are not even sure how this is even controlled. There is nothing in the project which specifies a version for these controls. It is not like we are using an older version of the time and date controls. There is no way to even control that to our knowledge.

There is one particular function call that we did look at that we suspected might have been the problem, but after reviewing the documentation for it, there was no indication it was causing a problem. We will remove that call and see what happens.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-06-07 18:08:35
[2017-06-07 18:22:20]
Sierra Chart Engineering - Posts: 104368
OK we see post #7, we had not seen that before. We understand this now.

But this is so obviously and overwhelmingly a Microsoft issue. There should not be any problem whatsoever. Sierra Chart is not doing anything incorrectly.

We do not want to use these visual styles.

If anything, this has shown us that the V5 is not thoroughly tested for regression any more since the user base is so small.
We do not agree with this.

When you look at all of the garbage and instability from Microsoft, we certainly do not want to be moving in that direction. We want to stay as far as way from their trash as we can.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-06-07 19:03:12
[2017-06-07 19:33:45]
gomifromparis - Posts: 244
Your software, your decision..

I'm curious though if you can find one other app still using the V5 (easily recognized because it has the distinctive funky 3D-looking Win95-styled buttons and tabs). I opened all my Win32 apps and they are all V6 except SierraChart and CoolEdit, but the latter was released in July 2000...
[2017-06-07 19:51:37]
Sierra Chart Engineering - Posts: 104368
A program has to make a deliberate effort to use the visual styles. To our knowledge this is not the case by default.


Anyway, we will see about the Visual Styles, but really the time controls do need to be our own. The ones that Microsoft has are not really appropriate for the requirements of Sierra Chart.

The date control will be the same.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-06-07 19:53:10
[2017-06-08 01:39:03]
Sierra Chart Engineering - Posts: 104368
We are releasing version 1567 in about 10 minutes.

The Chart Settings window uses Sierra Chart time controls.

One advantage of these time controls is you can enter a time much more easily. For example, if you want to enter 9:30 AM you can just enter 0930 without having to select two different fields or use the spin controls or be concerned about the seconds.

We also did enable the visual styles but we want to do more research into that.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2017-06-08 06:42:05]
gomifromparis - Posts: 244
OK I see you have modified the manifest, now sierra loads the V6 controls, has a flat look (in windows 10), and date functionality is restored in the trade activity. See capture. Hope it stays like this :-)
imagesierraflat.PNG / V - Attached On 2017-06-08 06:41:49 UTC - Size: 26.83 KB - 388 views
[2017-06-08 07:45:28]
Sierra Chart Engineering - Posts: 104368
We may not keep that styling because we are already getting feedback that it is causing some appearances which do not look right in some cases and in some places.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2017-06-08 11:58:22]
DabbaDo - Posts: 146
FWIW I agree with gomi
[2017-06-09 16:45:53]
Sierra Chart Engineering - Posts: 104368
Now we know why we were hesitant it to use this visual style garbage.

We are taking it out immediately. It is causing the color buttons to not display the right colors.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2017-06-14 11:38:14]
gomifromparis - Posts: 244
Issue solved with the June Windows 10 update
imagesierrasolved.png / V - Attached On 2017-06-14 11:37:08 UTC - Size: 19.64 KB - 385 views
[2017-06-19 02:33:21]
Sierra Chart Engineering - Posts: 104368
OK that is fine but we are removing support for the Windows date control. The new one is going to be superior because it supports date entry as a single text string which can be easily typed without getting frustrated with the data entry restrictions with the current control, various date formats, automatic validation, and cutting and pasting.

It really was not part of the design philosophy to use these windows date controls. One of our developers had been using them. But we are removing them.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-06-19 02:33:33
[2017-06-27 06:10:49]
Sierra Chart Engineering - Posts: 104368
In the latest prerelease, these Microsoft garbage date and time controls and have been removed. We are very happy about that.

We see time and time again, the continued path of poor quality and unreliability from Microsoft products. It is absolutely totally and completely pathetic, the trash and problems created by Microsoft products.

We had another incident today affecting one of our systems caused by Microsoft development tools caused by an update of Visual Studio. It affected the operating system startup preventing the system from being used for now. This is the level of absurdity that Microsoft causes.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-06-27 07:01:35
[2017-06-27 06:15:40]
Sierra Chart Engineering - Posts: 104368
And for those of you, who are interested in these worthless visual styles, and think Sierra Chart is out of date, go ahead and use another product. We are not going to change anything.

That we can guarantee you. Comments, that the Sierra Chart user interface looks dated, are meaningless to us. If you think that is the case and you are not happy, you are welcome to leave. It does not matter to us.

Sierra Chart is designed for speed and efficiency, and simplicity. However, the charts, the control bar, and the log windows, already provide an abundant amount of functionality if you want to create something that looks "nice". The functionality is there to do whatever you want.

We stand for quality, reliability, and high-performance, and stability. In an increasing unstable world, we are going to stand for quality and stability.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-06-28 02:22:31
[2017-06-27 16:18:09]
Kenneth.S - Posts: 20
We stand for quality, reliability, and high-performance, and stability. In an increasing unstable world, we are going to stand for quality and stability.

You quite often break features between builds, so there are room for improvement in your development process.
[2017-06-27 16:42:21]
Sierra Chart Engineering - Posts: 104368
This is just not true. Be very specific about what you mean rather than making a generally untrue statement like this.

And if there is some little change that causes one problem out of thousands of features, and we correct it in a matter of hours, this is insignificant. This is inevitable with a very wide array of functionality that we offer and the numerous ways in which it is used.

Our development process is very good. We are not always perfect, but overall very good and are very prompt to take care of any issues.

The overall architecture and core of Sierra Chart is very well-designed and stable. We have a lot of experience with computer software and Sierra Chart is one of the best programs in the world. It is not perfect and there is certainly a lot more room for improvement and more functionality to be added, but it is high quality software.


There is a huge difference between boatloads of unresolved serious problems and ongoing poor designs in Windows and Microsoft products, and with Microsoft practices, as compared to some small issue in an area that was changed/improved upon out of thousands areas of functionality of the software which gets resolved within a day by Sierra Chart.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-06-27 19:56:08

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account