Page 1 of 2

Custom Tab Icons Fail

Posted: 22 Oct 2013 11:51
by armsys
Suddenly I discover all custom tab icons fails.
In accordanc with the manual, the syntax should be: fav|E:\Test\Kiss.ico
Is there any probable cause?

Re: Custom Tab Icons Fail

Posted: 22 Oct 2013 12:27
by armsys
Any idea?

Re: Custom Tab Icons Fail

Posted: 22 Oct 2013 12:30
by eil
works for me. :| have you tried same on fresh install?

Re: Custom Tab Icons Fail

Posted: 22 Oct 2013 12:43
by armsys
Hi eil,
Already tried reinstalling both full and beta versions. But no luck!

Re: Custom Tab Icons Fail

Posted: 22 Oct 2013 13:17
by eil
but i see your 1st tab has an icon, so maybe it's something about icon for other tabs?

Re: Custom Tab Icons Fail

Posted: 22 Oct 2013 13:26
by armsys
eil wrote:but i see your 1st tab has an icon, so maybe it's something about icon for other tabs?
Per the manual, all options such as <xy> and folders are working fine.
Except, say, c:\abc.ico. It used to be working, but not now.

Re: Custom Tab Icons Fail

Posted: 22 Oct 2013 15:48
by Nighted
Wrong syntax. Look in the manual under Portable File Icons (not Portable File Associations).

Should look like this: "XY Root" XYplorer\>XYplorer.ico

Of course this is with icons stored in XY > Data > Icons.

Re: Custom Tab Icons Fail

Posted: 22 Oct 2013 16:27
by armsys
Nighted wrote:Wrong syntax. Look in the manual under Portable File Icons (not Portable File Associations).
Should look like this: "XY Root" XYplorer\>XYplorer.ico
Of course this is with icons stored in XY > Data > Icons.
Following your instruction, the tab looks like:
It's weird, isn't it?

Re: Custom Tab Icons Fail

Posted: 22 Oct 2013 16:31
by armsys
In accordance with the manual:
Custom tab icons
You can customize the icon of each Tab. Simply append any file spec to the caption of the tab, i.e. to the name you give to a tab by the Rename Tab function (found in the tab headers context menu), separated by a | (pipe). It can be an icon file or any other file or folder with associated system icon. XYplorer native variables, environment variables, and portable paths are supported. Internal toolbar icons (prefixed with ":") are supported as well. Examples:
fav|E:\Test\Kiss.ico
xy|<xy>
co|Computer
|:home Use the "home" toolbar icon. No particular name specified.
Tip: Right-clicking the icon of a tab pops a breadcrumb menu for the tab's path.
All options stated above are still working, except: fav|E:\Test\Kiss.ico.
BTW, besides :home, what other built-in icons are provided in XYplorer?

Re: Custom Tab Icons Fail

Posted: 22 Oct 2013 16:43
by Borut
Try this simple defining line for all folders:

Code: Select all

*\>SmileyHearts.ico
Edit: Here a copy from the help file...

Code: Select all

A Bunch Of Useful Patterns That Will Start You Off

%computer%    matches the Computer special folder
%desktop%     matches the Desktop special folder
%personal%    matches the Personal special folder
%user%        matches the User special folder
%net%         matches the Network special folder
%recycler%    matches the Recycle Bin special folder
E:\           matches drive E:\
E:\*\         matches all folders in E:\
E:\ /r        matches all folders in E:\ and E: itself
E:\Jobs\*\    matches all folders in E:\Jobs\
[F-L]:\*\     matches all folders on drives F-L
*\            matches all folders that have no specific icon
**\           same as above for the current tree folder
pics\         matches all folders named "pics"
E:\*          matches all files in E:\
pics\*        matches all files in folders named "pics"
pics*\*       matches all files in folders beginning with "pics"
*.jpg;*.png   matches all JPG and PNG files
*.fnd         matches all FND files and is used for Search Results
*.            matches all files with no extension 
*?            matches all files of unknown file type
*23*          matches all files containing "23" in the name
*2013*.txt    matches all TXT files containing "2013" in the name
readme.txt    matches all files named "readme.txt"
<xyicons>\*   matches all files in the default Icons folder
\\Wagner\     matches server "Wagner"

Re: Custom Tab Icons Fail

Posted: 22 Oct 2013 16:44
by armsys
The same Custom Tab Icon fails in the latest version 13.10.0118 of XYplorer.
1. I did clean up all .ico association in the Windows registry.
2. I did uninstall XYplorer and remove all XYplorer entries in Windows registry.
3. I did reinstall versions 12, 13 and beta of XYplorer.
4. All above-mentioned versions exhibit the same issue.
5. The icons works fine in all the apps such as Windows Explorer and Xplorer2.

The conclusion: XYplorer may have a bug with the Custom Tab Icon's TabName|C:\abc.co.

Re: Custom Tab Icons Fail

Posted: 22 Oct 2013 16:50
by armsys
Borut wrote:Try this simple defining line for all folders:

Code: Select all

*\>SmileyHearts.ico
Here's the result:

Re: Custom Tab Icons Fail

Posted: 22 Oct 2013 16:56
by Borut
Oh, sorry, we were talking about different things. Try entering this example:

Code: Select all

NAME|<xyicons>\Omelet.ico
(I think that omelet.ico is one of default icons in the <XYicons> folder.)

It may be that this should work without explicitly providing the icon folder, but I am not sure. If it worked before without an icon folder specification, then it could be a bug. Anyway the above entry works at my place.

Re: Custom Tab Icons Fail

Posted: 22 Oct 2013 17:08
by armsys
Brout,
Thanks for your help but still it fails.
XYplorer.in includes a huge number of settings and tweak relevant to icon.
I don't know which one is directly related to Custom Tab Icon.
Please help. Thanks.

Re: Custom Tab Icons Fail

Posted: 22 Oct 2013 17:13
by Nighted
Yes, I also misunderstood how you were applying the icons.

I personally assign icons to a specific folder name pattern. I did not realize you could assign an icon to a specific tab this way.

The example Borut shows looks correct.