I am using ultraToolbarMenu for ribon menu, but when I use it, at the some computer, text of tooltip of toolbarmenu is broken like "???(N)".
Also, some computer show the text of tooltip correctly, but others do not show the text of tooltip.
Does anyone know what's the matter?
Hello,
Thank you for contacting Infragistics Developer Support.
I tried to reproduce this issue using the latest service release of Vol 13.2 (13.2.20132.2016) and everything works fine on my machine. So I will need some more details in order to help you solve this issue. What is the version and the service release of our assemblies? Are you using ResourceStrings in order to translate the tooltips? Perhaps the tooltips that are shown incorrectly, because they are not translated properly. You can find more information about resource strings if you follow this link:
http://help.infragistics.com/Help/Doc/WinForms/2013.2/CLR4.0/html/Win_Customizing_Assembly_Resource_Strings.html
I would really appreciate if you can send me a sample which reproduces this issue as it would help solving this issue immensely.
I am looking forward to your reply.
I am using the service release of v13.1.20131.1001, but I don't think the problem caused by the assembly version.
For simple test, I created new project and I attached only ultraToolbarsManager and just set the property of Ribon.Visible to True.
Also, I don't use ResourceStrings.
I found out that this project works fine on my machine, but others not.
I tested it on 3 machines in order to check whether language affects or not.
I found out that Chinese language have a problem.
Do you have any idea of this? Please let me know how to solve this problem.
Thank you for the screenshots.
I tried to reproduce this setting my machine’s Regional settings to Chinese (along with several others) and using Chinese language. The tooltips were shown properly in English (they weren’t translated). Also tooltip's style and ribbon's style is slight different on your Korean, English and Chinese. On English and Chinese it seems that there is no glass supported and tooltip on Korean is VisualStudio2005 style and on Chinese is Office2007 style. So could you please provide me your sample with which you are able to reproduce this (and have run on English, Korean and Chinese) and also please let me know if on Chinese, except the language, you have set other OS settings like theme and etc. Please provide me with this information and I will be glad to continue investigating this issue.
I am looking forward for your reply.
This is the sample code that I tested and I used the same code form three different OS environment such as Engnlish, Korean, and Chinese.
public class Form1 : Form { public Form1() { InitializeComponent(); }
private System.ComponentModel.IContainer components = null;
protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components); this.Form1_Fill_Panel = new Infragistics.Win.Misc.UltraPanel(); this._Form1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea(); this._Form1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea(); this._Form1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea(); this._Form1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea(); ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit(); this.Form1_Fill_Panel.SuspendLayout(); this.SuspendLayout();
this.ultraToolbarsManager1.DesignerFlags = 1; this.ultraToolbarsManager1.DockWithinContainer = this; this.ultraToolbarsManager1.DockWithinContainerBaseType = typeof(System.Windows.Forms.Form); this.ultraToolbarsManager1.Office2007UICompatibility = false; this.ultraToolbarsManager1.Ribbon.Visible = true; this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.Office2007;
this.Form1_Fill_Panel.Cursor = System.Windows.Forms.Cursors.Default; this.Form1_Fill_Panel.Dock = System.Windows.Forms.DockStyle.Fill; this.Form1_Fill_Panel.Location = new System.Drawing.Point(8, 55); this.Form1_Fill_Panel.Name = "Form1_Fill_Panel"; this.Form1_Fill_Panel.Size = new System.Drawing.Size(712, 419); this.Form1_Fill_Panel.TabIndex = 0;
this._Form1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this._Form1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255))))); this._Form1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left; this._Form1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText; this._Form1_Toolbars_Dock_Area_Left.InitialResizeAreaExtent = 8; this._Form1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 55); this._Form1_Toolbars_Dock_Area_Left.Name = "_Form1_Toolbars_Dock_Area_Left"; this._Form1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(8, 419); this._Form1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
this._Form1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this._Form1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255))))); this._Form1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right; this._Form1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText; this._Form1_Toolbars_Dock_Area_Right.InitialResizeAreaExtent = 8; this._Form1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(720, 55); this._Form1_Toolbars_Dock_Area_Right.Name = "_Form1_Toolbars_Dock_Area_Right"; this._Form1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(8, 419); this._Form1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
this._Form1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this._Form1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255))))); this._Form1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top; this._Form1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText; this._Form1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0); this._Form1_Toolbars_Dock_Area_Top.Name = "_Form1_Toolbars_Dock_Area_Top"; this._Form1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(728, 55); this._Form1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
this._Form1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this._Form1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255))))); this._Form1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom; this._Form1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText; this._Form1_Toolbars_Dock_Area_Bottom.InitialResizeAreaExtent = 8; this._Form1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 474); this._Form1_Toolbars_Dock_Area_Bottom.Name = "_Form1_Toolbars_Dock_Area_Bottom"; this._Form1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(728, 8); this._Form1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(728, 482); this.Controls.Add(this.Form1_Fill_Panel); this.Controls.Add(this._Form1_Toolbars_Dock_Area_Left); this.Controls.Add(this._Form1_Toolbars_Dock_Area_Right); this.Controls.Add(this._Form1_Toolbars_Dock_Area_Bottom); this.Controls.Add(this._Form1_Toolbars_Dock_Area_Top); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit(); this.Form1_Fill_Panel.ResumeLayout(false); this.ResumeLayout(false); }
private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1; private Infragistics.Win.Misc.UltraPanel Form1_Fill_Panel; private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _Form1_Toolbars_Dock_Area_Left; private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _Form1_Toolbars_Dock_Area_Right; private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _Form1_Toolbars_Dock_Area_Bottom; private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _Form1_Toolbars_Dock_Area_Top; }
Hello ,
Thank you for the provided code snipped, based on it I have implemented simple sample in order to reproduce your issue. I would like to ask you to run this sample on your machine with Chinese environment and check if the tooltip appear when IsGlassSupported is on/ off. Please run the sample and check IsGlassSupported check box (resize the form in order to force drawing and applying of the property) and let me know how the tooltip was drawn. Then do the same when IsGlassSupported is unchecked (resize the form in order to force drawing and applying of the property). If you are able to capture a video of this test it would be great.
I am waiting for your feedback.
I am sorry that I can't send a video.
I run the sample you gave me.
After unchecking the IsGlassSupported checkbox, the tooltip does not appear.
But, after checking it again, the tooltip appear again.
I am just checking about the progress of this issue. Let me know if you need my further assistance on this issue.
Thank you for using Infragistics Components.
The designer of Hristo’s sample uses the same code as the one you have provided you and from your response seems that the issue is not present with it. We also tested the sample under Chinese windows and we also couldn’t reproduce the issue. From our test it seems that there are no tooltips with IsGlassSupported set to true and the proper tooltips with IsGlassSupported. If you are not using ResourceStrings, there might be UIElementCreationFilter in your sample. This filter allows you to add custom tooltips to elements. We have managed to implement a sample which uses UIElementCreation filter to show the tooltips when you are the application is being run in a Chinese environment. I have attached the sample. Please run it under Chinese environment and inform us about the results. You may also use this sample as a workaround to your issue. Please note that we don’t speak Chinese so the translation may be wrong.
Alternatively you may want to set the IsGlassSupported property of the toolbar manager to true and that should fix the issue as the application will use the default windows tooltips.
If I set the IsGlassSupported property to true, tooltip has no problem, but if I set to false, it does not appear.
You said that I modify Hristo's sample, but I do not understand what I should modify.
Please let me know more details.
Thank you for the response.
How did the tooltip appear with the IsGlassSupported property set to true? Was it normal or was it unreadable? IsGlassSupported gets or sets whether the glass should be extended automatically into a containing form. So if it is set to true it should use the Form's tooltips. If it is set to false it uses tooltips from the toolbars manager. In Chinese environment it seems that those tooltips are not shown at all. So I assume that you have use IUIElementCreationFilter in order to display those tooltips. Please modify Hristo’s sample so it reproduces your issue and I will be glad to further investigate this issue.
I am looking forward to your response.