microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
110.3k stars 6.49k forks source link

Added the ability to rotate a window #17463

Closed BAYUNZIYUE closed 1 year ago

BAYUNZIYUE commented 2 years ago

Description of the new feature / enhancement

通过类似始终置顶的模式 让某个窗口可以旋转+90° -90° 180°然后显示

Scenario when this would be used?

想要单独旋转某个窗口的内容并不旋转整个显示器,可以通过直接旋转窗口来增加这个功能

Supporting information

No response

Jay-o-Way commented 2 years ago

Added the function of rotating the content of the window

Description of the new feature / enhancement Through a mode like always on top, a window can be rotated +90° -90° 180° and then displayed

Scenario when this would be used? If you want to rotate the content of a window independently without rotating the entire display, you can add this function by directly rotating the window.

Jay-o-Way commented 2 years ago

Hi. Can you explain a bit more about the why and when?

BAYUNZIYUE commented 2 years ago

你好。您能解释一下为什么以及何时吗?

例如在某些网页视频中 拍摄者上传的视频内容是倾斜的 若该网页播放器并不支持旋转视频,且并没有拓展插件可以支持此网站时,此时我们可以通过旋转整个窗口内容达到矫正画面内容的目的。
在另一些情况下,例如部分Android移植到windows的软件,像musedash    我们可以通过旋转内容而不是旋转整个Windows显示方向,以不影响鼠标控制方向的情况下去使用旋转后的程序的功能,从而更好的使用它,   针对这种移植类型的程序来说,这个功能从某种情况下是必要的,针对移动设备设计的ui有时候需要旋转界面才能正常使用,此时若旋转windows的显示方向会一并更改鼠标的控制方向,这种操作方法非常让人恼火,如果让某个窗口可以旋转+90° -90° 180°然后显示,此时不用改变其他程序的操作方式 仅仅需要对单个应用程序旋转 避免了单独适配应用的繁琐与不可重复性 也使得部分应用在windows上的易用性更高
BAYUNZIYUE commented 2 years ago

你好。您能解释一下为什么以及何时吗?

我已经尝试在github寻找类似功能的程序 不过能力有限并没有搜索到相关应用 如果可以的话希望Microsoft社区的开发者可以在powertoys里添加这种功能

Jay-o-Way commented 2 years ago

(translation) For example, in some webpage videos, the video content uploaded by the photographer is tilted. If the webpage player does not support rotating video and there is no extension plug-in to support this website, we can correct the picture by rotating the entire window content. the purpose of the content. In other cases, such as some software from Android ported to Windows, like musedash, we can use the function of the rotated program without affecting the mouse control direction by rotating the content instead of rotating the entire Windows display direction, so that it is better use it,

smoke7414 commented 2 years ago

我很需要这个功能,我在网上搜索了,没有人开发这类软件,我找了好久都没找到,直到我进入这个页面,我还以为已经开发好了,然后我安装了PowerToys,结果我只能使用置顶,没法旋转,希望有人能开发一下呀,拜托了

crutkas commented 1 year ago

I did a quick look at the chrome / edge extension stores and there are things that can do just this.

Why wouldn't something like that work? /needinfo

ghost commented 1 year ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

Rybec commented 20 hours ago

Ok, so I found this issue looking for a way to do this, because I have a specific use case I need it for:

I have my screen setup with Fancy Zones, so that the browser takes up approximately a 4:3 aspect ratio area of my screen on the left side, leaving a narrow sidebar area on the right (1080p screen so 16:9 aspect ratio). On the "sidebar" area I have some terminal windows, one for work stuff, and one with Python (I use it as my calculator and always have it open). Anyhow, the terminal I have for work stuff is too narrow (roughly 53 characters wide). What would be really cool is if I was able to keep the Python window approximately square, at the bottom of the "sidebar" area, and then display the work terminal window rotated 90 degrees clockwise, so that I can increase the width to take up all of the remaining vertical space. This would allow me to maximize screen space utility, even when some of my windows have minimum size needs in a specific dimension.

Anyhow, just a thought. I'll look around to see if there are other ways of achieving this, but it would be much nicer if it was a Power Toys feature, so I don't have to install anything new.

Rybec commented 20 hours ago

It does not look like there is currently any other tool for doing this. So this is a potential need that has no existing solution.