Summary: | Un-maximizing main window that opened on second screen with different high-DPI scaling restores to massive size | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Ralek Kolemios <info> |
Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | alvin, tamtamy.tymona |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Ralek Kolemios
2020-07-09 03:31:24 UTC
Does it not happen for other programs? (I guess not, but I'm asking since I would guess a dragging from a fullscreen is not something one do with every program). Especially Qt-based ones like Kdenlive? I'm marking this as confirmed because I know that this can happen due to QMainWindow::saveState and restoreState not handling devicePixelRatio correctly. Fixing this would probably require hacking into Qt's code though. Or rather, it should be QWidget::saveGeometry and QWidget::restoreGeometry (In reply to Tiar from comment #1) > Does it not happen for other programs? (I guess not, but I'm asking since I > would guess a dragging from a fullscreen is not something one do with every > program). Especially Qt-based ones like Kdenlive? I've seen it happen with one or two other programs over the years, but they seem to be issues with those specific programs and not with the OS' handling of windows in general as other applications are fine. |