Login Page - Create Account

Support Board


Date/Time: Sat, 27 Jul 2024 02:18:39 +0000



Trade Account Manager and Position Window Not Saving Location on Exit

View Count: 399

[2024-05-13 00:52:05]
user_xyz - Posts: 387
Trade Account Manager and Positions windows are not saving their locations on desktop during exit and upon restart need to be moved back.
The Trade Orders and Trading Instances window positions are saved.
This has been ongoing for few months now and I stay current on releases.
Date Time Of Last Edit: 2024-05-13 00:53:44
[2024-05-13 01:18:28]
Sierra_Chart Engineering - Posts: 15584
The size and position is saved for these windows. This 100% is an operating system issue in your case. We are 100% certain of that. We have no doubt about this at all.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2024-05-13 14:58:43
[2024-05-20 01:42:37]
user_xyz - Posts: 387
I just spent a few hours going through this, saving, re-starting, testing with my installs. I noticed two things let's just start with the first.

BTW I have noticed Windows Snapping do odd things to Window Save Locations in the past, not the issue here and has been off.

This is a clean install of Sierra only used to test this. See attached images for clarity.
This makes no sense to me why these particular Sierra Chart Windows keep getting repositioned on restart. Happens across all my copies of SC even the clean install but it's only these windows.
Date Time Of Last Edit: 2024-05-20 01:43:24
Private File
Private File
[2024-05-20 05:14:54]
Sierra_Chart Engineering - Posts: 15584
Make sure you do not have Global Settings >> General Settings >> GUI >> Use Alternate Window Placement Method enabled.

Although that should not cause any inconsistency. And warning. If you use that option you are going to notice very wacky behavior, with windows appearing and disappearing when the window placement is determined. Only use it with great caution and it may not make any difference at all.

These Windows API functions are consistently used among all of those windows:
SetWindowPlacement
GetWindowPlacement

The difference is that the main Sierra Chart window and the Trade Activity Log windows still remain as MFC Windows. We cannot think of any reason why that matters at all. There must be something going on in the background which we do not know about or have any control over. We will not be spending any time on this at all. Under no circumstances. Eventually those windows will be changed.

Anyway at this point we cannot help with the issue beyond what we have said here. It is not going to help to ask us about this further.

One more thing, it does not help to do a fresh install of Sierra Chart. That is a complete waste of time. This issue has nothing to do with that at all.

For the record, Microsoft you are a criminal organization at this point and you can go to hell.


----
Update:

This issue also occurs on Windows 7.

Setting this to Yes does resolve the issue:
Use Alternate Window Placement Method

However, you have to accept the consequences of what it does.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2024-05-20 05:49:45
[2024-05-20 11:47:28]
Sierra_Chart Engineering - Posts: 15584
We know how to solve this issue so there is not unusual behavior:
If you use that option you are going to notice very wacky behavior, with windows appearing and disappearing when the window placement is determined. Only use it with great caution and it may not make any difference at all.

Allow about two weeks.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-05-20 12:43:36]
user_xyz - Posts: 387

Make sure you do not have Global Settings >> General Settings >> GUI >> Use Alternate Window Placement Method enabled.
This is NOT enabled and the fresh install NOT enabled by default.


One more thing, it does not help to do a fresh install of Sierra Chart. That is a complete waste of time. This issue has nothing to do with that at all.
Just trying to be helpful, reduce troubleshooting times, and remove any custom settings.

Allow about two weeks.
Thank you
[2024-05-20 13:38:41]
Sierra_Chart Engineering - Posts: 15584
We think we can get the change out today. We will try to do that.

These two Microsoft Windows functions, which we have used for decades, clearly are nearly worthless:
SetWindowPlacement
GetWindowPlacement

They do not do at all what they claim to do.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-05-20 16:36:42]
Sierra_Chart Engineering - Posts: 15584
Version 2641 has been released with a better implementation of Use Alternate Window Placement Method

One additional thing about this setting is that changes to it require a restart of 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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2024-05-20 17:18:16
[2024-05-21 00:34:41]
user_xyz - Posts: 387
Did some more testing w/ver 2641.

NOT enabling Use Alternate Window Placement Method I moved those trade windows in screenshot from post #3 to second monitor, same position at the top, however, this desktop window does NOT have the taskbar up top. The windows saved accurately on restart. So it appears to be related to that upper area near the Task Bar. If I position all those windows down a few inches and restart they all save accurately.

ENABLING Use Alternate Window Placement, restarting SC, saving windows and restarting again the Trade Windows stayed in the locations from Post #3 screenshot which is nice! However with this setting enabled charts inside the Main SC window won't save near the top (see screenshot).
Date Time Of Last Edit: 2024-05-21 00:36:02
Private File
[2024-05-21 01:07:50]
Sierra_Chart Engineering - Posts: 15584
Ok we will check on that issue. That is why we were afraid of mentioning the option initially because we did not know what kind of problems would arise from it.

Probably the easiest thing for us to do is for attached windows to just use the same Get and Set Window Placement functions as normal.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2024-05-21 01:09:03
[2024-05-22 00:25:18]
user_xyz - Posts: 387
Let me know what version you make the changes in and I'll run through the tests again. Thanks
[2024-05-22 05:37:32]
Sierra_Chart Engineering - Posts: 15584
This is in 2642 which is released. This is option Use Alternate Window Placement Method is not a perfect solution, but getting close. It is a best effort solution for a clearly malfunctioning operating system.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2024-05-22 05:38:12
[2024-05-24 03:50:34]
user_xyz - Posts: 387
I ran through and tested on version 2642. Works great and the windows inside the chartbook save correctly and I noticed even have the correct coloring of the borders now. Subtle fix but saves time repositioning every startup so thank you!

I mentioned I was having 2 issues with windows placement.

#2 - In instance #5 the Trade Positions window always defaults to upper left corner of the desktop regardless where I save it on exit. Trade Positions window in Main and all instances up to #5 will save wherever I place the window on my desktop. Ideas here?
[2024-05-28 17:10:50]
Sierra_Chart Engineering - Posts: 15584
In that instance, make sure, that this option is actually enabled:
General Settings Window: Use Alternate Window Placement Method (Global Settings >> General Settings >> GUI >> Application GUI)
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-05-30 16:31:21]
user_xyz - Posts: 387
The main SC and all instances including #5 all have 'use alternative window placement method' set to yes. See attached this window always appears in upper left corner on restart.
Private File
[2024-05-31 00:20:14]
Sierra_Chart Engineering - Posts: 15584
Place it on the monitor where you want but do not Maximize it. Exit from that instance of Sierra Chart and run that instance again. Does that window still display in the wrong place?
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-05-31 01:13:17]
user_xyz - Posts: 387
Yes.

The window is not maximized (actually none of mine are).
Private File
Private File
[2024-05-31 02:57:50]
Sierra_Chart Engineering - Posts: 15584
We do not know how we can help more with this. This clearly is an operating system issue.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-06-02 05:01:56]
user_xyz - Posts: 387
Understood however ran few more tests.

Closed down all Trade Windows from instance #5 saved shut down restarted. Main instance #5 window re-opened where it was as expected. Re-opened all trade windows, re-located, saved and the Trade Position window will not save in any location it defaults back to location in post #15.

Opened a new instance #6 from main and ran all the same test with the same windows and they save in the same or any location I place them, every time as all the other instances.

Defies logic this is an operating system issue singling out this one window in one instance. Is there a settings file I can delete to try and reset everything maybe it is corrupted or something?
Date Time Of Last Edit: 2024-06-02 05:02:22
[2024-06-03 22:30:34]
Sierra_Chart Engineering - Posts: 15584
This is an operating system issue. This is with certainty. Windows is full of so many problems now.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2024-06-03 22:30:45

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

Login

Login Page - Create Account