! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Show exact size in bytes in directory properties dialog
Status:
RESOLVED: FIXED
Severity:
enhancement

Comments

Description Adam Purkrt 2016-09-17 20:43:38 CEST
Created attachment 6849 
thunar-size-label.patch

The properties dialog currently shows only the human readable size.

The proposed patch shows exact size in bytes too, which is a valuable info in a number of cases.
Comment 1 Adam Purkrt 2016-09-17 20:45:05 CEST
Created attachment 6850 
Properties dialog comparison (unpatched vs. patched)
Comment 2 alexxcons editbugs 2018-01-30 22:37:05 CET
Created attachment 7564 
to much text

Hi Adam, sorry for the late reply and thanks alot for the patch! I just tested it.

Generally I am ok with adding the size in bytes, However at least in german the default size of the window is too small to display the full text.

Bad thing is, the text is clinched exactly where the total size in GB is displayed :F .. so that I always would need to expand the window to see the most important size-info.

So I would suggest to add an additional label in the next line instead.
Comment 3 Adam Purkrt 2018-02-01 12:11:36 CET
Created attachment 7565 
Show-exact-bytecount

Hi Alex, how about this change? I.e. use wrapping instead of extra label (which would mean quite a lot of extra hassle).
Comment 4 Git Bot editbugs 2018-02-01 13:01:53 CET
Adam Purkrt referenced this bugreport in commit ecd8de58f5b784396f1fdf634004611e90fdc325

Show exact size in bytes in directory properties dialog (bug #12858)

https://git.xfce.org/xfce/thunar/commit?id=ecd8de58f5b784396f1fdf634004611e90fdc325
Comment 5 alexxcons editbugs 2018-02-01 13:03:42 CET
Much better , thanks !

Pushed to master, will be released with 1.8.0. ( hopefully soon )

Bug #12858

Reported by:
Adam Purkrt
Reported on: 2016-09-17
Last modified on: 2018-02-01

People

Assignee:
Xfce Bug Triage
CC List:
3 users

Version

Version:
1.6.10

Attachments

thunar-size-label.patch (778 bytes, patch)
2016-09-17 20:43 CEST , Adam Purkrt
no flags
Properties dialog comparison (unpatched vs. patched) (55.87 KB, image/png)
2016-09-17 20:45 CEST , Adam Purkrt
no flags
to much text (33.89 KB, image/png)
2018-01-30 22:37 CET , alexxcons
no flags
Show-exact-bytecount (1.73 KB, patch)
2018-02-01 12:11 CET , Adam Purkrt
no flags

Additional information