Details View: To show -- (a dash or two dashes) for empty fields

Features wanted...
John_C
Posts: 336
Joined: 16 May 2018 20:04

Details View: To show -- (a dash or two dashes) for empty fields

Post by John_C »

I like how it looks in macOS Finder:
finder-list-sierra.jpg
finder-list-sierra.jpg (306.02 KiB) Viewed 1326 times
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").

Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Details View: To show -- (a dash or two dashes) for empty fields

Post 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.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Details View: To show -- (a dash or two dashes) for empty fields

Post by admin »

Neither do I, but just as a note: it would be easy to add.

WirlyWirly
Posts: 195
Joined: 21 Oct 2020 23:33
Location: Through the Looking-Glass

Re: Details View: To show -- (a dash or two dashes) for empty fields

Post 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 :appl:

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Details View: To show -- (a dash or two dashes) for empty fields

Post by highend »

Same here, I'd like to see a "--" for folders as well (like the way it's looking on the Mac)
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Details View: To show -- (a dash or two dashes) for empty fields

Post by admin »

What are we talking about? Ext, Size, or all blank fields?

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Details View: To show -- (a dash or two dashes) for empty fields

Post 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?
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Details View: To show -- (a dash or two dashes) for empty fields

Post 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.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Details View: To show -- (a dash or two dashes) for empty fields

Post by admin »

I made my dirs show a "BLACK DIAMOND" and yes, it's an improvement. :tup:

Code: Select all

ListEmptyCellExtDir=◆
Attachments
BlackDiamond.png
BlackDiamond.png (46.87 KiB) Viewed 796 times

WirlyWirly
Posts: 195
Joined: 21 Oct 2020 23:33
Location: Through the Looking-Glass

Re: Details View: To show -- (a dash or two dashes) for empty fields

Post 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 :tup:

RalphM
Posts: 1932
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Details View: To show -- (a dash or two dashes) for empty fields

Post 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!
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

WirlyWirly
Posts: 195
Joined: 21 Oct 2020 23:33
Location: Through the Looking-Glass

Re: Details View: To show -- (a dash or two dashes) for empty fields

Post 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 :P

GreetingsFromPoland
Posts: 216
Joined: 29 Sep 2022 14:20

Re: Details View: To show -- (a dash or two dashes) for empty fields

Post 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
Image-004.png (3.41 KiB) Viewed 701 times
these are the current settings of the tweaks :
Image-005.png
Image-005.png (2.18 KiB) Viewed 701 times
new folder created, the -- displays correctly; however, :
Image-006.png
Image-006.png (2.04 KiB) Viewed 701 times
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.

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Details View: To show -- (a dash or two dashes) for empty fields

Post 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 "--"
One of my scripts helped you out? Please donate via Paypal

RalphM
Posts: 1932
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Details View: To show -- (a dash or two dashes) for empty fields

Post by RalphM »

Just how I understand this tweak, if the value for ext is Null = a directory, it shows the black diamond instead.
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

Post Reply