Completion list will stay open when moving/resizing application window.

SyntaxEditor for WPF Forum

Posted 11 years ago by Timo Emondts
Version: 13.1.0581
Platform: .NET 4.5
Environment: Windows 7 (64-bit)
Avatar

 This issue can be seen in the SampleBrowser, SyntaxEditor GettingStarted Examples 10 and 11.

As an image is more meaningful, have a look at this screenshot showing that the completion list is misarranged due to not being closed on moving/resizing application window. Same is true for the parameter info tooltip.

In these cases, the syntax editor will not lose focus or keyboard focus. Obviously, other notifications, like SelectionChanged and similar, are not called either. For that reason, the completion list will not be automatically closed. Furthermore, I can't cancel auto complete manually.

Only way I yet figured out is hooking to any events which will occur in these instances, i.e. OnSizeChanged and OnMouseDown events of the root visual element. This, however, is rather a workaround than a true fix.

Comments (1)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Timo,

At the current time we don't attach to any ancestor Window or Popup to know when something is moved.  I'll make sure there is a TODO item about this.

If you do attach to your Window's events for those sorts of things, you can call editor.IntelliPrompt.RepositionalAll() to tell the sessions to reposition.  Or you can call CloseAllSessions() instead to close them all.


Actipro Software Support

The latest build of this product (v24.1.2) was released 9 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.