Small statusbar improvements patch

Bug #365287 reported by Denilson Sá
2
Affects Status Importance Assigned to Milestone
PIDA
New
Undecided
Unassigned

Bug Description

The current statusbar (as of version 0.5.1) is not okay. There are two main issues with it:

1. The filemanager directory and the current filename fields force the window to expand in order to fit them. In other words, if I navigate to a deep directory structure, the statusbar expands itself too much, and forces the window to expand. It went so bad that it became wider than 1280 pixels, which is my monitor width.

2. The filesize shows "o", "Ko", "Mo"... as units. It should be B (for bytes).

This patch fixes both issues.

Future improvements:

Unfortunately, if one of the fields (e.g. directory) gets too big and the other gets too small (e.g. filename), they keep themselves at the same size, wasting some space. The best would be if they tried to find a "best fit". I don't know how to do that, so I can't help with that now.

Also, the best would be to have some configuration options, as I would probably remove that modification time field, as it takes up too much space and isn't useful for me.

Revision history for this message
Denilson Sá (denilsonsa) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.