Version: (using KDE KDE 3.5.4) Installed from: Debian testing/unstable Packages OS: Linux I'm using KDE 3.5 on my Debian testing system (latest packages) in Kiosk mode. When copying text or files to the kde clipboard kdesktop crashes. In fact kdesktop receives signal 11 (konsole: *** kdesktop (3860) got signal 11). I guessed it could be something about the configuration. After some time of try 'n error, I figured out that this is a problem about the "editable_desktop_icons=false" setting in kdeglobals. When deleted or set to true, kdesktop doesn't crash. I've also sucessfully reproduced crashes on my ordinary desktop machine (also Debian testing with latest updates) and on FreeBSD: Just add "editable_desktop_icons=false" to the [KDE Action Restrictions]-section in kdeglobals, restart kdesktop (so it reads the updated kdeglobals), start kedit, mark a text and copy it by using either the right-mouse-menu or the copy-button to the kde clipboard and kdesktop crashes. Same happens when trying to copy files in konqueror. Starting or stopping klipper doesn't have any influence. On the kiosk box I use kernel 2.6.16-2-686, on my desktop box 2.6.8-2-k7. FreeBSD version unknown. Thank you, Michael --- ~/.kde/share/config/kdeglobals: ... [KDE Action Restrictions] editable_desktop_icons=false ...
Please provide the backtrace from the crash.
I see, some actions aren't created and yet they are used later on. I'll fix it.
SVN commit 581571 by dfaure: Fix crash in kiosk mode (editable_desktop_icons=false) BUG: 133665 M +5 -2 kdiconview.cc --- branches/KDE/3.5/kdebase/kdesktop/kdiconview.cc #581570:581571 @@ -1222,8 +1222,11 @@ QString actionText = KIO::pasteActionText(); bool paste = !actionText.isEmpty(); - if ( paste ) - m_actionCollection.action( "paste" )->setText( actionText ); + if ( paste ) { + KAction* pasteAction = m_actionCollection.action( "paste" ); + if ( pasteAction ) + pasteAction->setText( actionText ); + } slotEnableAction( "paste", paste ); }
Bug closed. Kdesktop is no more mantained.