SUMMARY UI elements are incorrectly sized when opening Krita on PC with a Hi DPI and Normal DPI Display STEPS TO REPRODUCE 1. Open Krita with two displays configured with multiple DPIs OBSERVED RESULT Icons are either scaled too large or too small depending on what screen the window is opened on. Maximize button is also missing. EXPECTED RESULT UI to load normally with icons properly scaled for the Scaling the Screen is loaded in. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Ubuntu 20.04 (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Can you please append the contents of help->system information for bug reports?
Krita Version: 4.4.1 Languages: fr_CA, fr, en, fr_CA, fr Hidpi: true Qt Version (compiled): 5.12.3 Version (loaded): 5.12.3 OS Information Build ABI: x86_64-little_endian-lp64 Build CPU: x86_64 CPU: x86_64 Kernel Type: linux Kernel Version: 5.4.0-56-generic Pretty Productname: Ubuntu Core 18 Product Type: ubuntu-core Product Version: 18 Desktop: ubuntu:GNOME OpenGL Info Vendor: "Intel Open Source Technology Center" Renderer: "Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2) " Version: "3.0 Mesa 19.0.8" Shading language: "1.30" Requested format: QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::CompatibilityProfile) Current format: QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile) Version: 3.0 Supports deprecated functions true is OpenGL ES: false QPA OpenGL Detection Info supportsDesktopGL: true supportsOpenGLES: true isQtPreferOpenGLES: false Hardware Information GPU Acceleration: auto Memory: 15732 Mb Number of Cores: 8 Swap Location: /tmp Current Settings Current Swap Location: /tmp Current Swap Location writable: true Undo Enabled: true Undo Stack Limit: 30 Use OpenGL: true Use OpenGL Texture Buffer: true Use AMD Vectorization Workaround: false Canvas State: OPENGL_SUCCESS Autosave Interval: 900 Use Backup Files: true Number of Backups Kept: 1 Backup File Suffix: ~ Backup Location: Same Folder as the File Backup Location writable: false Use Win8 Pointer Input: false Use RightMiddleTabletButton Workaround: false Levels of Detail Enabled: false Use Zip64: false Display Information Number of screens: 2 Screen: 0 Name: XWAYLAND0 Depth: 24 Scale: 3 Resolution in pixels: 1280x720 Manufacturer: Model: Refresh Rate: 59 Screen: 1 Name: XWAYLAND2 Depth: 24 Scale: 1 Resolution in pixels: 2560x1080 Manufacturer: Model: Refresh Rate: 59
Thanks for your comment! Automatically switching the status of this bug to REPORTED so that the KDE team knows that the bug is ready to get confirmed. In the future you may also do this yourself when providing needed information.
This looks like it would be a bug with Qt. It gives the monitor with 1280x720 a scaling of 3, which is just plain wrong. Does it happen if you try with the latest 4.4.8 release AppImage?
(In reply to Alvin Wong from comment #4) > This looks like it would be a bug with Qt. It gives the monitor with > 1280x720 a scaling of 3, which is just plain wrong. > > Does it happen if you try with the latest 4.4.8 release AppImage? The same issue still occurs
What does "help->system information for bug reports" say now?
(In reply to Alvin Wong from comment #6) > What does "help->system information for bug reports" say now? ================================================================================ SESSION: 05 Jul 2021 08:43:25 -0400. Executing krita Krita Version: 4.2.9, Qt version compiled: 5.12.5, loaded: 5.12.8. Process ID: 17514 -- -- -- -- -- -- -- -- 05 Jul 2021 08:46:57 -0400: Importing application/x-krita to application/x-krita. Location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Real location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Batchmode: 0 05 Jul 2021 08:46:57 -0400: Loaded image from application/x-krita. Size: 1868 * 2513 pixels, 2.0835 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 6 05 Jul 2021 08:47:01 -0400: Saving Document /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra as /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). 1868 * 2513 pixels, 6 layers. 101 frames, 24 framerate. Export configuration: No configuration 05 Jul 2021 08:47:01 -0400: Create a simple backup for /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra in the same location as the file. 05 Jul 2021 08:47:01 -0400: Converting from application/x-krita to application/x-krita. Location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Real location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Batchmode: 0. Configuration: none 05 Jul 2021 08:47:03 -0400: Completed saving /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). Result: OK. Size: 18485332. MD5 Hash: 29ceb26b3d459557bc839c2bb1fc898b 05 Jul 2021 08:47:03 -0400: Saving Completed 05 Jul 2021 08:47:06 -0400: Saving Document /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra as /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). 1868 * 2513 pixels, 6 layers. 101 frames, 24 framerate. Export configuration: No configuration 05 Jul 2021 08:47:06 -0400: Create a simple backup for /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra in the same location as the file. 05 Jul 2021 08:47:06 -0400: Converting from application/x-krita to application/x-krita. Location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Real location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Batchmode: 0. Configuration: none 05 Jul 2021 08:47:08 -0400: Completed saving /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). Result: OK. Size: 18473071. MD5 Hash: a3bd6042d890e20281c3853e04c5f007 05 Jul 2021 08:47:08 -0400: Saving Completed 05 Jul 2021 08:50:16 -0400: Saving Document /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra as /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). 1868 * 2513 pixels, 6 layers. 101 frames, 24 framerate. Export configuration: No configuration 05 Jul 2021 08:50:16 -0400: Create a simple backup for /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra in the same location as the file. 05 Jul 2021 08:50:16 -0400: Converting from application/x-krita to application/x-krita. Location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Real location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Batchmode: 1. Configuration: none 05 Jul 2021 08:50:18 -0400: Completed saving /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). Result: OK. Size: 18473071. MD5 Hash: a1d74f0a219a142a2c90f3207f98ac75 05 Jul 2021 08:50:24 -0400: Saving Document /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra as /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). 1868 * 2513 pixels, 6 layers. 101 frames, 24 framerate. Export configuration: No configuration 05 Jul 2021 08:50:24 -0400: Create a simple backup for /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra in the same location as the file. 05 Jul 2021 08:50:24 -0400: Converting from application/x-krita to application/x-krita. Location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Real location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Batchmode: 1. Configuration: none 05 Jul 2021 08:50:25 -0400: Saving Document /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra as /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). 1868 * 2513 pixels, 6 layers. 101 frames, 24 framerate. Export configuration: No configuration 05 Jul 2021 08:50:25 -0400: Create a simple backup for /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra in the same location as the file. 05 Jul 2021 08:50:26 -0400: Completed saving /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). Result: OK. Size: 18473071. MD5 Hash: 6597d1235ea0a032dd61154375a56a1d 05 Jul 2021 08:59:28 -0400: Saving Document /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra as /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). 1868 * 2513 pixels, 6 layers. 101 frames, 24 framerate. Export configuration: No configuration 05 Jul 2021 08:59:28 -0400: Create a simple backup for /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra in the same location as the file. 05 Jul 2021 08:59:28 -0400: Converting from application/x-krita to application/x-krita. Location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Real location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Batchmode: 0. Configuration: none 05 Jul 2021 08:59:30 -0400: Completed saving /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). Result: OK. Size: 18606174. MD5 Hash: 6bb94b5c1ac4c80489cc566c48e0a167 05 Jul 2021 08:59:30 -0400: Saving Completed 05 Jul 2021 09:01:14 -0400: Saving Document /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra as /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). 1868 * 2513 pixels, 6 layers. 101 frames, 24 framerate. Export configuration: No configuration 05 Jul 2021 09:01:14 -0400: Create a simple backup for /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra in the same location as the file. 05 Jul 2021 09:01:14 -0400: Converting from application/x-krita to application/x-krita. Location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Real location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Batchmode: 0. Configuration: none 05 Jul 2021 09:01:16 -0400: Completed saving /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). Result: OK. Size: 18884667. MD5 Hash: a854793d9a4d459315bf618169260439 05 Jul 2021 09:01:16 -0400: Saving Completed 05 Jul 2021 09:01:49 -0400: Saving Document /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra as /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). 1868 * 2513 pixels, 7 layers. 101 frames, 24 framerate. Export configuration: No configuration 05 Jul 2021 09:01:49 -0400: Create a simple backup for /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra in the same location as the file. 05 Jul 2021 09:01:49 -0400: Converting from application/x-krita to application/x-krita. Location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Real location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Batchmode: 0. Configuration: none 05 Jul 2021 09:01:51 -0400: Completed saving /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). Result: OK. Size: 18893872. MD5 Hash: 0ee1aeff7f2cab89240f2a7b299b763e 05 Jul 2021 09:01:51 -0400: Saving Completed 05 Jul 2021 09:01:58 -0400: Autosaving: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra-autosave.kra 05 Jul 2021 09:01:58 -0400: Converting from application/x-krita to application/x-krita. Location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra-autosave.kra. Real location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra-autosave.kra. Batchmode: 0. Configuration: none 05 Jul 2021 09:01:59 -0400: Completed saving /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra-autosave.kra (mime: application/x-krita). Result: OK. Size: 13683573. MD5 Hash: 3cce63f864c73d8d6d0376bb1b7fe753 KRITA DID NOT CLOSE CORRECTLY ================================================================================ SESSION: 05 Jul 2021 09:10:10 -0400. Executing krita /home/patrick/Téléchargements/Brushes/Comics.bundle Krita Version: 4.2.9, Qt version compiled: 5.12.5, loaded: 5.12.8. Process ID: 22218 -- -- -- -- -- -- -- -- 05 Jul 2021 09:10:11 -0400: CLOSING SESSION 05 Jul 2021 09:11:40 -0400: Saving Document /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra as /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). 1868 * 2513 pixels, 7 layers. 101 frames, 24 framerate. Export configuration: No configuration 05 Jul 2021 09:11:40 -0400: Create a simple backup for /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra in the same location as the file. 05 Jul 2021 09:11:40 -0400: Converting from application/x-krita to application/x-krita. Location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Real location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Batchmode: 0. Configuration: none 05 Jul 2021 09:11:42 -0400: Completed saving /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). Result: OK. Size: 18911429. MD5 Hash: 5c4f601b2f092ea7685a1dff0c449e9b 05 Jul 2021 09:11:42 -0400: Removing autosave file: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra-autosave.kra 05 Jul 2021 09:11:42 -0400: Saving Completed 05 Jul 2021 09:12:46 -0400: Saving Document /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra as /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). 1868 * 2513 pixels, 7 layers. 101 frames, 24 framerate. Export configuration: No configuration 05 Jul 2021 09:12:46 -0400: Create a simple backup for /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra in the same location as the file. 05 Jul 2021 09:12:46 -0400: Converting from application/x-krita to application/x-krita. Location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Real location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Batchmode: 0. Configuration: none 05 Jul 2021 09:12:48 -0400: Completed saving /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). Result: OK. Size: 18921289. MD5 Hash: da391b3256827c825b11201607a49e71 05 Jul 2021 09:12:48 -0400: Saving Completed 05 Jul 2021 09:14:26 -0400: Saving Document /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra as /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). 1868 * 2513 pixels, 7 layers. 101 frames, 24 framerate. Export configuration: No configuration 05 Jul 2021 09:14:26 -0400: Create a simple backup for /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra in the same location as the file. 05 Jul 2021 09:14:26 -0400: Converting from application/x-krita to application/x-krita. Location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Real location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Batchmode: 0. Configuration: none 05 Jul 2021 09:14:28 -0400: Completed saving /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra (mime: application/x-krita). Result: OK. Size: 19003512. MD5 Hash: 6bfd013a86623013dcef1debe7381839 05 Jul 2021 09:14:28 -0400: Saving Completed 05 Jul 2021 09:15:38 -0400: CLOSING SESSION ================================================================================ SESSION: 05 Jul 2021 09:20:39 -0400. Executing krita Krita Version: 4.2.9, Qt version compiled: 5.12.5, loaded: 5.12.8. Process ID: 23492 -- -- -- -- -- -- -- -- 05 Jul 2021 09:20:45 -0400: Importing application/x-krita to application/x-krita. Location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Real location: /home/patrick/Documents/Artwork/Mermaid/Mermaid.kra. Batchmode: 0 05 Jul 2021 09:20:46 -0400: Loaded image from application/x-krita. Size: 1868 * 2513 pixels, 2.0835 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 7 05 Jul 2021 09:21:03 -0400: CLOSING SESSION ================================================================================ SESSION: 11 Aug 2021 11:33:56 -0400. Executing krita /home/patrick/.cache/.fr-DL5lZV/mojo-comic-book-template.kra Krita Version: 4.2.9, Qt version compiled: 5.12.5, loaded: 5.12.8. Process ID: 149938 -- -- -- -- -- -- -- -- 11 Aug 2021 11:33:59 -0400: Importing application/x-krita to application/x-krita. Location: /home/patrick/.cache/.fr-DL5lZV/mojo-comic-book-template.kra. Real location: /home/patrick/.cache/.fr-DL5lZV/mojo-comic-book-template.kra. Batchmode: 0 11 Aug 2021 11:34:01 -0400: Loaded image from application/x-krita. Size: 3300 * 5100 pixels, 4.16667 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 18 11 Aug 2021 11:34:11 -0400: CLOSING SESSION ================================================================================ SESSION: 24 Aug 2021 12:42:16 -0400. Executing krita /home/patrick/Images/Mater Reference/Art/Building Crush.jpg Krita Version: 4.2.9, Qt version compiled: 5.12.5, loaded: 5.12.8. Process ID: 1096209 -- -- -- -- -- -- -- -- 24 Aug 2021 12:42:20 -0400: Importing image/jpeg to application/x-krita. Location: /home/patrick/Images/Mater Reference/Art/Building Crush.jpg. Real location: /home/patrick/Images/Mater Reference/Art/Building Crush.jpg. Batchmode: 0 24 Aug 2021 12:42:20 -0400: Loaded image from image/jpeg. Size: 1149 * 1685 pixels, 1 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 2 24 Aug 2021 12:44:47 -0400: CLOSING SESSION ================================================================================ SESSION: 26 Aug 2021 11:44:30 -0400. Executing /home/patrick/Téléchargements/krita-4.4.8-x86_64.appimage Krita Version: 4.4.8, Qt version compiled: 5.12.11, loaded: 5.12.11. Process ID: 1294553 -- -- -- -- -- -- -- -- 26 Aug 2021 11:44:30 -0400: Style: fusion. Available styles: Windows, Fusion 26 Aug 2021 11:44:55 -0400: CLOSING SESSION ================================================================================ SESSION: 26 Aug 2021 12:07:28 -0400. Executing /home/patrick/Téléchargements/krita-4.4.8-x86_64.appimage Krita Version: 4.4.8, Qt version compiled: 5.12.11, loaded: 5.12.11. Process ID: 1295443 -- -- -- -- -- -- -- -- 26 Aug 2021 12:07:28 -0400: Style: fusion. Available styles: Windows, Fusion
Not the "Krita log for bug reports" one, I am looking for the "system information for bug reports" one.
I think https://bugreports.qt.io/browse/QTBUG-69136 applies.