Version: 1.2.1 (using KDE KDE 3.1) Installed from: Unlisted Binary Package OS: Linux Frequently when I'm editing text, the "cut" action is disabled even though text is selected. How to duplicate: + Create an empty presentation. + Create a new text box. + Type some text. + Click outside the text box with the mouse (this stops editing and deselects the text box) + Double-click on the text box to put it in edit mode. + Select some text with the mouse. + Try to "cut" this text. On 1.2.1, this fails 100% of the time.
Confirmed. Strange that the "Cut" action is properly enabled when one selects the text with keyboard...
Subject: koffice/kpresenter CVS commit by lukas: fix bug 57024: "cut" often disabled when text selected CCMAIL: 57024-done@bugs.kde.org M +7 -5 kpresenter_view.cc 1.963 --- koffice/kpresenter/kpresenter_view.cc #1.962:1.963 @@ -3306,5 +3306,5 @@ void KPresenterView::objectSelectedChang KPObject *obj=m_canvas->getSelectedObj(); //disable this action when we select a header/footer - if(obj==m_pKPresenterDoc->header() ||obj==m_pKPresenterDoc->footer()) + if(obj==m_pKPresenterDoc->header() || obj==m_pKPresenterDoc->footer()) headerfooterselected=true; else @@ -6711,10 +6711,11 @@ void KPresenterView::slotObjectEditChang { double leftMargin =edit->currentParagLayout().margins[QStyleSheetItem::MarginLeft]; - actionTextDepthMinus->setEnabled( val && leftMargin>0); + actionTextDepthMinus->setEnabled(val && leftMargin>0); hasSelection = edit->textObject()->hasSelection(); + actionEditCut->setEnabled(hasSelection); } actionCreateStyleFromSelection->setEnabled((edit!=0)&& hasSelection); - actionChangeCase->setEnabled( (val && rw && hasSelection ) || (rw && !edit && isText)); + actionChangeCase->setEnabled( (val && rw && hasSelection ) || (rw && !edit && isText) ); if(!edit) @@ -6726,5 +6727,5 @@ void KPresenterView::slotObjectEditChang KPObject *obj=m_canvas->getSelectedObj(); //disable this action when we select a header/footer - if(obj==m_pKPresenterDoc->header() ||obj==m_pKPresenterDoc->footer()) + if(obj==m_pKPresenterDoc->header() || obj==m_pKPresenterDoc->footer()) headerfooterselected=true; else