tjackenpacken / taskbar-groups

Lightweight utility for organizing the taskbar through groups
MIT License
2.48k stars 202 forks source link

【Solved】chrome's shortcut is not working #121

Closed microdockman closed 3 years ago

microdockman commented 3 years ago

I made some chrome's shortcut icon and successfully added them to taskbar-groups, but nothing happened when I clicked them Screenshot 2021-04-29 132752

This is a desktop shortcut icon, can be opened normally asdasdadapture

This is the icon's properties page as22re

Other types of shortcut icons work fine e.g. 33Capture

JohnLGalt commented 3 years ago

Same here. I have created a group for browsers, as I use Firefox Nightly, Firefox stable, 2 profiles in Chrome stable and 2 profiles in Edge stable. Both Firefox are set to open the profile manager every time via argument -p and they work perfectly fine. Both Edge Profiles are set to run with arguments --profile-directory=Default and --profile-directory="Profile 1", and they work perfectly fine.

Both Chromes are set to run with arguments --profile-directory=Default and --profile-directory="Profile 1", but neither works. As direct shortcuts, the shortcuts set to run with arguments --profile-directory=Default and --profile-directory="Profile 1" both work perfectly fine. I also tried removing the double quotation marks, but still did not work.

Using those shortcuts in BINS application (similar application from a StarDock Dev) also work perfectly fine. Only in here do they not work.

microdockman commented 3 years ago

Same here. I have created a group for browsers, as I use Firefox Nightly, Firefox stable, 2 profiles in Chrome stable and 2 profiles in Edge stable. Both Firefox are set to open the profile manager every time via argument -p and they work perfectly fine. Both Edge Profiles are set to run with arguments --profile-directory=Default and --profile-directory="Profile 1", and they work perfectly fine.

Both Chromes are set to run with arguments --profile-directory=Default and --profile-directory="Profile 1", but neither works. As direct shortcuts, the shortcuts set to run with arguments --profile-directory=Default and --profile-directory="Profile 1" both work perfectly fine. I also tried removing the double quotation marks, but still did not work.

Using those shortcuts in BINS application (similar application from a StarDock Dev) also work perfectly fine. Only in here do they not work.

Some path issues Error message: System.IO.FileNotFoundException: C:\Program Files (x86)\Google\Chrome\Application\chrome_proxy.exe the 32-bit version is not installed ,so this path not exist

Now I have installed the Canary version [32 or 64 bit],and recreated the shortcut icon, it works fine after adding to taskbar-groups the program path becomes to "C:\Users\DeskminiA300\AppData\Local\Google\Chrome SxS\Application\chrome.exe"

https://www.google.com/intl/en/chrome/canary/

I don't know how to change the stable version chrome's installation path, maybe it will work

JohnLGalt commented 3 years ago

Yeah, this is a (relatively recent) change to Chrome installations:

https://www.ghacks.net/2020/06/11/google-chrome-is-soon-going-to-be-installed-in-a-different-directory-on-windows/

It used to always use %ProgramFiles(x86)% (and before that, *ProgramData%, and before that, for single user use in %UserProfile%).....

Mine exists in %ProgramFiles% which is =/= %ProgramFIles(x86)% since my OS is 64 bit. So the code will likely need to be changed so that it looks in the location specified by the shortcut itself.

microdockman commented 3 years ago

Yeah, this is a (relatively recent) change to Chrome installations:

https://www.ghacks.net/2020/06/11/google-chrome-is-soon-going-to-be-installed-in-a-different-directory-on-windows/

It used to always use %ProgramFiles(x86)% (and before that, *ProgramData%, and before that, for single user use in %UserProfile%).....

Mine exists in %ProgramFiles% which is =/= %ProgramFIles(x86)% since my OS is 64 bit. So the code will likely need to be changed so that it looks in the location specified by the shortcut itself.

It will require some tedious operation, cause headaches,, everything-default works better for me

There are also some new issues, some site's shortcuts cannot be added,Illegal character error 1 sites involving chinese characters....like jd.com 2 rarbg.com (and this special english website)

I am not able to solve it. Looking forward to future updates

PikeNote commented 3 years ago

Release.zip Sorry for the headaches! The build was set to x86 so it was looking for x86 program files by default. I had changed it in this small build change. Please test this and see if the same issue occurs.

microdockman commented 3 years ago

Release.zip Sorry for the headaches! The build was set to x86 so it was looking for x86 program files by default. I had changed it in this small build change. Please test this and see if the same issue occurs.

【solved】 Thank you very much for your work

Another questions about chinese characters

Like this website https://convertio.co/en/ ok https://convertio.co/zh/ System.Exception: The stub received bad data.
(use chrome to make icons and add them to taskbar-groups)

Capture

Error messages will appear when adding icons via + . (drag to add will not respond)

Capture

Capture1

PikeNote commented 3 years ago

Can you open a new issue for this if possible? Just easier to track issues overall. Keep this one opened though because it is not solved on master yet.

microdockman commented 3 years ago

Can you open a new issue for this if possible? Just easier to track issues overall. Keep this one opened though because it is not solved on master yet.

ok, I'll open a new issus Thanks again for your reply

JohnLGalt commented 3 years ago

It's working on my end fine now.

Now, to just get Windows UWP apps working and it'll be perfect. 💯

dzigner commented 3 years ago

I have issues with Chrome taskbar group, in that Chrome does not open when clicked. I have similar setup with Edge, and that is working fine.

JohnLGalt commented 3 years ago

@dzigner

Did you use the version in this post above?

microdockman commented 3 years ago

Did you use the version in this post above?

yes https://github.com/tjackenpacken/taskbar-groups/files/6437091/Release.zip Contributor recompiled ... it works fine for me now (chrome stable version)

dzigner commented 3 years ago

@dzigner

Did you use the version in this post above?

Yes, thank you for pointing that out. I downloaded, and now its working fine.