This forum has been archived. All content is frozen. Please use KDE Discuss instead.

dolphin: Disk space information in status bar

Tags: None
(comma "," separated)
User avatar
gregormi
Registered Member
Posts
87
Karma
1
OS
Hi,
coming from this discussion https://git.reviewboard.kde.org/r/121375/ (which is already discarded by now because it had another focus) I suggest to show the "Space Information" bar in dolphin's status bar by default.

Reasons from my point of view:
* As I started using KDE as a new user I was not aware of the Space Information feature which I find very useful. I found it only accidently back then.
* On a freshly installed KDE, I currently don't see an obvious way to get information on how much space is left on my hard drive. Having a visual information about disk space in dolphin (as the application that manages files) seems intuitive to me.
* According to google image search "dophin kde" most of the screenshots of dolphin have the Space Information widget enabled.

So would the Space Information widget irritate some people because it looks so blocky (see link to discussion above)? Or is it ok to show it by default?
User avatar
Heiko Tietze
Registered Member
Posts
593
Karma
0
OS
Do you talk about the "progress bar" that can be enabled?
Image

(Sorry for the German. Second check box is "Show empty space".)
User avatar
andreas_k
Registered Member
Posts
561
Karma
0
I enable the space information and I have to say this information is very very useful for me because when I use nautilus and by backup disk was full I don't know why my backup script don't work and it need a long time to see that the disk is full.

when you turn of the space information you only have the size slide (there is no information what this slide is useful for in the image). do you want to turn of the status bar? but the bar is needed for the selected file information.

If you don't want to turn of the status bar. I will recommand to turn on the space information by default because this information is quite useful. maybe you want to use another style if you think it looks blocky.
User avatar
colomar
Registered Member
Posts
947
Karma
2
OS
+1 for showing space information by default
User avatar
andreas_k
Registered Member
Posts
561
Karma
0
+1 for the disk space information

and if you think it is to blocky two suggestions how you can make them maybe less blocky.


Please for the zoom slider can you put there anywhere an icon that the users know for what the slider is used for. Or show only the zoom + and zoom - symbols.
User avatar
emmanuel099
Registered Member
Posts
3
Karma
0
OS
There is also a bug report which should be included in this design process. See https://bugs.kde.org/show_bug.cgi?id=318395

What if we replace the progress bar by a simple text?
So we need no dynamically growing/shrinking progress bar to fix the translation issue (see bug 318395) and we can display more information in situations were the status text is very long.

Situations:
1. Default status text while visiting a folder + free space can be determined
2. Default status text while visiting a folder + free space can't be determined -> Unkown free space (useless?!)
3. Status text while hovering a file with a really long file name + free space can be determined
4. Status text while hovering a file with a really long file name + free space can't be determined -> Unkown free space (useless?!)

Situations in Dolphin (current solution):
1. 24 Folders, 16 Files (500 KiB) _______________________[Zoom slider][ 14 GiB free ]
2. 2 Folders (2 MiB) ____________________________________[Zoom slider][__Unkown__ ]
3. This is a very very very very looooooooooooooo ... [Zoom slider][ 14 GiB free ]
4. This is a very very very very looooooooooooooo ... [Zoom slider][__Unkown__ ]

Situations in Dolphin (text only free space information):
1. 24 Folders, 16 Files (500 KiB), 14 GiB free _________________________ [Zoom slider]
2. 2 Folders (2 MiB) ____________________________________________________[Zoom slider]
3. This is a very very very very looooooooooooooooooooong text ... [Zoom slider]
4. This is a very very very very looooooooooooooooooooong text __ [Zoom slider]
User avatar
gregormi
Registered Member
Posts
87
Karma
1
OS
Heiko Tietze wrote:Do you talk about the "progress bar" that can be enabled?
Image

Yes, this is it. (In code it is the StatusBarSpaceInfo which is derived from the KCapacityBar widget.)

andreas_k wrote:[...] do you want to turn of the status bar? but the bar is needed for the selected file information.
[...] I will recommand to turn on the space information by default because this information is quite useful. [...]

My request was to change the visibility of the SpaceInfo widget to be visible by default. No change of the status bar itself intended.

andreas_k wrote:and if you think it is to blocky two suggestions how you can make them maybe less blocky.

Please for the zoom slider can you put there anywhere an icon that the users know for what the slider is used for. Or show only the zoom + and zoom - symbols.

The first option might be a way to fix the bug https://bugs.kde.org/show_bug.cgi?id=318395 mentioned by emmanuel099.
I like the red which indicates low disk space.
On the other hand, I wonder if the horizontal bar (second option) cannot be relativly easily made variable in size. Currently, I like the second option better also because of consistency reasons: when you show the folders properties you also get a horizontal capacity bar; kdiskfree also shows this kind of bars.
As for the zoom slider, I suggest to open a separate topic.

emmanuel099 wrote:What if we replace the progress bar by a simple text?
So we need no dynamically growing/shrinking progress bar to fix the translation issue (see bug 318395) and we can display more information in situations were the status text is very long.

Situations: [...]

Thanks for giving an overview of the possible situations in the status bar. I find it useful to have the SpaceInfo visible in all situations. Plus: the status text is selection-dependent and the disk space information is independent from the current selection. (EDIT: +1 for the "display more information in situations were the status text is very long" intention. If the SpaceInfo widget should be hidden, I also would hide the slider widget; that would be consistent; I am aware, though, that this is harder to implement than just putting the space info to the status text.)
Later, I plan to post a review request which will add a menu to the SpaceInfo widget that will lead the user to more detailled information about free disk space. Even the "__Unknown__" (or similar) text could be useful: it is made transparent that the current folder is not a regular disk and one could implement some help text that informs the user about the (potential) reasons for the free disk space being in the unknown.
User avatar
gregormi
Registered Member
Posts
87
Karma
1
OS
emmanuel099 wrote:1. Default status text while visiting a folder + free space can be determined
2. Default status text while visiting a folder + free space can't be determined -> Unkown free space (useless?!)
3. Status text while hovering a file with a really long file name + free space can be determined
4. Status text while hovering a file with a really long file name + free space can't be determined -> Unkown free space (useless?!)

Hi, I just realized that the "Unknown size" is always displayed when a search result is displayed. I also think that in at least this case the free space information is rather useless.
User avatar
andreas_k
Registered Member
Posts
561
Karma
0
gregormi wrote:As for the zoom slider, I suggest to open a separate topic.

you can use the same style as for the kde dialogues. zoom icons on left and right side of the slider.
User avatar
gregormi
Registered Member
Posts
87
Karma
1
OS
The SpaceInfo widget will be visible by default in KDE Frameworks 5, see https://git.reviewboard.kde.org/r/121474/.

The new menu when left-clicked on the SpaceInfo widget which I mentioned above is developed here: [dolphin: add menu to SpaceInfo widget for detailled disk usage information](https://git.reviewboard.kde.org/r/121478/.


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]