|
Post by George on Apr 29, 2015 15:01:32 GMT -5
Jo: Robert: OK, I've not 'found it', but I did a lot of code walking around the handling of the cursor and keyboard trap routines. There were a couple places where I noticed inconsistencies in how these are handled, so I've tidied them up to be consistent. Both these areas have to be fiddled with whenever any pop-ups are done or else the KB trap prevents the pop-ups from receiving keyboard activity. It's also involved in the tab switching, as well as focus, loss of focus, etc. areas. So, I've posted a touched up version on the web site. Since I can't duplicate this problem at will, I have no real idea whether the changes have made any difference, but I'd still appreciate it if you could give it a try. Hopefully, I've removed all my trace/debug stuff, but if a console window pops open, just ignore it and let me know what it was tracing. www.SPFLite.com/Files/SPFLite825119.EX_ Just rename to SPFLite.EXE and swap into the normal install folder. George
|
|
|
Post by Jo on Apr 30, 2015 2:05:15 GMT -5
First tests with 8.2.5119 showed no problem so far. Except for the loss of the cursor. He often disappears when entering another window (i.e. pressing F1-Help). On return to SPFLITE, the cursor is not seen, but on the correct position, so you can enter your data or command. After pressing ENTER, the cursor shows up as normal.
Jo
|
|
|
Post by drbob54 on Apr 30, 2015 12:25:36 GMT -5
George and Robert
Just popped back and found there had been some recent activity. For a while I thought I was going mad trying to work out what was wrong with my environment.
The reference in my original post to F3 (save) and F4 (end) was to highlight how I exited gracefully when the problem occurs. This would indicate the code is still running normally in the background and this is repaint issue.. When the problem occurs, and I press F4 (end) on a file that has changed spflite creates the confirmation dialog that asks whether you want to save the file. No matter what you do the dialog is not displayed. I can see dialog has been created because it appears in the Windows start menu. You can respond to the dialog by pressing the keys and or tab and enter to take the action and dismiss the dialog.
I have run with 8.0.4216 since April 2 without any problems what so ever.
I also have not been able to pin down what triggers the issue.
I have been editing some files with ~40,000 line of C++ code.
My feeling is that the problem is more likely to occur after moving/adding code within these files. I tend to cut and paste a lot.
The problem does not occur during the edit process but soon after. I would also be happy to run your temp code if that would help isolate the problem.
|
|
|
Post by nicc on Apr 30, 2015 18:32:51 GMT -5
I don't think file size is the problem - I have edited a file of 108976 lines in length. The only problem I met with that was it was ssssooooooooooo ssslllllllooooooowwwwww - over 5 minutes to flip the excluded lines. I gave up and did what I should have done in the first place - wrote a rexx program to do the necessary editing.
|
|
|
Post by drbob54 on May 1, 2015 0:06:53 GMT -5
Have upgraded to the 8.2.5119 version posted. No major problems yet. The first thing I noticed was that when I opened a file there was no cursor visible in the command area. It is positioned correctly, because commence typing a command and the text appears but still no cursor visible. If you execute command or simply hit enter (newline) the cursor magically appears. The following is 100% repeatable
1. open a new file - no cursor visible 2. use mouse to position within text near the bottom of the screen. No cursor visible but the line changes color (as expected. 3. pgdn half and the cursor appears at the roght spot.
|
|
|
Post by drbob54 on May 1, 2015 4:25:50 GMT -5
The problem just occurred on the 8.2.5119 level. Was doing nothing at the time. Left the computer for several hours. When I came back spflite was no longing refreshing the screen. Gracefully exited using f3 and f4. No pop screens.
|
|
|
Post by George on May 1, 2015 10:38:20 GMT -5
OK everyone, I wasn't around yesterday (first summer theater of the season), was out all day. Also, I have been hit with a nasty adware virus (CompareitApplication) which I'd seen in the past. It used to hook in as a Chrome extension, and could be killed by just removing the extension. But now it's gotten more sophisticated and I've no idea how it hooks in. My anti-virus (Avira) doesn't know it. Neither does MalwareBytes. Nor does StartupCop see anything added to the startup process. Lots of web sites say they know how to remove it, but none of that works. I suspect a lot of those sites are affiliated with the virus writers and just want you to install their 'fix it' tool, which will just add even more crapware.
It basically renders the browser unusable, first it starts inserting popup ads on all kinds of web pages, but always ends up with one "You have been infected with a virus page" which you cannot leave, you cannot switch tabs and cannot even close the browser other than by killing it in Task Manager.
Super nasty. So I'm now looking at restoring back in time, I just hope I haven't wasted too many days fighting this thing. Naturally, right now, SPFLite is back-burner.
George
|
|
|
Post by drbob54 on May 4, 2015 22:19:31 GMT -5
George
"Get Well Soon" viruses can be hard to shake. The good news is that the 8.2.5119 level has dramatically reduced the number occurrences of the problem. Both have occurred after a long break. Both have occurred when I do a FIND and the screen does not position at the found text.
|
|
|
Post by drbob54 on May 4, 2015 22:20:42 GMT -5
Meant to say I have only had 2 problems in 4 days as opposed to 1 every hour or so.
|
|
|
Post by George on May 5, 2015 9:35:08 GMT -5
drbob54: Good news, maybe I'm on the right track.
System status: Well, I've spent several straight days in total frustration here. First, I'd mucked about trying to remove the virus too long, and even my oldest restored system still had it. During this I discovered that my system restore settings had also been set back to 0% so basically no system restores were being kept either. Can't specifically blame that change on the virus, but it is sure suspicious.
So I figured I'd bite the bullet and rebuild the system. Turned out to be a very bad call. My 8.1 system had been created by successively updating Win7 to 8.0 and then 8.1. And since all the DVDs I have are update DVDs, you can't do a 'clean' 8.1 install. Best you can do is get to 8.0 and then use the Windows store to upgrade to 8.1. But Windows store demands an up to date 8.0 system, so it's off to Windows Update land. I tried this, got so far, and then died as Windows Update repeatedly failed, stalled, died or whatever. Twice overnight I left it 'downloading and installing' only to find in the morning that it was still just sitting there. After three attempts for this method, on Saturday before supper I broke down, went to Staples and bought a full 8.1 package, even though I have a valid 8.1 license key. $100 down the drain.
Sunday I started the install, and I ran into a problem I'd bet only 1% of you even know about. My boot drive is split into C: and D: and is partitioned with the old MBR format. After booting the install DVD it tells me it can't install to an MBR disk, only a GPT disk. And all conversion utilities that know how to convert MBR disks to GPT disks throw up their hands if one of the partitions is a system partition. Catch-22.
There is a solution, it hinges on HOW you boot the DVD, yeah, surprised me too. On some systems its a BIOS setting as to how the DVD is handled, SATA or UEFI mode, you have to boot the DVD in SATA mode and then it will install to an MBR disk.
But my BIOS had no such option. Grrr. But I stumbled on it finally, when I boot and request the menu of devices to boot from, lo and behold I had TWO entries for the DVD, the default one of UEFI mode, and way at the bottom a SATA version of the DVD.
Sheesh! But finally I have an 8.1 system installed and can slowly rebuild all the stuff on it. I'm not back to SPFLite yet, I've got just sooooo much stuff to put back.
George
|
|
|
Post by George on May 5, 2015 14:50:04 GMT -5
Robert: You wouldn't believe it, but I'm slowly putting things back, and as I do so I check to see if I have the latest version of things. Might as well install the up to date version, right?
Well, if you have/had IZArc installed, BEWARE getting the latest version. The installer prompted repeatedly to allow installation of crapware and I fastidiously made sure I replied correctly to skip them all. Fat lot of good that did! It still installed crapware galore. How shareware/freeware authors get so greedy that they allow this kind of garbage to be packaged with their software is simply unbelievable. At least MalwareBytes was able to track them all down and remove them - well I hope. Otherwise I'll have to restore yesterdays backup and basically lose today's work.
I guess now I'll have to use VirusTotal.com to verify each installer I use, what a pain. But then I should have used it on IZArc, it reported 8 of 57 AV programs failed it.
This is sooooo slow and painful. I really shouldn't have wasted so much time trying to remove the bloody virus I got, it basically aged me right through all my backups. Oh well, it showed my backup strategy wasn't up to par, so maybe I've learned a good lesson.
George
|
|
|
Post by George on May 15, 2015 10:51:43 GMT -5
OK everyone, my system is back and I've been going over and over all the places in the code where I suspect this 'going dead' problem might be. And as I've still got no repeatable method of bringing it on, this has been an exercise of 'maybe this', or 'maybe that' might be the culprit. The fact that it does respond to keyboard shortcuts to shut down point more at a display problem, so that's where I have concentrated my time. I've posted another trial version, and am asking you to give it a try and let me know if what I've done has made any effect on the incidence of this problem. www.SPFLite.com/Files/SPFLite825135.EX_ Just rename to SPFLite.EXE and swap into the normal install folder. George
|
|
|
Post by drbob54 on May 16, 2015 23:29:34 GMT -5
Have downloaded and will start testing.
Comments re 119 119 was definitely more stable. The problem definitely appears more often when using memory intensive applications such as Microsoft Visual Studio to compile & debug. I have seen Spflite simply 'disappear' in recent days. This only started occur when I went to back to some c++ development in Visual Studio. Could this indicate you are trying to access memory that has been released/overwritten.
|
|
|
Post by George on May 17, 2015 15:56:49 GMT -5
drbob54: ?? So 5119 is MORE stable than 5135? ?? Or did I misread something? As to memory access SPFLite is all PowerBasic, and does no separate memory alloc/free stuff, memory is all PB managed. And PB is pretty old and stable now, there's been no other mention of PB caused memory problems.
George
|
|
|
Post by drbob54 on May 17, 2015 22:02:59 GMT -5
5119 is more stable than 5113 and 5064 I understand that spflite was dependent on PB ... was just letting you know what I had observed.
Over the weekend I did get a chance to use 5135 a little bit. 5135 still has the following problems:
1. the cursor is not visible when you first open a file for editing. 2. the cursor disappears if you move or resize the spflite window 3. the cursor disappears when you use the file manager tabs to choose another file 4. the cursor disappears when focus returns to spflite after using application.
In all the above, the cursor is positioned correctly but just not visible. Hit [enter] and the cursor magically appears.
Using the mouse to reposition the cursor within the text does not cause the cursor become visible. Neither does typing in text. After a [Page Up] or [Page Down] the cursor appears. The function keys I tried cause the cursor to appear.
|
|