Bug 431164

Summary: Custom Document inherits settings utilized in Create from Clipboard as new defaults
Product: [Applications] krita Reporter: tomtomtomreportingin
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: 1012468643, tamtamy.tymona, tysontanx
Priority: NOR    
Version First Reported In: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tomtomtomreportingin 2021-01-04 22:30:45 UTC
SUMMARY
Custom Document will match its default settings to the settings used when creating a document from Create from Clipboard. This not only includes Dimension settings but also Content settings like number of layers. 

STEPS TO REPRODUCE
1. Observe currently set Custom Document settings
2. Create a document using Create from Clipboard using different settings.

OBSERVED RESULT
Defaults of Custom Document inherit the settings used in Step 2.

EXPECTED RESULT
Default settings between the two functions should be separated. Why would I always want my Custom Document settings to be overridden by the settings of an image created from my clipboard?

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian sid
(available in About System)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.12.9 (Appimage)
Comment 1 Tyson Tan 2021-06-12 07:01:33 UTC
I can confirm this on Krita 4.4.5 too.

Custom Document settings does't affect Create from Clipboard's,
But anything changed in Create from Clipboard will affect Custom Document's.

This a huge usability issue for me. It happens too often that:
1) I need to prepare screenshots all the time
2) I copy a screenshot from the clipboard and paste it into Krita to crop and annotation
3) Now the Custom Document tab where I create normal documents has only 1 layer for its "Content" tab
4) I unknowingly draw on the background layer for a long time, and the effort is wasted.

My opinion is,
The last used state of:
* Custom Document
* Create from Clipboard

Should not affect each other.
Comment 2 Tyson Tan 2021-06-12 09:02:58 UTC
Oh no!

Custom Document also inherits the COLOR PROFILE of Create from Clipboard too! So if I used "As Monitor" when doing a Create from Clipboard, the Custom Document will later create with the monitor profile instead of the default sRGB profile!

Now I think this is a more important bug than just a small glitch...
Comment 3 Tiar 2021-06-15 14:17:42 UTC
I hate it too, it always changes my default 2 layers (which I like a lot) to one... and then I think I have two layers and I start sketching and it turns out I have been drawing on the background one. (and then Filter -> Color To Alpha is not really possible, because of the opaque default pixel, so the user needs to do special things to extract the sketch from the white background...).
Comment 4 Tyson Tan 2022-03-15 02:17:56 UTC
I think I should add some information about this bug so it might get fixed soon in the future.

Every time I used "Create from Clipboard", it will inject the clipboard image properties into "Custom Document" -- Size, Layers, etc. 

I can easily change the Size back by loading a Predefined Size, but that wouldn't change the Layers count back to the default "2".

Since the "Layers" option is hidden in the "Content" tab, it's very unlikely a new user can discover that.

I think this is a major usability issue. I've lost count of how many times I found myself drawing on the white Background layer, leaving hours of effort basically useless.
Comment 5 Tyson Tan 2022-03-15 02:20:38 UTC
Oh, I submitted duplicate information because the webpage did not load properly, and I thought there was no bug information here.

Anyway, still an issue with krita-5.1.0-prealpha-8f335dfa46-x86_64.appimage

And it's now messing with tests for BUG451063.
Comment 6 tomtomtomreportingin 2022-03-15 04:26:05 UTC
I can say that this issue makes me avoid Create from Clipboard entirely. It's basically a trap. Instead you can do File -> Paste into New Image from the welcome screen, but this won't allow finer configuration of the document when creating it.
Comment 7 tomtomtomreportingin 2022-10-02 01:23:08 UTC
*** Bug 459884 has been marked as a duplicate of this bug. ***
Comment 8 tomtomtomreportingin 2022-10-02 01:26:29 UTC
I think it might be a good idea to remove the "Create from Clipboard" menu entirely and instead make it a checkbox for "Custom Document". Does anyone need separate configurations between the two?
Comment 9 tomtomtomreportingin 2022-10-02 01:47:36 UTC
Actually, I suppose it wouldn't matter much as you'd still need separate configs to resolve this issue.