Bugs with iconization via caption[fixed]

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

: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: 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: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Bugs with iconization via caption[fixed]

Post by bdeshi »

:bug: 1:
you know we can change tab icons with "title|icon" using Rename Tab? But a search tabs' icons do not change in this way without a restart or "Refresh cache".

:bug: 2:
for CTB and subscript/popup menu title, we can reference specific icon from a source file like this:

Code: Select all

"CTB or menu title|%SystemRoot%\SYSTEM32\shell32.dll /163"
This will take the 163rd icon from shell32.dll
but this method doesn't work anywhere else (CFI, catalog, UDC, tabtitles ...)
Will this be solved? meanwhile is there a workaround?
I tried shell32.dll;163/shell32.dll,163/shell32.dl#163 ... none worked.
Last edited by bdeshi on 09 Jun 2014 11:59, edited 3 times in total.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Bugs with iconization via caption

Post by LittleBiG »

SammaySarkar wrote::bug: 2:
for CTB and subscript/popup menu title, we can reference specific icon from a source file like this:
Code:
"CTB or menu title|%SystemRoot%\SYSTEM32\shell32.dll /163"

This will take the 163rd icon from shell32.dll
but this method doesn't work anywhere else (CFI, catalog, UDC, tabtitles ...)
Will this be solved? meanwhile is there a workaround?
I tried shell32.dll;163/shell32.dll,163/shell32.dl#163 ... none worked.
I can foresee Don's answer: "I have never said it is supported anywhere else." :mrgreen:

In the past I also made this "mistake". I expected that a new feature would work everywhere. But sometimes they work only locally.

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

Re: Bugs with iconization via caption

Post by admin »

:bug: 1. Yo, fixed.
:bug: 2. I have never said it is supported anywhere else. :mrgreen:

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Bugs with iconization via caption [fixed?]

Post by bdeshi »

1. Thanks!
2. Totally unacceptable, I won't accept it, mutiny!!!!! :mrgreen:
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Bugs with iconization via caption [~fixed]

Post by bdeshi »

changelog of v14.10.119 wrote:An icon specified in the caption (Rename Tab) is now resolved
relative to the Icons Path (default: <xydata>\Icons). Before, it's been
resolved to the app path
Apparently this bug still exists with catalog caption icons.

Also I didn't know it's possible to skip <xyicons> from icon path. However this doesn't seem to work with UDC icons.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

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

Re: Bugs with iconization via caption

Post by admin »

Yes, well spotted. I will make them all behave the same.

FluxTorpedoe
Posts: 904
Joined: 05 Oct 2011 13:15

Re: Bugs with iconization via caption

Post by FluxTorpedoe »

Hi'
I'll jump on the bandwagon…

#1. has been fixed for standard "rename", but it's still :bug: for tab("rename"…).
With a "fresh" XY, doing e.g. tab("rename", "|:back") on a Search tab will only show the correct icon after tab-switching two times.
(This :bug: was introduced between v13 and v13.50 if I remember correctly —I could investigate if needs be).

:wink:

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

Re: Bugs with iconization via caption

Post by admin »

Yep, well spotted!

FluxTorpedoe
Posts: 904
Joined: 05 Oct 2011 13:15

Re: Bugs with iconization via caption

Post by FluxTorpedoe »

Thanks, working great again now! :)

(Hehe, another one coming from my undisclosed mystery list of :idea: and :bug: that's been nearly auto-resolved…)

Post Reply