Open lunxian opened 8 years ago
hi @lances101 I noticed that wox.switcheroo use custom memory cache to get application icon. Then this cause the image path too long. this is no longer needed, all icons are automatically cached internally. just pass the executable path (e.g. C:\Program Files\7-Zip\7zg.exe), then wox will automatically pick the correct icon.
Yea... I had to use custom memory caching since we were on .NET 3.5 and the caching that Switcheroo uses was introduced in 4.0.
I will update this later this week.
if release the new version, I will test it at first.
where to get switheroo 1.0.6?
I just finished it, don't hurry...
download it and rename it to Wox.Plugin.Switcheroo.wox
double click it, then choose use wox to open it
@lunxian please test it, and report bugs here. @lances101 please update the plugin on getwox.com/plugin, since I don't have permission... and alt+tab is fixed now, remember remove the buggy explanation
tested. I think the crash bug is fixed, but buggy there. bug 1: application icons are wox's too. bug2: alt+tab will crash the wox, with no error box, but process is disappeared.
bug 1: picture here.
Sorry for the delayed replies, I'm on a trip right now. I will take care of this in 10 hours or so.
@lunxian
it's definitely working on my machine
@happlebao updated the label. Tested on a couple of machines, works, but as you indicated requires deleting imagecache. Uploaded the plugin to WPM.
@lunxian please confirm that it works.
@lances101 you could add a notice (delete imagecache.dat
) in changelog
@happlebao done.
@happlebao testing done! upgrade wox 1.3.64, wpm uninstall switcheroo 1.0.5 , delete image cache, then wpm install swicheroo 1.0.6. that works. icons is ok , and no crash.
but alt-tab is not well done. the wox is on top window, but lost input focus.
the input method cursor is on the wox inputbox, but can't input on the wox inputbox.
@lunxian I will lost focus occasionally. It can be fixed by activate wox and then deactivate wox using alt+space, then alt+tab is working again.
here is the log.
@happlebao the behavior of alt-tab is so confused ; can we change im for convenient communication?
@lunxian @happlebao I will try to figure out what causes Wox not to gain focus. It must be related to the way that the hotkey is being hooked.
@lunxian what do you mean about alt-tab being confusing?
confusing:
@lunxian I think most of your confusion happens because at the current state Alt+Tab is buggy. It uses a hooking system because it needs to cancel Window's default alt-tab functionality.
The main idea is that you would use alt+tab as a hotkey to use Switcheroo and from there you would be able to type the name of the application (just as you can do now if you type win
into Wox). This would allow fast navigation between windows.
yes, you are right.
I am so sad that "buggy" should be added in the release note.
@lunxian 如果你用 1.3.67 你按了 alt+tab 后,wox 的输入框不能输入是吗?(焦点不在输入框上) 如果是,那么 win+r (shell 插件)能正确聚焦吗?
all the icons are wox, not the application's. picture is here: https://cloud.githubusercontent.com/assets/550273/15266727/21b0830e-19e1-11e6-8029-a4a2f5413db7.png