<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>135144</bug_id>
          
          <creation_ts>2006-10-05 14:24:38 +0000</creation_ts>
          <short_desc>speed increasing/decreasing does not work</short_desc>
          <delta_ts>2006-10-09 07:26:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kgoldrunner</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Slackware</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>richlv</reporter>
          <assigned_to name="Ian Wadham">iandw.au</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>474851</commentid>
    <comment_count>0</comment_count>
    <who name="">richlv</who>
    <bug_when>2006-10-05 14:24:38 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.5.4)
Installed from:    Slackware Packages
OS:                Linux

speed increasing and decreasing does not work both from menu &amp; using shortcut keys. instead, increasing/decreasing entry is &quot;selected&quot;.

as handbook seems to indicate that there are additional speed levels to beginner/normal/fast, they are not available because of this problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>475024</commentid>
    <comment_count>1</comment_count>
    <who name="Ian Wadham">iandw.au</who>
    <bug_when>2006-10-06 05:27:59 +0000</bug_when>
    <thetext>Actions for increase/decrease speed were included in a KToggleAction group, along with the other speed actions, so + and - work ... but only once.  Will fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>475546</commentid>
    <comment_count>2</comment_count>
    <who name="Ian Wadham">iandw.au</who>
    <bug_when>2006-10-09 07:26:53 +0000</bug_when>
    <thetext>SVN commit 593791 by ianw:

BUG: 135144 Make actions for increase/decrease speed repeatable, not toggle.

 M  +2 -4      kgoldrunner.cpp  
 M  +3 -0      kgoldrunnerui.rc  


--- branches/KDE/3.5/kdegames/kgoldrunner/src/kgoldrunner.cpp #593790:593791
@@ -367,12 +367,12 @@
 				0,
 				this, SLOT(champSpeed()), actionCollection(),
 				&quot;champion_speed&quot;);
-    KRadioAction * iSpeed =	new KRadioAction (
+    (void)			new KAction (		// Repeatable action.
 				i18n(&quot;Increase Speed&quot;),
 				Key_Plus,
 				this, SLOT(incSpeed()), actionCollection(),
 				&quot;increase_speed&quot;);
-    KRadioAction * dSpeed =	new KRadioAction (
+    (void)			new KAction (		// Repeatable action.
 				i18n(&quot;Decrease Speed&quot;),
 				Key_Minus,
 				this, SLOT(decSpeed()), actionCollection(),
@@ -381,8 +381,6 @@
     nSpeed-&gt;			setExclusiveGroup (&quot;speed&quot;);
     bSpeed-&gt;			setExclusiveGroup (&quot;speed&quot;);
     cSpeed-&gt;			setExclusiveGroup (&quot;speed&quot;);
-    iSpeed-&gt;			setExclusiveGroup (&quot;speed&quot;);
-    dSpeed-&gt;			setExclusiveGroup (&quot;speed&quot;);
     nSpeed-&gt;			setChecked (TRUE);
 
     // Traditional Rules
--- branches/KDE/3.5/kdegames/kgoldrunner/src/kgoldrunnerui.rc #593790:593791
@@ -68,5 +68,8 @@
     &lt;Action shortcut=&quot;Space&quot;		name=&quot;stop&quot; /&gt;
     &lt;Action shortcut=&quot;Z;U&quot;		name=&quot;dig_left&quot; /&gt;
     &lt;Action shortcut=&quot;C;O&quot;		name=&quot;dig_right&quot; /&gt;
+
+    &lt;Action shortcut=&quot;+&quot;		name=&quot;increase_speed&quot; /&gt;
+    &lt;Action shortcut=&quot;-&quot;		name=&quot;decrease_speed&quot; /&gt;
 &lt;/ActionProperties&gt;
 &lt;/kpartgui&gt;
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>