Version: 2.1 Beta 1 (using 4.2.1 (KDE 4.2.1) "release 103", KDE:KDE4:Factory:Desktop / openSUSE_11.0) Compiler: gcc OS: Linux (i686) release 2.6.25.20-0.5-pae To reproduce: -add slide layout -undo Result: Only on of the frame is removed. I would expect all of the to be removed.
SVN commit 1018169 by zander: Move inserting text to the text shape. CCBUG:205374 Provide a new property in the properties based 'createShape()' method called 'text' which will result in the argument QString to be inserted as text into the initial shape. Note that this will avoid any undo stack or similar. M +4 -6 kpresenter/part/KPrPlaceholderTextStrategy.cpp M +10 -3 plugins/textshape/TextShapeFactory.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1018169
SVN commit 1018170 by zander: Group the actions into one undo action. BUG:205374 M +2 -0 KPrPlaceholders.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1018170
The bug still happens at the first layout that is added to a document.
Git commit 4fb752e3eaf9f695cba28c0b2b7e46f14eaec8bb by Thorsten Zachmann. Pushed by zachmann into branch 'master'. Fix Adding a slide layout adds multiple commands One problem that still existed was that when a view was closed and a new document opened then muliple commands where inserted when a layout was selected. Disconnect before connecting again. BUG: 205374 M +4 -0 kpresenter/part/dockers/KPrPageLayoutDocker.cpp http://commits.kde.org/47e7010d/4fb752e3eaf9f695cba28c0b2b7e46f14eaec8bb