Bug 3695 - [newresolver] Locks up on some tooltips
Summary: [newresolver] Locks up on some tooltips
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 2.9.x
Hardware: PC Linux
: High normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2012-02-29 17:25 UTC by Stephen Shaw
Modified: 2012-03-02 01:33 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
kill -QUIT pid output (12.26 KB, text/plain)
2012-02-29 17:25 UTC, Stephen Shaw
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Stephen Shaw 2012-02-29 17:25:19 UTC
Using git branch origin/newresolver updated as of today

If I start typing in the text editor:

'throw new Exception('

the tooltip appears.  I can hit the down arrow to move to '1 of 2'.  At this point it locks everything up.

I'm not sure when this happened.  I noticed it though within the last couple weeks at least.

The attached file has 2 exceptions.  I think one is for the welcome screen.  I included the entire output just in case.
Comment 1 Stephen Shaw 2012-02-29 17:25:48 UTC
Created attachment 1442 [details]
kill -QUIT pid output
Comment 2 Mike Krüger 2012-03-01 04:52:23 UTC
I added a litte patch that may help, I can't really repro it on my linux box.

But according to the thread dump it may be an infinite "resize".

Caused by code in:

monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeCompletion/ParameterInformationWindow.cs

The method in line 170
Comment 3 Mike Krüger 2012-03-01 04:53:17 UTC
btw. can you try out to update again, if that doesn't work can you add some debug code to that method - esp. which height values get calculated and what height get allocated after that ?
Comment 4 Stephen Shaw 2012-03-01 11:49:04 UTC
I updated to the latest in origin/newresolver and the problem seems to be fixed.  I noticed that the tooltips had different sizes which I wasn't seeing before.

The one issue that I've seen though is instead of starting at 1 of 3 in the case of Exception, it starts at 2 of 3.
Comment 5 Mike Krüger 2012-03-02 01:33:16 UTC
fixed.