Version: (using KDE KDE 3.1) Installed from: Unspecified Linux Compiler: gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7) OS: Linux KDE release 3.1.0, kooka 0.39 (included with release) Settings --> Configure Toolbars... It shows both "Show Scan Parameter" and "Show Scan Parameters" in the available actions. If you choose "Show Scan Parameter" (the one without the 's' on the end), and click it on the toolbar, it immediately crashes signal 11. The "Show Scan Parameters" option works correctly as far as I can tell.
Subject: KDE_3_1_BRANCH: kdegraphics/kooka CVS commit by staikos: GUI: Fix #54497 CCMAIL: 54497-done@bugs.kde.org, freitag@suse.de M +5 -3 kooka.cpp 1.35.2.1 --- kdegraphics/kooka/kooka.cpp #1.35:1.35.2.1 @@ -119,7 +119,9 @@ void Kooka::setupActions() m_statusbarAction = KStdAction::showStatusbar(this, SLOT(optionsShowStatusbar()), actionCollection()); - m_scanParamsAction = new KToggleAction(i18n("Show Scan &Parameter"), 0, this, - SLOT(optionsShowScanParams()), actionCollection(), - "show_scanparams" ); + m_scanParamsAction = new KToggleAction(i18n("Show Scan &Parameters"), + KShortcut(), this, + SLOT(optionsShowScanParams()), + actionCollection(), + "dock_scanparams" ); m_scanParamsAction->setChecked( true );
This fixes the crash, but leaves two "Show Scan Parameters" Available actions in the listbox. When you click the "Show Sca..." option and click the right arrow to put it on the toolbar, only one is displayed. The duplicate option disappears from the listbox. When you remove it from the toolbar, there are two again.
see comment #2
Removed duplicate creation of the action, that fixes the issue described in comment 2