Page 1 of 1

C Program Screen not showing keyword drop down lists or function tips

Posted: Sat Dec 22, 2018 10:46 pm
by HowHardCanItBe
Was working (v4.34), then disappeared. Tried v4.35a - no joy.

Re: C Program Screen not showing keyword drop down lists or function tips

Posted: Sun Dec 23, 2018 12:57 am
by TomKerekes
Its seems to work fine for me and I haven't heard of any such issue.

Did you change anything? Anything unusual about your system?

Re: C Program Screen not showing keyword drop down lists or function tips

Posted: Sun Dec 23, 2018 12:56 pm
by HowHardCanItBe
Win10 Home Insider Preview, 64-bit, v1809, Build 18305.1003 (updated afterwards - don't remember prior build #.)
MS .NET Framework;
Multi-Targeting Pack / Targeting Pack; 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2
SDK; 4.5.1, 4.6, 4.6.1, 4.6.2
MS Visual C++ Redistributable (x64 & x86); 2005, 2008 , 2010, 2012, 2013, 2017
MS SQL Server; 2008, 2012, 2014, 2016, 2017, Compact 4.0, Data Tools
i7 2.5GHz, 8 GB RAM.

Is there anything it needs installed?

Re: C Program Screen not showing keyword drop down lists or function tips

Posted: Sun Dec 23, 2018 4:18 pm
by TomKerekes
Hi HowHardCanItBe,

.NET shouldn't matter as KMotion.exe is an MFC program not a .NET program.

KMotion.exe is a 32 bit program. The auto complete function is part of the open source edit control called Scintilla (\KMotion\Release\SciLexer.dll). Maybe there is a conflict on your computer. You might rename the file and verify you get an error to show that is the file being used.

V4.34 and V4.35a are built with VS2015. You might try removing the 2017 Redistributables and installing 2015. The 2015 Redistribtables are included in the install root as: NDP462-KB3151800-x86-x64-AllOS-ENU.exe.

Windows Insider Preview might have a bug. Can you try on a different computer?

What exactly are you doing to test?

Re: C Program Screen not showing keyword drop down lists or function tips

Posted: Mon Dec 24, 2018 10:16 pm
by HowHardCanItBe
Thanks again for your awesome support. Your relentless responsiveness is amazing!

Here's an update;
1) Tried renaming KMotion.exe (v4.35a), but got same results (no drop downs or tips in C Program Screen). Regret not trying that with v4.34 (prior to my next step).
2) Uninstalled the Microsoft Visual C++ 2017 Redistributables, but couldn't install the 2015 Redistributables using your file (NDP462-KB3151800-x86-x64-AllOS-ENU.exe). Win10 reports (via a Microsoft .NET 2015 dialog box);
"Your installation will not occur. See below for reasons why.
.NET Framework 4.6.2 or a later update is already installed on this computer.
"
Not much help from Uncle Bill; https://docs.microsoft.com/en-us/dotnet ... tallations (TL;DR "No action necessary.)
3) Removed every app possible from laptop (I was overdue so a good thing). Reboot, reinstall v4.35a (which successfully installed MS Visual C++ 2015 Redistributable (x64) and (x86)), but alas still no drop down list or function tip visible in C Program Screen.
4) Then I noticed the drop down was there (perhaps it was there all along), but it was on a different monitor. In the attached snip (which is across two monitors, vertically stacked - red line is monitor boundary), you can see it superimposed on the Title bar of MS OneNote (which was full screen on monitor 1). When your C Program Screen was moved to the primary monitor (#1 below), all is well.

Perhaps just an edge case (or something unique to my environment), but FYI.

Seems like the Scintilla project has seen this before;
#744 Autocomplete list only displays on primary monitor. https://sourceforge.net/p/scintilla/bugs/744/
#745 Autocomplete list only displays on primary monitor. https://sourceforge.net/p/scintilla/bugs/745/
#1920 GTK: incorrect popup placement on secondary monitors. https://sourceforge.net/p/scintilla/bugs/1920/