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
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").
To see the attached files, you need to log into the forum.

Horst
Posts: 1374
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, Version 25H2 (OS Build 26200.8457)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1412b (x64), Everything Toolbar 2.3.0, Listary Pro 6.3.6.99

admin
Site Admin
Posts: 66097
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @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: 312
Joined: 21 Oct 2020 23:33
Location: XY 64-Bit | Win 10 @ 100% (3440x1440)

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: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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: 66097
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @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: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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: 66097
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @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: 66097
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @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=◆
To see the attached files, you need to log into the forum.

WirlyWirly
Posts: 312
Joined: 21 Oct 2020 23:33
Location: XY 64-Bit | Win 10 @ 100% (3440x1440)

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: 2086
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 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

WirlyWirly
Posts: 312
Joined: 21 Oct 2020 23:33
Location: XY 64-Bit | Win 10 @ 100% (3440x1440)

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: 284
Joined: 29 Sep 2022 14:20
Location: Win10 @125%

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
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.
To see the attached files, you need to log into the forum.

highend
Posts: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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: 2086
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 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

Post Reply