V11: PLD writes strange characters when using Alt+ and Alt+ to navigate

Claus Pedersen

Member³
When using Alt+ and Alt+ to do 'browser style' navigation between windows, strange characters are written to the files being edited.

When you do not notice the characters written by PLD and just saves the file, false data is written to the file when saved. This may lead to most unwanted results.

Steps to reproduce:
Open two new windows. e.g. a test window and an SQL window. The SQL window is currently active. The Navigate Back icon with the green left arrow is enabled (i.e., I can navigate back to the test window).
I press Alt+ to navigate back to the test window. When I release the Alt key after navigation, a '?' is printed in the test window. WHAT?
The Navigate forward icon (green right arrow) is enabled, but the drop down list is empty.
If I press Alt and two times , PLD writes 'B'. If I press Alt and three times , a 'U' with an "umlaut" (German style Y) is written. Depending of the number of times I press and or , all types of characters are written.

How do I disable 'browser style' navigation in PLD? Of course, I do not want PLD to mess up my program/command files.

I could of course just avoid using Alt-Right and Alt-Left, but I sometimes hit them instead of Ctrl-Right and Ctrl-Left which I use a lot to navigate in code.
 
I cannot reproduce this. Navigation with Alt-Left and Alt-Right never inserts anything in an editor for me. We'll investigate though.

To disable this feature or assign different keys, go to Tools > Preferences > User Interface / Key Configuration and change the keys for Editor: Navigate back and Editor: Navigate Forward.
 
I have installed PLD version 11 on a new virtual machine (VMware player) running Windows 7 proff., SP 1, and the problem is the same.

I have now disabled keyboard shortcuts for navigate back and navigate forward and this of course gets rid of the erroneous characters in the editors.

But when I use the drop down list on the icons for navigate back and forward and select an item in the list I get the run-time error:

List index out of bounds (-1).

Please try again to reproduce and fix these errors (PLD writing erroneous characters and creating run-time error).

Resulting elf file will be sent to support.
 
I could reproduce this bug, when i tried to navigate twice further then it was able in the "navigation save list".

Example:

- Open PSD
- Open only one SQL Window

- Type "SELECT SYSDATE FROM dual".
- Hold Alt
- Type Twice
- Release Alt

=> "SELECT SYSDATE FROM dualB"

- Type "SELECT SYSDATE FROM dual".
- Hold Alt
- Type Twice
- Release Alt

=> "SELECT SYSDATE FROM dualB,"

 
I can reproduce it also with PLD 11 Beta (Build 1760).

- Open a SQL Window
- Hold Alt
- Now Press the right or left arrow a couple of times. The amount and combination defines the character that is added...

This could be real cool feature or easter egg ;-)
 
I can reproduce this in Build 1760 as well using Roeland's steps. Releasing Alt makes the character appear.
 
Update: it seems that shortcut keys involving Alt + the 4 arrow keys or PgUp or PgDn keys will cause this error. Other combinations of the Alt key + other keys does not cause the error. Also, combinations like Shift+Alt+Left or Ctrl+Alt+Right will not cause the error.

Hope this can help the developers find a stable solution to the problem.
 
Version 11.01 update:

Alt+ and Alt+ keys can now be used without problems.

The Navigate forward drop down list is still empty. I can not get it to show anything. The navigate backward drop down works as expected
 
Back
Top