Sticky ALT key

If reporting a bug with the Zeus IDE please post the details here. Please do not post questions here.
Post Reply
raz
Posts: 16
Joined: Wed Jan 19, 2005 3:41 pm
Location: MidWest -- USA

Sticky ALT key

Post by raz » Mon Feb 07, 2005 4:39 pm

It appears that in the latest verion (3.94 unregistered), when switching between buffers via the Brief method (ALT -, ALT n) that sometimes the
ALT key gets stuck ON. Pressing and releasing the ALT key will clear the condition, but it took me awhile to figure out what the problem was and what would fix it. (I thought it was in the proverbial weeds).

Also this latest version appears to have performance issues, perhaps a side effect of folding? When right clicking on a file tab across the top, the menu initially comes up translucent, and eventually fills in opaque, but it takes a second or two. Also a bit slow on file save and buffer switching. None of these problem appeared in the pervious version.

And now: a feature request :D with the folding (which is a very good thing) could we configure that on what we want folded (e.g., #if DEBUG / #endif , #if RAZ_FIXUP #endif )?

If I gather any more information on these issues, I will post them. Of course questions are welcome as well as polite slaps on the wrist.

raz
Posts: 16
Joined: Wed Jan 19, 2005 3:41 pm
Location: MidWest -- USA

Post by raz » Mon Feb 07, 2005 8:35 pm

The sticky behavior also applies to the CTRL key.

jussij
Site Admin
Posts: 2446
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij » Mon Feb 07, 2005 11:57 pm

Hi Raz,
The ALT key gets stuck ON. The sticky behavior also applies to the CTRL key.
Do you use keyboard/monitor switcher :?:

In the many years that I have been using Zeus I had never seen this sticky keyboard, but shortly after I started using a computer keyboard/monitor switcher I ran into this bug and this was long before the 3.94 version :(

What I noticed was the Ctrl, Alt and Shift keys can all get stuck down. I found the I had to rapidly toggle though these keys using the left hand side Ctrl/Alt and Shift keys, untill they became unstuck :)

If this describes your system then I am pretty sure this is not a Zeus bug, since I have seen the same Ctrl/Alt and Shift bug in other applications. My guess is the bug shows up more in Zeus only because Zeus makes a lot more use of these three keys :(

But if are not running a keyboard/monitor switcher then please let me know what type of system you are running. The keyboard handling code in Zeus has not change since verison 3.0, but as computers are getting faster, I guess there is always the possibility that a timing error exists in the keybaord handling code :?
Also this latest version appears to have performance issues, perhaps a side effect of folding?

In general the unregistered version is always a little slower than the registered version.

Also the new code folding feature will definitely have slowed Zeus down. This feature requires a lot parsing when the file is first opened and extra parsing when any key is pressed, so for very large files you will most probably notice a difference.
When right clicking on a file tab across the top, the menu initially comes up translucent, and eventually fills in opaque, but it takes a second or two. Also a bit slow on file save and buffer switching. None of these problem appeared in the pervious version.
I am writing this reply using the unregsitered Zeus 3.94 version Windows NT using an old Dual 266 MHz Pentium II with 256 MByte of RAM. At least for me it seems fine and I don't see any of the symptoms of slow down that you describe :(

Zeus does feel slower than when I compare it to the 2 GHz Windows XP machine, but I do not see the menu painting problem. It is slower, but it does not seem any slower than usual :)

But you can test if any of these are code folding related by renaming the xFolder.dll to xFolder.old. This will effectively remove the code folding feature entirely.
And now: a feature request [Very Happy] with the folding (which is a very good thing) could we configure that on what we want folded (e.g., #if DEBUG / #endif , #if RAZ_FIXUP #endif )?
I am not sure what type of folding feature you are describing here :?

I thought #if/#endif folding was already defined for c/c++ files. Do you want to only fold #if/#endif and nothing else or is there a file type that does not currently fold #if/#endif :?:

In desigining the code folding I realised that making the feature user configurable would require an enormous amount of configuration and this would only add another layer of complexity to the already complex Zeus configuration model. For this reason the code folding was instead made semi-configurable by moving feature out of Zeus into the xFolder.dll file.

But if you need a change made to this dll just post a mesage to the Code Folding forum.
Of course questions are welcome as well as polite slaps on the wrist.
In this instance no slap on the wrist is required :D

Cheers Jussi

raz
Posts: 16
Joined: Wed Jan 19, 2005 3:41 pm
Location: MidWest -- USA

Post by raz » Tue Feb 08, 2005 2:11 pm

I have, in fact, just started using a keyboard/monitor switcher -- the change to the new version and the addition of the KVM was nearly simultaneous... I'll blame the KVM too :)
In general the unregistered version is always a little slower than the registered version.
Good reason for me to register... However, it doesn't appear to be folding related (I renamed the dll as you suggested; the problem persists. If I can gather any more information, I'll pass it along.

As for the code folding feature request -- I'll post to the Code Folding Forum..

Thanks!

-rz.

Post Reply
kuchnie warszawa opinie

Who is online

Users browsing this forum: No registered users and 3 guests