Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.8.4设置任务栏窗口显示在左侧无效 #1346

Closed
AdoShan opened this issue Oct 6, 2022 · 17 comments
Closed

1.8.4设置任务栏窗口显示在左侧无效 #1346

AdoShan opened this issue Oct 6, 2022 · 17 comments

Comments

@AdoShan
Copy link

AdoShan commented Oct 6, 2022

系统21H1,无法将任务栏窗口设置到左侧。

@Edelweissor
Copy link

+1,靠的是右侧

@zhongyang219
Copy link
Owner

zhongyang219 commented Oct 6, 2022

在1.84版本中,如果任务栏窗的对齐方式为左对齐时,则任务栏窗口总是显示在右侧,因为显示在左侧时会和任务栏原来的按钮重叠。
而程序检测任务栏对齐方式是通过读取注册表\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AdvancedTaskbarAl的键值来获取的,但是如果你从来没有更改过任务栏的对齐设置,这个键值就不存在,此时TrafficMonitor会误以为任务栏是左对齐,这是一个bug。解决的办法是:
在任务栏上点击鼠标右键,选择任务栏设置,更改一次任务栏对齐方式,生成以上键值后,比如将“居中”改为“左对齐”,再改回“居中”就好了。

In version 1.84, if the taskbar window is aligned to the left, the taskbar window will always appear on the right because it overlaps the original taskbar button when shown on the left.
The program detects taskbar alignment by reading the key value of "TaskbarAl" in the registry "\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced". But if you never change the alignment settings of the taskbar, this key is not exist and TrafficMonitor mistakenly thinks the taskbar is left aligned. This is a bug. The solution is:
Click the right mouse button in the taskbar, select Taskbar Settings, and change the alignment method of the taskbar once. After generating the above key value, for example, change "center" to "Align left", and then change it back to "center".

image

@CNYoki
Copy link

CNYoki commented Oct 6, 2022

Thanks

@AdoShan
Copy link
Author

AdoShan commented Oct 6, 2022

感谢。已解决

@AdoShan AdoShan closed this as completed Oct 6, 2022
@fengzhenchn
Copy link

十分感谢

hellopony pushed a commit to hellopony/TrafficMonitor that referenced this issue Oct 6, 2022
* https://github.com/zhongyang219/TrafficMonitor:
  修正修正没有Win11下没有更改过任务栏对齐方式设置时,程序会误认为任务栏左对齐的问题 zhongyang219#1346 zhongyang219#1344
@zhanghean
Copy link

感谢!!!

@nekomiya-hinata
Copy link

已解决!!

@wonchong
Copy link

TrafficMonitor

123_x264.mp4

最新构建没遇到。顺便感谢作者适配22H2

@Charles920421
Copy link

Snipaste_2022-10-12_14-04-38
我的电脑是这样子的

@thomasloto
Copy link

Good

@GGG962464
Copy link

在1.84版本中,如果任务栏窗的对齐方式为左对齐时,则任务栏窗口总是显示在右侧,因为显示在左侧时会和任务栏原来的按钮重叠。 而程序检测任务栏对齐方式是通过读取注册表\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AdvancedTaskbarAl的键值来获取的,但是如果你从来没有更改过任务栏的对齐设置,这个键值就不存在,此时TrafficMonitor会误以为任务栏是左对齐,这是一个bug。解决的办法是: 在任务栏上点击鼠标右键,选择任务栏设置,更改一次任务栏对齐方式,生成以上键值后,比如将“居中”改为“左对齐”,再改回“居中”就好了。

In version 1.84, if the taskbar window is aligned to the left, the taskbar window will always appear on the right because it overlaps the original taskbar button when shown on the left. The program detects taskbar alignment by reading the key value of "TaskbarAl" in the registry "\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced". But if you never change the alignment settings of the taskbar, this key is not exist and TrafficMonitor mistakenly thinks the taskbar is left aligned. This is a bug. The solution is: Click the right mouse button in the taskbar, select Taskbar Settings, and change the alignment method of the taskbar once. After generating the above key value, for example, change "center" to "Align left", and then change it back to "center".

image

解决了,牛批!
46 (2)

@long45343
Copy link

万分感谢!!!!!!

@dandanzou-hust
Copy link

大佬大佬!专业!

@zhongyang219
Copy link
Owner

zhongyang219 commented Nov 8, 2022

Snipaste_2022-10-12_14-04-38 我的电脑是这样子的

任务栏最左侧的空白是为了防止和Win11自带的天气重叠的,那个空白的宽度可以通过修改配置文件调整,在配置文件[task_bar]下面的taskbar_left_space_win11。
在Win11任务栏设置中关闭“小组件”的显示就没有那个空白了。

@yudi126
Copy link

yudi126 commented Nov 8, 2022

勾选显示虚线框,cpu频率没虚线框

@Charles920421
Copy link

Snipaste_2022-10-12_14-04-38 我的电脑是这样子的

任务栏最左侧的空白是为了防止和Win11自带的天气重叠的,那个空白的宽度可以通过修改配置文件调整,在配置文件[task_bar]下面的taskbar_left_space_win11。 在Win11任务栏设置中关闭“小组件”的显示就没有那个空白了。

感谢

@dinaau
Copy link

dinaau commented Oct 3, 2023

小组件是关闭状态
taskbar_left_space_win11 设置为0或者200仍然都有空白

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests