Declined
Last Updated: 30 Apr 2019 09:52 by Dimitar
IT
Created on: 13 Mar 2019 07:35
Category: Form
Type: Bug Report
1
RadForm: Desired behaviour or Bug

Form goes under windows taskbar based on following conditions.

 

WindowState = Maximized

MinimizeBox = false

MaximizeBox = false

 

Also when there is no icon (ShowIcon = false) Form text, first letter is clipped.  

2 comments
Dimitar
Posted on: 30 Apr 2019 09:52
The part of the issue where the title bar overlaps the taskbar will be declined. 

Setting the WindowsState property with code in the form`s constructor to Maximized and at the same time, the MaximizeBox property of the form to false is not valid. The same behavior can be observed with the standard Microsoft form which will also overlap the taskbar. It is not intended to maximize the form if its MaximizeBox property is set to false, with this setup the end users is restricted and they have no UI to maximize the form. It is possible to set maximize it programmatically, however, this may lead to some undesired behavior. Yet, in the discussed scenario the form can be maximized initially if the WindowState and MaximizeBox properties are set in the Shown event:

private void RadForm1_Shown(object sender, EventArgs e)
{
    this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
    this.MinimizeBox = false;
    this.MaximizeBox = false;
}

The issue with the cut off text is logged as new on the feedback portal, here: https://feedback.telerik.com/winforms/1406413-radform-the-text-of-the-form-is-cut-off-on-the-left-side-if-the-form-is-maximized-and-the-icon-is-not-visible
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 13 Mar 2019 11:01
Hello, Mide,

I confirm that the problems you are facing are issues with RadForm. I was able to replicate the Task Bar overlapping on a Windows 10 device. However, it is not reproducible each time.

I have logged it in our feedback portal by making this thread public.You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.

I have also updated your Telerik points.

Currently, the possible solution that I can suggest is to avoid using the FormWindowState.Maximized and adjust the size of the form according to the screen dimensions. As to the title bar and the cut text, you can apply some margin on the left:

this.FormElement.TitleBar.TitlePrimitive.Margin = new Padding(10, 0, 0, 0);

 

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Attached Files: