Bug 2625 - [AppCrash] Right clicking in Text editor and releasing in Toolbar causes MonoDevelop to crash
Summary: [AppCrash] Right clicking in Text editor and releasing in Toolbar causes Mono...
Status: RESOLVED NORESPONSE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: unspecified
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2011-12-23 10:59 UTC by Eric Beisecker
Modified: 2016-10-18 12:06 UTC (History)
4 users (show)

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

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 NORESPONSE

Description Eric Beisecker 2011-12-23 10:59:57 UTC
Current Behavior: Beginning a right click in the text editor region and then releasing the right click in the tool bar causes Monodevelop to crash

Expected Behavior: Releasing a right click in the toolbar should not cause the application to crash.

To Reproduce: http://www.screencast.com/t/rqYNoAw0kiZ

StackTrace:

System.ArgumentException: invalid location: [DocumentLocation: Line=0, Column=0]
  at Mono.TextEditor.Caret.set_Location (DocumentLocation value) [0x00061] in /private/tmp/source/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/Caret.cs:86 
  at Mono.TextEditor.TextEditor.DoClickedPopupMenu (Gdk.EventButton e) [0x00057] in /private/tmp/source/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/TextEditor.cs:981 
  at Mono.TextEditor.TextEditor.OnButtonReleaseEvent (Gdk.EventButton e) [0x0001c] in /private/tmp/source/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/TextEditor.cs:1034 
  at Gtk.Widget.buttonreleaseevent_cb (IntPtr widget, IntPtr evnt) [0x00000] in <filename unknown>:0
Comment 1 Eric Beisecker 2011-12-23 11:00:49 UTC
Versions: 

MonoDevelop: 2.8.5
Mono: 2.10.8
Comment 2 Eric Beisecker 2011-12-23 11:09:12 UTC
Gaahh, Copy+Paste Fail: The Screencast can be found here: http://www.screencast.com/t/LkviTV5a
Comment 3 Mikayla Hutchinson [MSFT] 2011-12-23 18:20:21 UTC
Does this happen with the new GTK? It looks like the mouse release event is being delivered to the wrong widget.
Comment 4 Miguel de Icaza [MSFT] 2012-04-24 12:27:18 UTC
Eric, can you reproduce with the latest version?
Comment 5 Eric Beisecker 2012-04-24 13:39:21 UTC
This issue still exists in MonoDevelop 2.9.5 and Mono 2.10.9 (tarball Tue Apr 17)
Comment 6 Marius Ungureanu 2013-11-24 12:18:34 UTC
Does this bug still occur?
Comment 7 iain 2016-10-18 12:06:16 UTC
We have not received the requested information. If you are still experiencing this issue please provide all the requested information and re-open the bug report. Thanks