Page 1 of 2
Details View: To show -- (a dash or two dashes) for empty fields
Posted: 12 Aug 2021 15:26
by John_C
I like how it looks in macOS Finder:
finder-list-sierra.jpg
If the field is blank (e.g., no extension in case of a folder), Finder displays
-- instead of leaving the field blank. This can be a good option for XYplorer as well (except for fields that are filled manually, e.g. "Comment").
Re: Details View: To show -- (a dash or two dashes) for empty fields
Posted: 12 Aug 2021 17:10
by Horst
The size field for a folder is not blank.
It can be filled with the size of all files in the folder and its sub-folders.
Personaly I don't see any benefit of this suggestion.
Re: Details View: To show -- (a dash or two dashes) for empty fields
Posted: 31 Jan 2023 14:04
by admin
Neither do I, but just as a note: it would be easy to add.
Re: Details View: To show -- (a dash or two dashes) for empty fields
Posted: 03 Feb 2023 01:59
by WirlyWirly
If this were a tweak, I'd enable it just so that my extension column had some uniformity between directories and files.
Not something I'm crying over though, might be a nice little feature if you feel like fluffing-up a bug fixes update

Re: Details View: To show -- (a dash or two dashes) for empty fields
Posted: 03 Feb 2023 08:10
by highend
Same here, I'd like to see a "--" for folders as well (like the way it's looking on the Mac)
Re: Details View: To show -- (a dash or two dashes) for empty fields
Posted: 03 Feb 2023 08:22
by admin
What are we talking about? Ext, Size, or all blank fields?
Re: Details View: To show -- (a dash or two dashes) for empty fields
Posted: 03 Feb 2023 09:17
by highend
Make it a bit field tweak:
Code: Select all
0 = Normal (old) behavior
1 = Size
2 = Ext
...
<x> = All
Everybody could then choose what he wants to display. For me Size would be enough (I'll never show the ext column for example)...
This wouldn't break sorting (-- is treated as 0), would it?
Re: Details View: To show -- (a dash or two dashes) for empty fields
Posted: 03 Feb 2023 15:15
by admin
Next beta has 4 tweaks (too lazy to document it further):
Code: Select all
ListEmptyCellExtDir=<DIR>
ListEmptyCellExtFile=--
ListEmptyCellSize=--
ListEmptyCellOther=Ø
No, it does not break sorting, it's only visual.
Re: Details View: To show -- (a dash or two dashes) for empty fields
Posted: 03 Feb 2023 19:56
by admin
I made my dirs show a "BLACK DIAMOND" and yes, it's an improvement.
Re: Details View: To show -- (a dash or two dashes) for empty fields
Posted: 06 Feb 2023 02:09
by WirlyWirly
admin wrote: ↑03 Feb 2023 15:15
Next beta has 4 tweaks (too lazy to document it further):
Code: Select all
ListEmptyCellExtDir=<DIR>
ListEmptyCellExtFile=--
ListEmptyCellSize=--
ListEmptyCellOther=Ø
No, it does not break sorting, it's only visual.
Works great, to anyone reading this, paste those lines into the [Settings] section of your xyplorer.ini file, otherwise they won't work

Re: Details View: To show -- (a dash or two dashes) for empty fields
Posted: 06 Feb 2023 03:42
by RalphM
If your current version supports these tweaks then these lines are already there, you just need to adapt the parts after the "=".
If the lines are missing then you need to upgrade to the appropriate beta or above when the tweak was introduced.
Never add lines to the ini yourself!
Re: Details View: To show -- (a dash or two dashes) for empty fields
Posted: 06 Feb 2023 05:11
by WirlyWirly
Correct, but in this case even on updating to the latest beta they weren't generated in my .ini.
I thought it might have been an exception since they weren't mentioned at all in the beta log, but it must have just been on my end

Re: Details View: To show -- (a dash or two dashes) for empty fields
Posted: 06 Feb 2023 14:39
by GreetingsFromPoland
hi! can you tell me what setting i am missing to get this to display properly ?
this is what i see. the PDFs folder doesn't contain any subfolders, all the files are in the root of the folder :
Image-004.png
these are the current settings of the tweaks :
Image-005.png
new folder created, the -- displays correctly; however, :
Image-006.png
shouldn't the black diamond only be showing when the folder is empty (since the tweak says "...Empty") ? and no black diamond when there is a size ?
maybe i'm not understanding this correctly.
Re: Details View: To show -- (a dash or two dashes) for empty fields
Posted: 06 Feb 2023 14:46
by highend
? The diamond is used for the ext column.
You've calculated folder sizes, hence it displays the real value for the PDFs entry, not the "--"
Re: Details View: To show -- (a dash or two dashes) for empty fields
Posted: 06 Feb 2023 15:04
by RalphM
Just how I understand this tweak, if the value for ext is Null = a directory, it shows the black diamond instead.