Review Request 122254: Remove inline objects from manager in DeleteCommand

Camilla Boemann cbr at boemann.dk
Sun Jan 25 23:04:34 GMT 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122254/#review74728
-----------------------------------------------------------

Ship it!


Ship It!

- Camilla Boemann


On Jan. 25, 2015, 10:55 p.m., Elvis Stansvik wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122254/
> -----------------------------------------------------------
> 
> (Updated Jan. 25, 2015, 10:55 p.m.)
> 
> 
> Review request for Calligra, Camilla Boemann and Inge Wallin.
> 
> 
> Bugs: 303492
>     http://bugs.kde.org/show_bug.cgi?id=303492
> 
> 
> Repository: calligra
> 
> 
> Description
> -------
> 
> This patch makes sure that the text editor's DeleteCommand removes inline objects from the KoInlineTextObjectManager when the user removes them.
> 
> With the patch applied, end notes are correctly removed when you remove their reference in the main text. It thus fixes bug #303492.
> 
> The reason I'm putting it up for review is that:
> 
> 1. I'm not 100% sure the fix is correct.
> 2. I'm still confused as to why it seemingly works to remove foot notes at the moment, and not end notes. It would seem to me it shouldn't work for either of them.
> 
> 
> Diffs
> -----
> 
>   libs/kotext/commands/DeleteCommand.h f6faad2 
>   libs/kotext/commands/DeleteCommand.cpp 7c69df7 
> 
> Diff: https://git.reviewboard.kde.org/r/122254/diff/
> 
> 
> Testing
> -------
> 
> I tested adding/removing footnotes and endnotes in various places, and removing them by backspacing/deleting across their references, or selecting a bunch of references with the mouse and hitting backspace/delete. Both footnotes and endnotes were removed from the bottom of the page/document.
> 
> 
> Thanks,
> 
> Elvis Stansvik
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20150125/b49e3814/attachment.htm>


More information about the calligra-devel mailing list