Bug 7623 - The help crashes immediately every time i try a search
Summary: The help crashes immediately every time i try a search
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Documentation ()
Version: 4.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jérémie Laval
URL:
Depends on:
Blocks:
 
Reported: 2012-10-03 13:02 UTC by Giorgio Forti
Modified: 2012-11-16 06:29 UTC (History)
1 user (show)

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


Attachments
Image of the error i always have (187.67 KB, image/jpeg)
2012-10-03 13:02 UTC, Giorgio Forti
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 Giorgio Forti 2012-10-03 13:02:38 UTC
Created attachment 2677 [details]
Image of the error i always have

Every time i try to use the help (highlight a word and press F1) the help opens at the root, i must try a search to find something, and immediately the help crashes.
This way i have no help.
Comment 1 Mikayla Hutchinson [MSFT] 2012-10-03 15:00:42 UTC
What are the "details" of the error?
Comment 2 Giorgio Forti 2012-10-04 03:51:50 UTC
I will try to traduce ... I'm sorry for the poor english.
Hope this helph.


Unhandled exception in the application.
Click "Continua" to ignore the error and try to continue. Click "Esci" to stop application.

Error in an operation related to the view styles: No view style active.


************* Exception text **************
System.InvalidOperationException: Error in an operation related to the view styles: No view style active.
   in System.Windows.Forms.VisualStyles.VisualStyleRenderer.IsCombinationDefined(String className, Int32 part)
   in System.Windows.Forms.VisualStyles.VisualStyleRenderer..ctor(String className, Int32 part, Int32 state)
   in System.Windows.Forms.TabRenderer.InitializeRenderer(VisualStyleElement element, Int32 state)
   in System.Windows.Forms.TabRenderer.DrawTabItem(Graphics g, Rectangle bounds, String tabItemText, Font font, TabItemState state)
   in WinDoc.CustomDrawing.DrawSearchResultNodeText(Object sender, DrawTreeNodeEventArgs e)
   in System.Windows.Forms.TreeView.OnDrawNode(DrawTreeNodeEventArgs e)
   in System.Windows.Forms.TreeView.CustomDraw(Message& m)
   in System.Windows.Forms.TreeView.WmNotify(Message& m)
   in System.Windows.Forms.TreeView.WndProc(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assembly caricati **************
mscorlib
    Versione assembly: 4.0.0.0
    Versione Win32: 4.0.30319.269 (RTMGDR.030319-2600)
    Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
WinDoc
    Versione assembly: 1.0.0.0
    Versione Win32: 1.0.0.0
    Base di codice: file:///C:/Program%20Files/MonoDevelop/bin/windoc/WinDoc.exe
----------------------------------------
monodoc
    Versione assembly: 0.0.0.0
    Versione Win32: 0.0.0.0
    Base di codice: file:///C:/Program%20Files/MonoDevelop/bin/windoc/monodoc.DLL
----------------------------------------
System
    Versione assembly: 4.0.0.0
    Versione Win32: 4.0.30319.269 built by: RTMGDR
    Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Versione assembly: 4.0.0.0
    Versione Win32: 4.0.30319.233 built by: RTMGDR
    Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
    Versione assembly: 4.0.0.0
    Versione Win32: 4.0.30319.278 built by: RTMGDR
    Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Versione assembly: 4.0.0.0
    Versione Win32: 4.0.30319.282 built by: RTMGDR
    Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
    Versione assembly: 4.0.0.0
    Versione Win32: 4.0.30319.233 built by: RTMGDR
    Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mscorlib.resources
    Versione assembly: 4.0.0.0
    Versione Win32: 4.0.30319.235 (RTMGDR.030319-2300)
    Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_it_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Configuration
    Versione assembly: 4.0.0.0
    Versione Win32: 4.0.30319.1 (RTMRel.030319-0100)
    Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
pgikg03u
    Versione assembly: 4.0.0.0
    Versione Win32: 4.0.30319.269 built by: RTMGDR
    Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
htcvgfz2
    Versione assembly: 0.0.0.0
    Versione Win32: 4.0.30319.269 built by: RTMGDR
    Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ryzkg3an
    Versione assembly: 0.0.0.0
    Versione Win32: 4.0.30319.269 built by: RTMGDR
    Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ICSharpCode.SharpZipLib
    Versione assembly: 4.84.0.0
    Versione Win32: 4.84.0.0
    Base di codice: file:///C:/Program%20Files/MonoDevelop/bin/windoc/ICSharpCode.SharpZipLib.DLL
----------------------------------------
System.Data.SqlXml
    Versione assembly: 4.0.0.0
    Versione Win32: 4.0.30319.1 built by: RTMRel
    Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.SqlXml/v4.0_4.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll
----------------------------------------
System.Xml.Xsl.CompiledQuery.1
    Versione assembly: 0.0.0.0
    Versione Win32: 4.0.30319.1 built by: RTMRel
    Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.SqlXml/v4.0_4.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll
----------------------------------------
System.Windows.Forms.resources
    Versione assembly: 4.0.0.0
    Versione Win32: 4.0.30319.235 built by: RTMGDR
    Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Comment 3 Jérémie Laval 2012-11-15 11:46:25 UTC
Seems like your system doesn't support visual styles, what version of Windows do you use?
Comment 4 Giorgio Forti 2012-11-15 12:11:24 UTC
I use Windows 7 (32 bit) on a Quad Core 6600 2,4 Ghz, 3 GB RAM, completely updated with windows update.
Hardware is HP: 
http://h10025.www1.hp.com/ewfrf/wc/document?cc=it&lc=it&dlc=it&docname=c01376645.

What is a "visual style"?
Comment 5 Jérémie Laval 2012-11-15 12:54:25 UTC
Visual style are Windows equivalent of theme engines, it allows to customise how controls are drawn on the screen (color, shape, etc...).

I'll see if I can repro this error, did you by any chance force windows classic mode or anything like that for your window decorations?
Comment 6 Giorgio Forti 2012-11-15 13:03:48 UTC
Yes, I use the theme "Windows classic", and the "themes" service is disabled.
Do you think this can be the problem?
Comment 7 Jérémie Laval 2012-11-15 13:10:34 UTC
Yes, that's most definitely the problem.
Comment 8 Giorgio Forti 2012-11-15 16:29:41 UTC
Absolutely correct: enabling themes service and using Windows 7 Basic, the help finally WORKS!! Thank you Jérémie.
Unfortunately using my loved Windows Classic theme the help does not work ...
Comment 9 Jérémie Laval 2012-11-16 05:18:19 UTC
I'm afraid we won't be supporting non-theme enabled setup. The code for the browser is available on GitHub though (https://github.com/mono/mono-tools/tree/master/windoc) if you want to modify it to remove the offending calls.
Comment 10 Giorgio Forti 2012-11-16 06:29:57 UTC
Oh no, thanks, I will leave my loved windows classic and use another theme!