[krita] [Bug 414643] "Create From Clipboard" inserts image as an alpha mask when background is set to fill layer

2019-12-02 Thread James Shorthouse
https://bugs.kde.org/show_bug.cgi?id=414643

--- Comment #2 from James Shorthouse  ---
Sure, the behaviour is consistent from an entirely logical perspective but I
don't think the current behaviour is consistent at all with what the user would
expect to happen.

As I see it the "create from clipboard" function is meant to be a quick and
easy way to get an image into the program exactly as it appears in their
clipboard. I can't imagine a single person using this feature is expecting
their image to become an alpha mask for a solid colour layer.

What is the purpose in frustrating users by replacing what could be a useful
feature with an all but completely useless one just to remain "logically
consistent"?

Although, if it is desired that all layer options behave in the exact same way
then how about this?
For 1 layer, the behaviour is as it currently is.
For >=2 layers the fill layer is created as specified but then the image is
inserted on raster layer 2. When >2 all other empty layers are then inserted
above.

I think the above solution would remain logically consistent while still making
the feature useful when using the fill layer type. When I found this "bug" my
above suggestion was what I actually tried to do afterwards in the hope that it
might work that way, but alas it currently does not.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 414643] New: "Create From Clipboard" inserts image as an alpha mask when background is set to fill layer

2019-11-28 Thread James Shorthouse
https://bugs.kde.org/show_bug.cgi?id=414643

Bug ID: 414643
   Summary: "Create From Clipboard" inserts image as an alpha mask
when background is set to fill layer
   Product: krita
   Version: 4.2.8
  Platform: Ubuntu Packages
OS: Linux
Status: REPORTED
  Severity: minor
  Priority: NOR
 Component: General
  Assignee: krita-bugs-n...@kde.org
  Reporter: jshortho...@protonmail.com
  Target Milestone: ---

When using the "create from clipboard" functionality if the background type in
the "Content" tab is set to "As fill layer" the clipboard image is inserted as
an alpha mask to the background layer.

I would have expected that when using this feature the clipboard image would be
inserted on a raster layer above the background layer. I don't think the
current behaviour is expected or useful, the resultant image does not resemble
what was in the clipboard.

The reason this is a problem is that I always use the fill layer background
type when creating normal documents, and this preference is also applied when
creating from clipboard. To work around this issue I would have to manually
change the background type every time.

I suggest that either a) the preferences for "custom document" and "create from
clipboard" are split from each other so I can have one background type for one
and one for the other, or b) the background type is ignored and a raster layer
is always used or c) whenever "fill layer" is selected a new raster layer with
the image is always inserted above the background.

STEPS TO REPRODUCE
1. Go to File > New > Create from Clipboard
2. In the content tab set the background to "As fill layer"
3. Set layers to 2
4. Click create

OBSERVED RESULT
A fill background with the image as an alpha channel is created. The raster
layer above is completely empty. The document does not resemble the clipboard
image.

EXPECTED RESULT
A fill background layer is created with a raster layer containing the image
above it.

-- 
You are receiving this mail because:
You are watching all bug changes.