Network folder wizard can't accept entry above port 32767

Bug #80665 reported by ninjakttty
4
Affects Status Importance Assigned to Milestone
KDE Base
Fix Released
Medium
kdebase (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Steps to reproduce

1. Open the add a network folder wizard
2. Select ssh
3. Try to enter a port number higher than 32767

Revision history for this message
Michael Broadbent (mikebro) wrote :

Thank you for taking your time to file this bug report. We'd be grateful if you could provide more details so we could fix this bug. Some information that could be useful to us is:

Which version of Ubuntu are you using?
What are you using to set up this network folder (Are you sure it's called Network Folder Wizard?)
A detailed list of steps of how to create the bug so it can be reproduced easier and fixed faster

Revision history for this message
ninjakttty (ninjakttty) wrote : Re: [Bug 80665] Re: Network folder wizard can't accept entry above port 32767

Hi,

Sorry if I mis-categorized it, I'm using Kubuntu not Ubunu. I think that
may be where the confusion lie. I'm also using Edgy. I've included a
screenshot to show the application I'm talking about.

Steps to reproduce

  1. Open Konqorer
  2. Open Network Folders
  3. Open Add a Network Folder
  4. Try and enter a number higher than 32768 for the ssh port

Yuri A. Parsons

Revision history for this message
Richie Ward (richies) wrote :

Im having this problem too.. I cant get above that number.. it should be increased to 65535.

Im on Ubuntu Edgy 6.10.

Revision history for this message
Richie Ward (richies) wrote :

Found fix but I dont know alot about bug fixing in ubuntu.. anyway:

See: http://websvn.kde.org/*checkout*/trunk/KDE/kdebase/knetattach/knetattach.ui

          <widget class="QSpinBox" name="_port" >
            <property name="sizePolicy" >
              <sizepolicy>
                <hsizetype>1</hsizetype>
                <vsizetype>0</vsizetype>
                <horstretch>1</horstretch>
                <verstretch>0</verstretch>
              </sizepolicy>
            </property>
            <property name="maximum" >
              <number>32768</number>
            </property>
            <property name="minimum" >
              <number>1</number>
            </property>
          </widget>

should be replaced with:

          <widget class="QSpinBox" name="_port" >
            <property name="sizePolicy" >
              <sizepolicy>
                <hsizetype>1</hsizetype>
                <vsizetype>0</vsizetype>
                <horstretch>1</horstretch>
                <verstretch>0</verstretch>
              </sizepolicy>
            </property>
            <property name="maximum" >
              <number>65535</number>
            </property>
            <property name="minimum" >
              <number>1</number>
            </property>
          </widget>

Revision history for this message
Richie Ward (richies) wrote :

heres the patch

Revision history for this message
Michael Broadbent (mikebro) wrote :

knetattach has a hardcoded maximum port value of 32768.

Changed in kdebase:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Changed in kdebase:
status: Unknown → Unconfirmed
Revision history for this message
Richie Ward (richies) wrote :

Oops, I will try and find it in source.. tnx :)

Changed in kdebase:
status: New → Confirmed
Revision history for this message
Harald Sitter (apachelogger) wrote :

Fixed in KDE 4.1 beta2 (possibly earlier).

Changed in kdebase:
status: Confirmed → Fix Released
Changed in kdebase:
status: Confirmed → Fix Released
Changed in kdebase:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.