Opened 15 years ago

Closed 15 years ago

Last modified 11 years ago

#177 closed Defect (fixed)

Fields in preferences should only accept numbers

Reported by: patsalov Owned by: somebody
Priority: Normal Milestone: Sometime
Component: Mac Client Version: Other
Severity: Minor Keywords: 0.7svn-1300
Cc:

Description

I noticed that it is possible to enter letters and other characters into the field "Incoming TCP Port" in the Network tab of Preferences on the Mac. This should not be the case. The field should only accept numbers, like the Firewall tab in the Sharing Preference Pane. There, when adding a new service, you can only enter numbers within the "TCP port Number(s):" field.

Using: Revision 1300.

Change History (9)

comment:1 Changed 15 years ago by patsalov

  • Severity changed from blocker to minor

comment:2 Changed 15 years ago by patsalov

  • Keywords 0.7svn-1300 added

In fact, one can enter letters into a number of fields within Preferences, such as:

"Stop at Ratio" and all the numeric fields within "Bandwidth".

comment:3 Changed 15 years ago by Bucko

This behaviour is also in the Options tab of the Inspector window.

comment:4 Changed 15 years ago by livings124

  • Summary changed from "Incoming TCP Port" formatting to Fields in preferences should only accept numbers

comment:5 Changed 15 years ago by livings124

This behavior is in the preferences, but does not appear in the inspector. If you enter an invalid value in the inspector it will beep and essentially require the user to enter a valid number, which is to be expected.

comment:6 Changed 15 years ago by Bucko

I thought the expected behaviour is to not accept the typing of invalid values at all. Like iTunes does when trying to enter letters in the 'year' field.

comment:7 Changed 15 years ago by livings124

  • Priority changed from highest to normal

comment:8 Changed 15 years ago by livings124

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [1304] and [1305].

It's not exactly the behavior of iTunes year fields, but Apple's not too consistent with how to treat this within their apps.

comment:9 Changed 11 years ago by jordan

  • Component changed from Transmission to Mac Client
Note: See TracTickets for help on using tickets.