UI distorted on large screen resolution, "Home" becomes "Ho..." etc

Jun 5, 2014 at 5:29 PM
Edited Jun 5, 2014 at 5:30 PM

I found a weird problem when starting my Ribbon app, and reproduced it in the RibbonDemo project of System.Windows.Forms.Ribbon35.sln: the screen is distorted after executing the following code:

BitmapDecoder decoder = BitmapDecoder.Create(streamOriginal, createOptions, BitmapCacheOption.None);

This is the screenshot where "Return;" is inserted before the above code, everything is OK, especially the "START" tab name:

But after moving the "Return;" one line below to include the BitmapDecoder line, the screen becomes:



Everything in the UI become much smaller and what's even worse is the "START" has been changed to "STA...".

BTW, the "Screen.PrimaryScreen.WorkingArea.Size" returns the correct 1600x860 on a screen with the highest resolution of 1600x900, but returns the following wrong values on a screen with the highest resolution of 1920x1080:

Adjust screen resolution to 1280x720 -> Screen.PrimaryScreen.WorkingArea.Size returns 1280x682

1024x768 -> 1024x730

1600x900 ->1280x675

1680x1050 -> 1344x795

1920x1080 -> 1280x683

And I have verified that after the screen is distorted, the maximized window size can only be the value of Screen.PrimaryScreen.WorkingArea.Size instead of the adjusted screen resolution.

BTW, this is found on a dell tablet with 1920x1080 touch screen running Windows 8.1. No such kind of problems on other Windows 8.1 latops/PCs with screen resolution of 1600x900 and lower.

Please let me know if you need any more information.

Jan 9, 2016 at 8:37 AM
The original author has already stopped support for his own project.
but however, another group has taken project and continue to develop and provide support.
You may visit the following for lastest release: