Version: HEAD (using KDE KDE 3.5.1) Installed from: Compiled From Sources OS: Linux PROBLEM: At present the JavaScript console is not usable due to the presence of default shortcuts for the data wizard (W) and 2D plot(2) STEPS TO REPRODUCE; Start Kst Enable the JavaScript extension if necessary Select Tools... Show JavaScript Console Enter a command RESULTS: Any command that uses 'W' or '2' will launch the associated shortcut EXPECTED RESULTS: No shortcut should be launched when typing into the JavaScript console
It probably makes most sense not to use shortcuts which are a single alphanumeric key (W and 2). Though this still does not save the user from themselves if they were to create such shortcuts on their own.
I confirm this bug.
One-key shortcuts are actually generally against KDE UI policy (see KMail changes). I could switch them to CTRL+ALT+W and CTRL+2. Shortcuts will always trigger top-level so changing the keys is the only choice. -- George Staikos KDE Developer http://www.kde.org/ Staikos Computing Services Inc. http://www.staikos.net/
SVN commit 648184 by staikos: Choose non-1-character key shortcuts Reviewed by Barth. BUG: 143352 M +2 -2 kst.cpp --- trunk/extragear/graphics/kst/src/libkstapp/kst.cpp #648183:648184 @@ -733,7 +733,7 @@ /************/ DataWizardAction = new KAction(i18n("Data &Wizard"), "wizard", - KShortcut(Key_W), + KShortcut(CTRL+ALT+Key_W), this, SLOT(showDataWizard()), actionCollection(), "datawizard_action"); DataWizardAction->setWhatsThis(i18n("Bring up a wizard\n" @@ -791,7 +791,7 @@ _gfxPictureAction->setWhatsThis(i18n("Insert picture")); _gfx2DPlotAction = new KRadioAction(i18n("&2DPlot"), "kst_newplot", - KShortcut(Key_2), + KShortcut(CTRL+Key_2), this, SLOT(toggleMouseMode()), actionCollection(), "2dplot_action"); _gfx2DPlotAction->setExclusiveGroup("gfx");