Page 1 of 1

Problem with "shortcut target => goto shortcut target"

Posted: 23 Dec 2015 04:06
by xnmp
Hi, i have a problem when using "shortcut target => goto shortcut target" command after assign it to a keyboard shortcut
it only happens when i assign this command to a keyboard shortcut
(I'm using windows 7 32 bits, the latest xyplorer 16.10.0100 ,i also test with a "new fresh" install of xyplorer ,it has the same issue)

- I assign the keyboard shortcut Ctrl + alt +O to that command ( "shortcut target => goto shortcut target" command )
- For example ,i have a file
E:\test\test.jpg
I create a shortcut of it, (right click =>create shortcut) ,it creates the file e:\test\test.lnk in the same folder (which is "E:\test")
I test with Ctrl + alt + O and it works fine (It browse the target file)
Then i tried moving that shortcut file (.lnk file) to another folder (E:\test\New Folder)
and using hotkey ctrl + alt + O again (using hotkey, not using command through right click,if i use command through right click,it would work fine) .This time It notices me :

Code: Select all

"this is not a shortcut file,so it has no target to go to"
I tried refresh many times,but it not work
But it would work fine then if i do any of 3 follow methods

1. using xyplorer command : shortcut target => goto shortcut target) instead of using its keyboards shortcut ctrl + alt + O
(i have no idea why because they are the same command)
2. right click the shortcut file => properties => just close the properties window (makes no change )
and go back to try again => it works fine (the target field is already correct)
3. switch to another program (such as notepad++ for a while (about 10 second)and go back => it works fine


(And after it working, i try using ctrl + alt + O again and it works fine)
i also test with a "new fresh" install of xyplorer ,and assign it to another hotkey (ctrl+ u) it still has the same issue
I have no idea how to make it works immediately like usual shortcut file
Thanks alot

Re: Problem with "shortcut target => goto shortcut target"

Posted: 27 Dec 2015 18:33
by admin
This is because the file was not the "current file" in this context: you did not actively select it by click or keyboard.

Anyway, I will change the code so that this little issue will disappear.

Re: Problem with "shortcut target => goto shortcut target"

Posted: 28 Dec 2015 17:30
by xnmp
admin wrote:This is because the file was not the "current file" in this context: you did not actively select it by click or keyboard.

Anyway, I will change the code so that this little issue will disappear.
Thank you very much ,i see :)
when cut and paste the shortcut file ,it become "blue", looks like it selected,while actually it's not
Thank you so much

Re: Problem with "shortcut target => goto shortcut target"

Posted: 28 Dec 2015 17:36
by admin
FYI, there is a reason behind the subtle difference "actively selected" (= current item) and "auto-selected" (e.g. on select-on-paste): Only actively selected items will automatically fill the Info Panel and start the preview. Nobody wants to have a preview started in a select-on-paste context, therefore I had to introduce this difference.

Re: Problem with "shortcut target => goto shortcut target"

Posted: 29 Dec 2015 12:01
by xnmp
admin wrote:FYI, there is a reason behind the subtle difference "actively selected" (= current item) and "auto-selected" (e.g. on select-on-paste): Only actively selected items will automatically fill the Info Panel and start the preview. Nobody wants to have a preview started in a select-on-paste context, therefore I had to introduce this difference.
Thank you very much, i see :)