Bug 287758 - When using transparent selection, moving a selection deletes it.
Summary: When using transparent selection, moving a selection deletes it.
Status: RESOLVED DUPLICATE of bug 277167
Alias: None
Product: kolourpaint
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kolourpaint-support
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-28 14:47 UTC by Andreas Nordal
Modified: 2011-12-15 11:17 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Nordal 2011-11-28 14:47:29 UTC
Version:           unspecified (using KDE 4.7.2) 
OS:                Linux

This is a duplicate of bug 277408, which is incorrectly closed. I was unable to reopen it, sorry.

As I understand bug 277408, the selection disappears not only from the source, but also from the destination, which is what I experience. Specifically, the selected rectangle turns white immediately when I start dragging it, irrespective if I use the mouse or arrow keys. As I drag that white rectangle around, I may see strange artifacts inside it depending on what colors and shapes was originally in it, and the background that I drag it over.

This is a regression between KDE 4.6.0 and 4.7.2. Specifically, Kolourpaint
works in OpenSUSE 11.4 and Tumbleweed, but after
dist-upgrading to OpenSUSE 12.1, Kolourpaint is (for all my purposes) useless.
Unlike bug 287749, downgrading Kolourpaint to 4.6.0 (the good old OpenSUSE 11.4 package) while running KDE 4.7.2 fixes this.

Reproducible: Always

Steps to Reproduce:
1) Fill the background with a non-white color.
2) Make a selection. The selection tool has 2 modes, use the one that does not treat white as transparent.
3) Click and move the selection to a new destination.

Actual Results:  
You see 2 white rectangles on the colored background, both the source and destination of the move.

Expected Results:  
There should be only 1 white rectangle, the source. The destination should contain what was originally selected.
Comment 1 Martin Koller 2011-11-28 19:22:47 UTC
I fear I do not understand your description.
Is this maybe the same as the problem in bug #277167 ?

If not, please tell me: What colors did you select as foreground, which one as background in the dual-color tool in the color toolbox ?
What color is your background filled with ?
Maybe you can save an image before and after the selection problem as attachment here, please.
Comment 2 Andreas Nordal 2011-11-29 14:09:46 UTC
> Is this maybe the same as the problem in bug #277167 ?

From the description, I would say no (this has nothing to do with pasting or writing text).
From WiseLord's screencast (comment 4), I would say YES!

In WiseLord's screencast, at time of 1 minute, he starts dragging transparent selections around. Notice how selections turn white immediately when starting the drag, so the content is not preserved. That's what I'm talking about!

In my «steps to reproduce», step 2 should probably be the opposite, namely to use transparent mode.

*** This bug has been marked as a duplicate of bug 277167 ***
Comment 3 Andreas Nordal 2011-11-29 14:17:27 UTC
> Is this maybe the same as the problem in bug #277167 ?

From the description, I would say no (this has nothing to do with pasting or writing text).
From WiseLord's screencast (comment 4), I would say YES!

In WiseLord's screencast, at time of 1 minute, he starts dragging transparent selections around. Notice how selections turn white immediately when starting the drag, so the content is not preserved. That's what I'm talking about!

In my «steps to reproduce», step 2 should probably be the opposite, namely to use transparent mode.
Comment 4 Andreas Nordal 2011-12-15 11:17:47 UTC

*** This bug has been marked as a duplicate of bug 277167 ***