| Summary: | When the Android version disables "HI-DPI support", the width of the new file window is too small. | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Eranthis stellata Maxim <1012468643> |
| Component: | Usability | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | normal | CC: | alvin |
| Priority: | NOR | ||
| Version First Reported In: | 5.0.6 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Other | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | A comparison of enabling HI-DPI support and disabling HI-DPI support. | ||
|
Description
Eranthis stellata Maxim
2022-06-12 05:30:17 UTC
That's exactly what disabling high-DPI does... (In reply to Alvin Wong from comment #1) > That's exactly what disabling high-DPI does... I don't think it's a bug that new windows shrink after disabling "HI-DPI support". I think it is correct that the new file window is proportionally smaller after disabling "HI-DPI support". After disabling "HI-DPI support", the new file window is not proportionally smaller, but the width is significantly reduced. So I think it's a bug. This _is_ exactly what is expected from Qt's layout engine. The dialog width is normally restricted by an explicitly set minimum width, while the height is stretched by the individual widgets. When you disable high-DPI on a system with a large scale factor, the legacy font scaling stretches the height of the widgets resulting in this appearance to ensure the widgets are visible. The layout is just doing its job. (In reply to Alvin Wong from comment #3) > This _is_ exactly what is expected from Qt's layout engine. The dialog width > is normally restricted by an explicitly set minimum width, while the height > is stretched by the individual widgets. When you disable high-DPI on a > system with a large scale factor, the legacy font scaling stretches the > height of the widgets resulting in this appearance to ensure the widgets are > visible. The layout is just doing its job. Thanks, now I know. |