Commit dc76388
fix(toolbar): improve toolbar positioning on HiDPI displays
Adjusted the toolbar positioning logic to account for pixel ratio differences in Qt6+XCB environments. The changes ensure that the toolbar remains within screen bounds by applying consistent boundary checks using logical coordinates. This fix addresses potential offscreen positioning issues when the toolbar is displayed on high-DPI screens.
bug: https://pms.uniontech.com/bug-view-354679.html1 parent 7112b7e commit dc76388
1 file changed
Lines changed: 142 additions & 105 deletions
0 commit comments