0
Pas un bug

rotate viewport issue

Jim il y a 7 ans mis à jour il y a 7 ans 2

I attempted to perform a Rotate Viewport operation, and received an error suggesting "target height" is greater than the maximum allowed.  My physical screens are 1600x900, and the viewport I was attempting to view/rotate 768x1024.  Here is a link to the specifications.

Solution

Solution
Pas un bug

Hi Jim,


You tried to "rotate" the viewport to a height of 1024px while your screen only had 900px, which resulted in the error you mention. This is because the OS doesn't allow a window to be taller than the maximum screen height.

I know the error message is not clear enough and I'll try to find better wording for it, but, as suggested in that message, the solution in your situation is to zoom out the page to something like 75%, resize the viewport again to 1024x768 an then use the rotate tool again.

Zooming out is equivalent to changing the DPR (devicePixelRatio), which means that for a 75% zoom you get a 0.75 DPR (or 1.5, if your Mac has a retina display), resulting in a greater amount of CSS pixels displayed on the same amount of physical pixels. More exactly, for a 75% zoom you'll get 1024 CSS pixels rendered as 768px on your screen.


I hope this makes sense!



Best Regards,


Ionut

Solution
Pas un bug

Hi Jim,


You tried to "rotate" the viewport to a height of 1024px while your screen only had 900px, which resulted in the error you mention. This is because the OS doesn't allow a window to be taller than the maximum screen height.

I know the error message is not clear enough and I'll try to find better wording for it, but, as suggested in that message, the solution in your situation is to zoom out the page to something like 75%, resize the viewport again to 1024x768 an then use the rotate tool again.

Zooming out is equivalent to changing the DPR (devicePixelRatio), which means that for a 75% zoom you get a 0.75 DPR (or 1.5, if your Mac has a retina display), resulting in a greater amount of CSS pixels displayed on the same amount of physical pixels. More exactly, for a 75% zoom you'll get 1024 CSS pixels rendered as 768px on your screen.


I hope this makes sense!



Best Regards,


Ionut

Thanks for the reply, and info.  I will use your zoom recommendations.  BTW it is a great product, and have used it for quite some time.  Thanks for the development efforts.