Bug 415101 - Canvas only is unusable with incompatible HDR settings
Summary: Canvas only is unusable with incompatible HDR settings
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: HDR (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-12 16:41 UTC by til.schmitter
Modified: 2022-06-26 09:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot (343.41 KB, image/png)
2019-12-21 12:43 UTC, til.schmitter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description til.schmitter 2019-12-12 16:41:17 UTC
SUMMARY
i encountered it on krita-nightly-x64-v4.3.0-prealpha-910-g818c841b0b and then updated to krita-nightly-x64-v4.3.0-prealpha-913-gcf3682662b, it still is like this.
regular painting works fine windowed.

STEPS TO REPRODUCE
- select an incompatible HDR setting
- go into canvas only mode.


OBSERVED RESULT
(i tried several times with different monitor configs, here are some results)

- my wacom cintiq 13 pro gets a black screen
- my secondary monitor (sony bravia 42 inch @1920x1080) goes into canvas only, but the contrast is lowered
- getting image back on my cintiq only works by turning it off and on again outside of canvas only
- dockers got defaulted
- krita (g818...) crashed on me once, results are inconsistent
- krita's window gets resized when i go back
- krita's window options were switched out for the window options for the currently open project(i normally have them hidden/my krita is set up for true fullscreen)

SOFTWARE/OS VERSIONS
Windows: 10
Comment 1 Tiar 2019-12-13 14:42:06 UTC
Can you please elaborate on: "select an incompatible HDR setting"? What does it mean? What kind of setting did you set?

Do you have any HDR display? Have you turned on HD/HDR/WGC (or however Windows call it) mode in Windows Settings?

Please attach text from Help -> Show system information for bug reports (copy text from there, save as a new text file, attach the file to this bug report).
Comment 2 til.schmitter 2019-12-13 17:12:27 UTC
i don't have any hdr displays and an "incompatible setting" is hdr output at 16 bit for example. i know this is using the software wrong, but i just like to play around with the settings and didn't remember i changed this setting until i found this glitch... i was just wondering if there is a way to detect the color range of a display and lock all incompatible settings. i certainly won't be doing this again, but just as a way to protect the user from themselves...
Comment 3 Bug Janitor Service 2019-12-14 04:33:12 UTC
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.
Comment 4 Tiar 2019-12-16 12:09:58 UTC
Could you please attach the screenshot of what is the example of incompatible HDR settings for your display? Just make a screenshot of the whole Krita window when you set it up (of course you don't need to click OK).
Comment 5 til.schmitter 2019-12-21 12:43:59 UTC
Created attachment 124637 [details]
screenshot

sorry for the late reply, here you go...
Comment 6 Tiar 2019-12-21 16:25:11 UTC
Thanks, that's really helpful.

Can you also please attach the output from Help -> Show system information for bug reports?
Comment 7 Bug Janitor Service 2019-12-22 04:33:10 UTC
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.
Comment 8 til.schmitter 2019-12-22 11:17:11 UTC
Krita

 Version: 4.3.0-prealpha (git cf36826)
 Languages: en_US, en, en_US, en, en_US, en, en_US, en, en_US, en, en_US, en, en_US, en, en_US, en, de_DE, de, en_US, en
 Hidpi: true

Qt

  Version (compiled): 5.12.5
  Version (loaded): 5.12.5

OS Information

  Build ABI: x86_64-little_endian-llp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: winnt
  Kernel Version: 10.0.18362
  Pretty Productname: Windows 10 (10.0)
  Product Type: windows
  Product Version: 10

OpenGL Info
 
  Vendor:  "NVIDIA Corporation" 
  Renderer:  "GeForce GTX 970/PCIe/SSE2" 
  Version:  "4.6.0 NVIDIA 441.20" 
  Shading language:  "4.60 NVIDIA" 
  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 4.6, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::sRGBColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
     Version: 4.6
     Supports deprecated functions true 
     is OpenGL ES: false 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsAngleD3D11: true 
  isQtPreferAngle: false 

Hardware Information

  GPU Acceleration: auto
  Memory: 8135 Mb
  Number of Cores: 8
  Swap Location: C:/Users/Til/AppData/Local/Temp

Current Settings

  Current Swap Location: C:/Users/Til/AppData/Local/Temp
  Undo Enabled: 1
  Undo Stack Limit: 75
  Use OpenGL: 1
  Use OpenGL Texture Buffer: 1
  Use AMD Vectorization Workaround: 0
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 1200
  Use Backup Files: 0
  Number of Backups Kept: 1
  Backup File Suffix: ~
  Backup Location: Same Folder as the File
  Use Win8 Pointer Input: 0
  Use RightMiddleTabletButton Workaround: 0
  Levels of Detail Enabled: 0
  Use Zip64: 0
Comment 9 Tiar 2019-12-22 12:45:21 UTC
Thank you!
Comment 10 til.schmitter 2022-06-26 09:51:03 UTC
just checked, no longer an issue on 5.2.0-prealpha-0f478fc69b