プロジェクト

全般

プロフィール

Vote #76696

未完了

Maximum attachment size displayed/labeled incorrectly

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
UI_10
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
10
version_id:
0
issue_org_id:
20646
author_id:
1246
assigned_to_id:
0
comments:
2
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

I set maximum attachment size to 5000KB in Settings, since I wanted a maximum of 5MB.

However, the 'new issue' form displays the maximum size as 4.88MB.

I can see three possibilities here:

  1. The form should say 4.77MiB, but is calculating incorrectly.
  2. The form should say 5MB.
  3. The settings field should be relabeled to specify that the maximum file size is in KiB, not KB.

Since I use Linux and OS X, and generally care about how file sizes relate to disk space (which hardware manufacturers measure in base 10), my preference would be for KB/MB/GB throughout.

However, you might want to go with KiB/MiB/GiB for the benefit of Windows users, unless Microsoft has fixed the display of file sizes in Windows 10.

Link for the unconvinced: http://lpar.ath0.com/2008/07/15/si-unit-prefixes-a-plea-for-sanity/


journals

1MB is 1024KB, so 5000KB is 4.88MB, isn't it?

Edit: And yes, I'm one of those who refuse to call their Megabytes Mebibytes ;)
--------------------------------------------------------------------------------
Being deliberately confusing should not be the default.
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリUI_10 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0