如何防止在Windows上最大化时调整VSCode窗口大小

huangapple go评论49阅读模式
英文:

VSCode: How to prevent window resize when maximized (Windows)

问题

我注意到当我将VSCode最大化时(注意:不是全屏),屏幕底部靠近任务栏仍然有调整大小的区域。我不小心经常点击到调整大小的区域,而不是我的快速启动图标等。这可能非常令人沮丧,因为有时,在几次误点之后,窗口会遮住我的任务栏的一部分。有没有办法阻止那个调整大小的区域生效?窗口的顶部和侧边在最大化时是不生效的,而像我的浏览器这样的其他应用程序没有这种行为。

问题演示桌面录制

我已经尝试了在首选项的"窗口"组中翻转一些设置,但似乎没有影响到这个行为。

英文:

I've noticed that when I have VSCode maximized (note: NOT full screen), there's still the resize area at the bottom of the screen near the taskbar. I keep accidentally hitting the resize zone instead of my quick launch icons, etc. It can be very frustrating because sometimes, after a few misclicks, the window ends up covering part of my task bar. Is there any way to prevent that resize zone from being active? The ones on the top and sides of the window are not active while maximized, and other apps like my browser do not have this behavior.

problem demo desktop recording

I have tried flipping some of the settings in the Window group of preferences, but nothing seemed to affect this behavior.

答案1

得分: 0

Fixed accidentally.

原来只影响了一台电脑,其他 Chromium 应用也受到影响(例如:Discord)(感谢评论者!)

在我启动 Edge 来检查是否受影响后,奇迹般地停止了发生,我注意到我的任务栏已解锁,然后将其锁定。但在我的视频中显示的行为并不是预期的任务栏已解锁行为,所以我仍然不确定它与此有何关联,或者它是否已修复。

(在那个时候,我正在做看似不相关的事情,比如搜索注册表和应用数据,并与 Defender 打交道,以便让我提取我的 Windows 密钥,以防我决定采取过度解决方案并重新安装。)

英文:

Fixed accidentally.

It turns out that it was only affecting a single computer, and other Chromium apps were also affected (ex: Discord) (thanks commenter!)

It stopped happening after I launched Edge to check whether it was affected, noticed my taskbar was unlocked, and locked it. But the behavior shown in my video is not the expected taskbar unlocked behavior, so I'm still unsure how that's related, or whether or not it's what fixed it.

(I was doing seemingly unrelated things at the time, like searching the registry and app data, and fighting Defender to let me extract my Windows key in case I decided to go for the overkill approach and reinstall)

huangapple
  • 本文由 发表于 2023年5月15日 13:01:53
  • 转载请务必保留本文链接:https://go.coder-hub.com/76250983.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定