Bug 34759 - Quick Fix no longer available
Summary: Quick Fix no longer available
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 5.10 (C6SR3)
Hardware: PC Windows
: High major
Target Milestone: 5.10 (C6)
Assignee: Cody Russell
URL:
Depends on:
Blocks:
 
Reported: 2015-10-12 09:53 UTC by William
Modified: 2015-10-28 06:50 UTC (History)
5 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:
VERIFIED FIXED

Description William 2015-10-12 09:53:55 UTC
Quick Fix context menu option no longer appears.

I try both using the keyboard shortcut (ctrl + . for me) and also hovering over it with the mouse.

Neither produces any results.

Log has an error:

ERROR [2015-10-12 08:48:31Z]: Error while context menu popup.
System.NullReferenceException: Object reference not set to an instance of an
object.
   at Mono.TextEditor.GtkWorkarounds.ShowContextMenu(Menu menu, Widget parent,
EventButton evt, Rectangle caret)
   at MonoDevelop.CodeActions.CodeActionEditorExtension.ShowFixesMenu(Widget
parent, Rectangle evt, FixMenuDescriptor entrySet)

Similar to https://bugzilla.xamarin.com/show_bug.cgi?id=34452, however, 
this is with Windows, and I see no option at all whereas that error seems to 
show the option but then not execute it.
Comment 1 Mohit Kheterpal 2015-10-13 11:46:47 UTC
Yes, I am able to reproduce this issue on windows with XS 5.10.0.815 and observed that its regression from the last stable build of XS 5.9.7.22.

I am also getting same error in IDE logs mentioned in comment #0.

Hence marking it as confirmed.
Comment 2 Mohit Kheterpal 2015-10-13 11:53:38 UTC
IDE Logs for comment 1 : https://gist.github.com/Parmendrak/4f2eb5498fe80c36948a
Comment 3 William 2015-10-15 10:38:55 UTC
Btw, for anyone out there using Windows and looking for access to this via the keyboard, you can still use shift+F10 to bring up the full context menu which has the Refactor/Fix options at the top.
Comment 4 Cody Russell 2015-10-19 09:54:46 UTC
https://github.com/mono/monodevelop/pull/1101
Comment 6 xamarin-release-manager 2015-10-22 18:23:57 UTC
Fixed in version 5.10.0.848 (cycle6)

Author: Cody Russell
Commit: 92330ac56c02309536e03233576422b9fe93f04b (mono/monodevelop)
Comment 7 Udham Singh 2015-10-28 06:50:23 UTC
I have checked this issue with latest cycle6 lane builds and observed that the
fix this issue has been merged with Cycle6 lane builds.

Environment Info : https://gist.github.com/Udham1/21706247bff5ecc312bd

Thanks!