[GH-ISSUE #85] [BUG] 每次打开软件窗口和信息栏宽度都会重置 #210

Open
opened 2026-03-14 20:33:15 +03:00 by kerem · 3 comments
Owner

Originally created by @wwbfred on GitHub (May 5, 2025).
Original GitHub issue: https://github.com/Archeb/opentrace/issues/85

Describe the bug 描述你遇到的BUG
每次打开软件窗口和信息栏宽度都会重置。
窗口大小倒还好,但每次都要调整信息栏的宽度才能看到信息,这个很不便。

To Reproduce 复现方法
打开软件->调整窗口大小和信息栏宽度->关闭软件->重新打开软件->窗口大小和信息栏宽度被重置

Environment 使用环境

  • OS 操作系统:Win10最新版本
  • Version 程序版本:1.4.3.2
Originally created by @wwbfred on GitHub (May 5, 2025). Original GitHub issue: https://github.com/Archeb/opentrace/issues/85 **Describe the bug 描述你遇到的BUG** 每次打开软件窗口和信息栏宽度都会重置。 窗口大小倒还好,但每次都要调整信息栏的宽度才能看到信息,这个很不便。 **To Reproduce 复现方法** 打开软件->调整窗口大小和信息栏宽度->关闭软件->重新打开软件->窗口大小和信息栏宽度被重置 **Environment 使用环境** - OS 操作系统:Win10最新版本 - Version 程序版本:1.4.3.2
Author
Owner

@wwbfred commented on GitHub (May 5, 2025):

发现信息栏宽度是自动调整的,这个没问题了。
窗口大小和位置信息无法被正确记录,这点或许可以改进?谢谢。

<!-- gh-comment-id:2851387230 --> @wwbfred commented on GitHub (May 5, 2025): 发现信息栏宽度是自动调整的,这个没问题了。 窗口大小和位置信息无法被正确记录,这点或许可以改进?谢谢。
Author
Owner

@fakeboboliu commented on GitHub (May 6, 2025):

不能保存不是bug,保存窗口大小和位置才是个新feature来着

我不太确定有这种功能会不会造成一些多显示器问题

<!-- gh-comment-id:2853418729 --> @fakeboboliu commented on GitHub (May 6, 2025): 不能保存不是bug,保存窗口大小和位置才是个新feature来着 我不太确定有这种功能会不会造成一些多显示器问题
Author
Owner

@wwbfred commented on GitHub (May 6, 2025):

那能不能直接设置居中显示,具体怎么居中让Windows去处理,现在的情况是会随机出现在左上部的任意一个位置。
我没做过Windows开发,不过API里或许会有相关的参数?
窗口大小毕竟是记录到的,不换显示器问题应该不大。

<!-- gh-comment-id:2854752675 --> @wwbfred commented on GitHub (May 6, 2025): 那能不能直接设置居中显示,具体怎么居中让Windows去处理,现在的情况是会随机出现在左上部的任意一个位置。 我没做过Windows开发,不过API里或许会有相关的参数? 窗口大小毕竟是记录到的,不换显示器问题应该不大。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentrace#210
No description provided.