Bug 353734

Summary: Unable to enter 5-digit SMTP port (input field limited to 4 digits)
Product: [Applications] kmail2 Reporter: kramski
Component: config dialogAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kramski
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.1

Description kramski 2015-10-09 20:39:04 UTC
For security-by-obscurity reasons, my company's SMTP server runs on a non-standard 5-digit SMPT port like 54321. However, the configuration dialog for outgoing accounts only allows 4 digits for port entry.

Reproducible: Always

Steps to Reproduce:
1. Add a new outgoing (sending) account
2. Try to enter an SMTP port with 5 digits


Actual Results:  
Input field length limits entry to 4 digits

Expected Results:  
Allow entry of 5 digits

KMail 5.0.1 
KDE Frameworks 5.14.0
Qt 5.5.0 (built against 5.5.0)
Comment 1 Laurent Montel 2015-10-10 13:09:00 UTC
Git commit 5de58d14b098abc40b8c8cf9e3b2b6f1ba53f84d by Montel Laurent.
Committed on 10/10/2015 at 13:08.
Pushed by mlaurent into branch 'master'.

Fix Bug 353734 - Unable to enter 5-digit SMTP port (input field limited to 4 digits)

FIXED-IN: 5.1

M  +1    -1    src/ui/smtpsettings.ui

http://commits.kde.org/kmailtransport/5de58d14b098abc40b8c8cf9e3b2b6f1ba53f84d
Comment 2 kramski 2015-10-10 21:56:41 UTC
Glad to hear this is fixed, but my description was incorrect: It WAS possible to enter 5 digits, but values were limited to < 32768. That's why I couldn't enter something like 54321. Sorry for the misleading interpretation, and hopefully the fix already pays attention to the real limitation.

Thanks for the swift action.