Bug 335092 - text tool modification doesn't allow to delete content from the layer
Summary: text tool modification doesn't allow to delete content from the layer
Alias: None
Product: krita
Classification: Applications
Component: Tools (show other bugs)
Version: 2.8.2
Platform: Mint (Ubuntu based) Linux
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
Depends on:
Reported: 2014-05-20 18:24 UTC by eduardelriceam
Modified: 2015-01-29 12:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description eduardelriceam 2014-05-20 18:24:57 UTC
When you use the text modification tool and then try to delete something from another layer it doesn't let you do it until you do something on that layer

Reproducible: Always

Steps to Reproduce:
1. create a new file
2. make some strokes on the layer
3. create a text layer write something
4. modify the text
5. select all
6. pick the normal layer
7. try to erase it with the delete key
8. Nothing happens

1. make a stroke in the layer
2. now it works normally

Expected Results:  
it should delete what is on the layer
Comment 1 Halla Rempt 2014-06-20 12:51:44 UTC
The issue isn't that you need to make a stroke, but that on activating the paint layer, the vector object manipulation tool is still active, and it doesn't forward the delete action correctly. It's enough to press 'b' to activate the brush tool. Still, it's confusing and annoying.
Comment 2 Halla Rempt 2015-01-29 12:20:11 UTC
Git commit 8d6500b10847102bffd3cea7f816ed8a9577902d by Boudewijn Rempt.
Committed on 29/01/2015 at 12:17.
Pushed by rempt into branch 'calligra/2.9'.

On switching to a vector layer, if the current tool doesn't work on
vector layers, switch to the interaction tool, and on switching to a
pixel layer, if the current tool doesn't work on a pixel layer, switch
to the freehand brush.

It might be possible to do this more neatly by having different shape
activation id's, but that's a huge can of worms.

M  +30   -2    krita/ui/kis_node_manager.cpp