OmniTrader Professional Forum OmniTrader Professional Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


  Current location        Thread information  
OmniTrader Professional Forum
OmniTrader Pro General Discussion
OT 2020 pr 2F rebuilds a lot ...
Last Activity 6/18/2025 7:38 AM
10 replies, 719 viewings

Jump to page : 1
Now viewing page 1 [25 messages per page]
 
back reply
Printer friendly version

^ Top
Jim Dean

Sage
2000100010010010010025
Posts: 3433

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : OT 2020 pr 2F rebuilds a lot ...
Posted : 2/11/2020 2:11 PM
Post #30816

When I installed 2F just now, I immediately noticed three things that surprised me:

1. After the installation was successfully complete, and I clicked on the icon to start OT2020, the Windows popup requesting permission to run OT popped up. That's normal for "installation" programs ... but I don't ever recall seeing it for instantiations of OT itself, post-installation. Implies that something in the Registry changed, I suspect.

Barry, could you please look into this?

2. During that same initial run of OT20pr2F, it took a long time to start ... the progress bar indicated long pauses as all the projects in my OLang VBA folder were being recompiled. OT20 is supposed to be smart enough NOT to arbitrarily recompile routines unless they've been altered ... and I had not altered anything since the last OT20 startup. This might imply that the API itself has changed in 2F, much like the change that takes place between release-years (which forces DLL's to be recompiled).

Barry, could you look into this please?

3. Once the startup was complete, all of my detailed rearrangements of the Toolbar icons around the edges of the window had been lost and the toolbars reverted to the original configuration. The rearranged pattern *had* been LOCKED. I have never seen this happen when a pre-release was loaded ... only when a totally new annual version is installed ... which seems to support my API comments in #2.

Barry, please explain why my toolbars were lost.

Finally, please notify all of us of what other behind-the-scenes "surgery" might have taken place with the installation of this PR.

[Edited by Jim Dean on 2/11/2020 2:33 PM]

^ Top
Jim Dean

Sage
2000100010010010010025
Posts: 3433

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: OT 2020 pr 2F rebuilds a lot ...
Posted : 2/11/2020 2:18 PM
Post #30817 - In reply to #30816

Followup ...

When I shut down and restart OT20pr2F ... the popup I mentioned in #1 above reappears again and again. This most definitely has never happened before. WHen I open OT19 or OT18 on the same machine, it does not happen. And it had not been happening in OT20pr2E.

I cannot provide a snapshot of this popup since it greys out the display and does not permit the Snagit PrtScrn hotkey to utilize screen capture.
^ Top
Barry Cohen

Idol
2000100100100
Posts: 2309

Joined: 1/1/1900

User Profile
 
Subject : RE: OT 2020 pr 2F rebuilds a lot ...
Posted : 2/11/2020 2:32 PM
Post #30818 - In reply to #30816

1. Nothing has changed there is a very long time. When OT or a PR is installed it is set to Run as Admin. That's what causes the permission popup. You can disable Run as Admin if you like or reduce your UAC Windows settings.

2. Nothing has changed there either since R1. I think it has to do one full recompile on first startup after a PR has been installed.

3. What PR were you on before you loaded 2F? Your toolbar configuration should never reset like that, but I might know a possible explanation if you skipped 2D & 2E. There would be no solution other than to reconfigure your toolbars, though it shouldn't happen again.


Finally, please notify all of us of what other behind-the-scenes "surgery" might have taken place with the installation of this PR.


There's nothing to tell. 2F is a pretty light PR with no major changes.
^ Top
Jim Dean

Sage
2000100010010010010025
Posts: 3433

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: OT 2020 pr 2F rebuilds a lot ...
Posted : 2/11/2020 2:37 PM
Post #30819 - In reply to #30818

I was using OT20 pr2E prior to installing 2F.

I realize that the toolbars are not supposed to be rearranged ... but the fact is, they have been. Please explain why.

The popup "permissions" screen just to run OT continues to appear after every restart of it. I have not changed anything in my Admin permissions since prior to installing it. And, as I said, when I start OT19 or OT18, that popup does NOT appear.

The long recompile of VBA projects also occurs with every fresh restart of OT20pr2F.

And btw ... I am running Win10 build 1909, which is the latest release, and which included updates to Framework as well, fwiw.

So ... has anyone else experienced any of these issues?



[Edited by Jim Dean on 2/11/2020 2:40 PM]

^ Top
Barry Cohen

Idol
2000100100100
Posts: 2309

Joined: 1/1/1900

User Profile
 
Subject : RE: OT 2020 pr 2F rebuilds a lot ...
Posted : 2/11/2020 2:52 PM
Post #30820 - In reply to #30819

Your toolbar configuration is stored in OT.otd in the OT2020 folder. The only way I know the toolbar configuration could've changed is if that file was replaced or updated in some way, or if you clicked View -> Reset Toolbars to Default.

Check to see if OT2020 is set to Run as Admin. If it is, try disabling it.

^ Top
Jim Dean

Sage
2000100010010010010025
Posts: 3433

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: OT 2020 pr 2F rebuilds a lot ...
Posted : 2/11/2020 3:01 PM
Post #30822 - In reply to #30820

Aha. #2 is solved ...

I discovered the reason for the long compile time at startup. I had recently arbitrarily copied the Rising Stop code repeatedly, to test the issues with the OLang editor. I'd forgotten to delete the replications, so that compile was failing. There was NO MESSAGE during startup that a failure had occurred ... I'm mystified as to why, with all the recent compilation improvements, OT still doesn't popup a warning about failed compiles.

Fixed. Now, OT restarts are nice and quick ... except for the spurious permission popup which still appears.

And btw ... that is the ONLY thing I'd messed with recently ... I'm still waiting for someone to figure out why the OLang Editor is messed up, which is preventing me from working.

[Edited by Jim Dean on 2/11/2020 3:04 PM]

^ Top
Jim Dean

Sage
2000100010010010010025
Posts: 3433

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: OT 2020 pr 2F rebuilds a lot ...
Posted : 2/11/2020 3:12 PM
Post #30823 - In reply to #30822

Barry:

I did not modify OT.otd in any way, and I definitely didn't click Reset Toolbars (either would have wiped a lot of setup time). OT.otd is dated 2/11/20 in file explorer. There is no "old" copy of OT.otd to be seen.

I don't know how to check if OT2020 is set to Run as Admin ... I recently updated from Win7 to Win10. I definitely didn't change those permissions manually. It appears that the 2F install did.

Barry: Please provide instructions as to how to modify OT2020's Admin permissions, without affecting all the other programs on my PC.

The User Account Control Settings popup has four "levels" between Always Notify = 4 and Never Notify = 1. The current setting is 3. There doesn't seem to be a way to modify it for specific routines, and since this used to work fine for OT20, and still works fine for earlier OT's (and other programs), I don't want to loosen it universally.
^ Top
Barry Cohen

Idol
2000100100100
Posts: 2309

Joined: 1/1/1900

User Profile
 
Subject : RE: OT 2020 pr 2F rebuilds a lot ...
Posted : 2/11/2020 3:33 PM
Post #30824 - In reply to #30823

Regarding the toolbars, I have no explanation. It's very strange that this happened to you.

UAC in Windows is global, there isn't a way to set UAC for specific applications.

Right-click the OT shortcut on your desktop & select Properties & click the Compatibility tab. There you can disable Run as Admin.

^ Top
Jim Dean

Sage
2000100010010010010025
Posts: 3433

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: OT 2020 pr 2F rebuilds a lot ...
Posted : 2/11/2020 3:42 PM
Post #30825 - In reply to #30824

Thanks! Using your instructions, I found the Admin mode was turned on, and I unchecked the box to turn it off. Now, the annoying confirmation-popup is gone.

I don't know how that got set. Maybe when the Dell tech was trying to help me fix the OLang Editor problem, they remote-control changed it and forgot to change it back.

They did not however mess with anything at all in the Nirvana folders, so the toolbar rearrangement remains a mystery.

I'll rebuild the toolbars again and save OT.otd for grins after I do it.

Thanks for helping!
^ Top
Jim Dean

Sage
2000100010010010010025
Posts: 3433

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: OT 2020 pr 2F rebuilds a lot ...
Posted : 2/11/2020 3:52 PM
Post #30826 - In reply to #30816

whaaaat?

apparently, when it's running in Admin mode, the OT.otd file is different than when it's running in non-Admin mode, because ...

now that the Run as Admin is not checked, all my toolbar revisions have magically reappeared!

The weird thing is that I am signed in to Windows using my normal account, which afaik *is* the Admin account.

So, again thanks, Barry ... that one checkbox fixed both the toolbar and the permission popup issues.

Is there some chance that y'all will add a popup that appears during OT startup, reporting what "projects" failed to compile, if any, once that process is finished? Seems like that might be helpful for a lot of situations.
^ Top
Barry Cohen

Idol
2000100100100
Posts: 2309

Joined: 1/1/1900

User Profile
 
Subject : RE: OT 2020 pr 2F rebuilds a lot ...
Posted : 2/11/2020 4:09 PM
Post #30827 - In reply to #30826

Ahh ok, I guess when run as admin was enabled it began using a new version of OT.otd which would return the default toolbar configuration. I admit I've never seen that before. Still strange to me, but I'm glad your toolbars came back as a result.

We discussed improving the failed compiling messages on startup for 2020, but there wasn't time to get to it, so it remains unchanged from 2019. It's still something we'd like to do, but I don't know if it will get prioritized anytime soon.
Jump to page : 1
Now viewing page 1 [25 messages per page]
back reply

Legend    Action      Notification  
Administrator
Forum Moderator
Registered User
Unregistered User
E-Mail this thread to a friend
Toggle e-mail notification


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.