custom columns: regarding items without value

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
autocart
Posts: 1422
Joined: 26 Sep 2013 15:22

custom columns: regarding items without value

Post by autocart »

Hi Don,
I have the following cc:

Code: Select all

Snip: CustomColumn 1
  XYplorer 17.80.0001, 23.03.2017 07:28:23
Action
  ConfigureColumn
Caption
  cSort
Type
  3
Definition
  if (<cc_ext> == "session") {
    return 1;
    }
Format
  2
Trigger
  0
Item Type
  0
Item Filter
  
It is meant to be for custom sorting items with the extension "session" at the top of the list (besides folders).
Under normal conditions it works. session-items get the value "1", all other items have no value in that column.
The items with value "1" are sorted ascendingly to the top.

Now, when I close a tab with that column and then "reopen last closed tab", then all "other" file items have the value "0" and are sorted on top of "1". All other ways of "navigating" there work fine, only when I reopen this as the last closed tab, then I have to do a manual refresh for the "0"s to go away again.

Regards, S.

autocart
Posts: 1422
Joined: 26 Sep 2013 15:22

Re: custom columns: regarding items without value

Post by autocart »

Besides, the copied snipped is headed "Snip: CustomColumn 1" although it actually is "Custom Column 13: cSort".
Not causing problems but I simply noticed it.

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

Re: custom columns: regarding items without value

Post by admin »

Cannot reproduce. Maybe it has been fixed along with another fix in v17.80.0002 (coming soon).
autocart wrote:Besides, the copied snipped is headed "Snip: CustomColumn 1" although it actually is "Custom Column 13: cSort".
Not causing problems but I simply noticed it.
That's just sth internal, snippet type and version number.

autocart
Posts: 1422
Joined: 26 Sep 2013 15:22

Re: custom columns: regarding items without value

Post by autocart »

admin wrote:Cannot reproduce. Maybe it has been fixed along with another fix in v17.80.0002 (coming soon).
Tested it now on v17.80.0003. Fixed. Thx.

Recently you have, as it seems, become very good in intuitively anticipating others wishes/replies (see also viewtopic.php?f=5&t=17195#p148082). Or you have been that way all along and I noticed it only recently. :D
Either way, thx for fixing the issue unknowingly.
admin wrote:That's just sth internal, snippet type and version number.
I see, thx for the info.

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

Re: custom columns: regarding items without value

Post by admin »

Or maybe you anticipated the coming features and fixes. Then I guess the upcoming enhancement in obfuscate is already on your mind right now... ;)

Post Reply