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

[BUG]: 关于记住窗口大小的BUG #962

Open
G00DB0Y-2024 opened this issue Oct 20, 2024 · 0 comments
Open

[BUG]: 关于记住窗口大小的BUG #962

G00DB0Y-2024 opened this issue Oct 20, 2024 · 0 comments

Comments

@G00DB0Y-2024
Copy link

Description

开启“记住窗口大小”,如果不断关闭窗口,则窗口大小会越来越小
此发生在第二屏幕,第二屏幕的分辨率和缩放和第一屏都不同,我认为是软件错误地计算了倍数使其每次启动都被乘以了一个系数

Reproduction

呼出窗口,然后关闭,再呼出

Platform

Windows

System Version

Windows 11 Home Edition 22621.1702

Window System (Linux Only)

None

Software Version

3.0.5

Log File

[2024-10-20][02:18:08][INFO][pot] ============== Start App ==============
[2024-10-20][02:18:08][INFO][pot] Init Config Store
[2024-10-20][02:18:08][INFO][pot::config] Load config from: "C:\Users\23993\AppData\Roaming\com.pot-app.desktop\config.json"
[2024-10-20][02:18:08][WARN][pot::config] Config load error: Io(Os { code: 2, kind: NotFound, message: "系统找不到指定的文件。" })
[2024-10-20][02:18:08][INFO][pot::config] Config not found, creating new config
[2024-10-20][02:18:08][INFO][pot] First Run, opening config window
[2024-10-20][02:18:08][INFO][pot::window] Mouse position: 803, 797
[2024-10-20][02:18:08][INFO][pot::window] Current Monitor: Monitor { name: Some("\\.\DISPLAY1"), size: PhysicalSize { width: 3200, height: 2000 }, position: PhysicalPosition { x: 0, y: 0 }, scale_factor: 2.0 }
[2024-10-20][02:18:08][INFO][pot::window] Window not existence, Creating new window: config
[2024-10-20][02:18:08][INFO][pot::tray] Update tray with language: en, copy mode: disable
[2024-10-20][02:18:09][DEBUG][tiny_http] Server listening on 127.0.0.1:60828
[2024-10-20][02:18:09][DEBUG][tiny_http] Running accept thread
[2024-10-20][02:18:09][TRACE][hyper::client::pool] checkout waiting for idle connection: ("https", gh.pylogmon.com)
[2024-10-20][02:18:09][DEBUG][reqwest::connect] starting new connection: https://gh.pylogmon.com/
[2024-10-20][02:18:09][DEBUG][reqwest::connect] proxy(http://127.0.0.1:7897) intercepts 'https://gh.pylogmon.com/'
[2024-10-20][02:18:09][TRACE][hyper::client::connect::http] Http::connect; scheme=Some("http"), host=Some("127.0.0.1"), port=Some(Port(7897))
[2024-10-20][02:18:09][DEBUG][hyper::client::connect::http] connecting to 127.0.0.1:7897
[2024-10-20][02:18:09][DEBUG][hyper::client::connect::http] connected to 127.0.0.1:7897
[2024-10-20][02:18:09][TRACE][reqwest::connect] tunneling HTTPS over proxy
[2024-10-20][02:18:09][TRACE][os_info::imp] windows::current_platform is called
[2024-10-20][02:18:09][TRACE][os_info::imp] Returning Info { os_type: Windows, version: Semantic(10, 0, 22631), edition: Some("Windows 11 CoreCountrySpecific"), codename: None, bitness: X64, architecture: Some("x86_64") }
[2024-10-20][02:18:09][TRACE][notify::windows] Event: path = C:\Users\23993\AppData\Roaming\com.pot-app.desktop\config.json, action = 3
[2024-10-20][02:18:09][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\23993\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-10-20][02:18:09][TRACE][notify::windows] Event: path = C:\Users\23993\AppData\Roaming\com.pot-app.desktop\config.json, action = 3
[2024-10-20][02:18:09][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\23993\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-10-20][02:18:09][TRACE][notify::windows] Event: path = C:\Users\23993\AppData\Roaming\com.pot-app.desktop\config.json, action = 3
[2024-10-20][02:18:09][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\23993\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-10-20][02:18:09][TRACE][notify::windows] Event: path = C:\Users\23993\AppData\Roaming\com.pot-app.desktop\config.json, action = 3
[2024-10-20][02:18:09][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\23993\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-10-20][02:18:09][TRACE][notify::windows] Event: path = C:\Users\23993\AppData\Roaming\com.pot-app.desktop\config.json, action = 3
[2024-10-20][02:18:09][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\23993\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-10-20][02:18:09][TRACE][notify::windows] Event: path = C:\Users\23993\AppData\Roaming\com.pot-app.desktop\config.json, action = 3
[2024-10-20][02:18:09][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\23993\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-10-20][02:18:09][TRACE][notify::windows] Event: path = C:\Users\23993\AppData\Roaming\com.pot-app.desktop\config.json, action = 3
[2024-10-20][02:18:09][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\23993\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }

Additional Information

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

No branches or pull requests

1 participant