Author mode content completion, possible bug

Having trouble installing Oxygen? Got a bug to report? Post it all here.
ra0543
Posts: 80
Joined: Wed Jan 14, 2009 12:50 pm

Author mode content completion, possible bug

Post by ra0543 »

Sometimes - not often, but often enough to be really annoying - in Author mode I find there is a delay of a second or so between pressing [ENTER] and the content completion context menu appearing.

During this time any keys I press are applied to the main editing screen. For instance, if I type the first two letters of the element that I was wanting to select from the menu that I am anticipating will appear, I end up with those letters actually typed into my document, even - I think - in an element-only context in the XML document (and I have the option set to prevent typing where characters can't be entered). Weirder still is if I use the cursor keys during this period: I find that I move through my document and that when the menu does finally open I get the menu appropriate to the place where I activated it (i.e. before the cursor keys were pressed) rather than the place where the cursor has moved to; this then allows me to put elements in places where they would not be allowed by the schema.

I realise that the obvious workaround is for me to wait for the menu to appear, and that's what I do (when I remember!). But I do wonder whether there is some bug in the input-handling after the [ENTER] key has been pressed, which should be changed so that keys pressed during this interval are either stored and applied to the menu or are ignored.
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: Author mode content completion, possible bug

Post by Radu »

Hi,

Indeed we have a 100 ms delay before showing the window.
The delay seems to have been added to allow for some time to paint the Content Completion window. We'll try to remove the timer and if no side effect is seen by our testers you will not encounter this problem anymore in Oxygen 12.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
ra0543
Posts: 80
Joined: Wed Jan 14, 2009 12:50 pm

Re: Author mode content completion, possible bug

Post by ra0543 »

Could you update us? Has this in fact been changed/fixed in Oxygen 12?

Thanks
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: Author mode content completion, possible bug

Post by Radu »

Hi,

Yes, the issue is fixed in Oxygen 12.
Sorry for not updating this thread, we usually do this after an issue is verified.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply