[rfc][icedtea-web][itweb-settings] Improve Icedtea-Web cache disk space

Jacob Wisor gitne at gmx.de
Wed Jul 9 12:40:41 UTC 2014


On 07/09/2014 08:21 AM, helpcrypto helpcrypto wrote:
> My two cents:KISS

Yes, this is what we are trying to accomplish here; KISS for users while giving 
them the most possible freedom.

> Place a textbox and let the user define "maximum cache size" using text. 0 for
> no cache.

No, this is not user friendly. Although text boxes work almost anywhere they are 
simply not well suited for every purpose. The most common problem with text 
boxes is that it is not always clear to the user what to enter or what the 
format of the data entered should be. So, a text box's value would have to be 
checked for being a number in this case anyway. The JSpinner does this already. 
A JSpinner is exactly the right UI component for this purpose.

> IMHO: Initial value to 100MB will be fair enough.

100 MB is as arbitrary as any other value. Available disk space, user quota, or 
0 are not (from the user's point of view).

> Remove the spinner, any other references, values and checks.

Why? We want to give users the freedom to chose any value that suites them best. 
You cannot do this with a JSlider because it imposes predefined arbitrary 
limits. If a user has a use case for a cache size of say 8 TB then why should 
anybody or any software limit him to do so?

Jacob


More information about the distro-pkg-dev mailing list