Closed xChezY closed 1 year ago
Not exactly a lot of information to go on. What I suggest currently is to try clearing out %appdata%\Jack Schierbeck\taskbar-groups
and everything inside. Then relaunch and create a new group with only just 1 test application.
the shortcut still won't start
Okay- hm. I can't exactly reproduce said bug since I don't have steps, but I will see what I can do.
I have the exact same bug, is there anything I can try? I tried clearing the appdata folder per your previous suggestion but it didn't help me neither.
A step by step from start to finish on how to reproduce will help get the bug fixed.
A step by step from start to finish on how to reproduce will help get the bug fixed.
I am attaching a screen recording to show you the issue, maybe it will help.
What happens when you click on the shortcut itself in the window that opens up with the actual shortcuts?
Also, have you tried just extracting the Chrome icon for use as the icon, versus trying to use the same shortcut for both icon and as a shortcut?
The reason I ask is that I finally went back and re-did all of my shortcuts using Pike's Alpha build and it's working flawlessly for, ummm, 14 different sets of shortcuts. But I never once tried to use a shortcut for an icon.
Also, just in case you didn't know, if you leave icon blank, it will make an icon of 4 of the items in the shortcut (f you have 4 items or less it uses them all but if you have more than 4, it uses the first, and seemingly the last 2 and one more).
What happens when you click on the shortcut itself in the window that opens up with the actual shortcuts?
Also, have you tried just extracting the Chrome icon for use as the icon, versus trying to use the same shortcut for both icon and as a shortcut?
The reason I ask is that I finally went back and re-did all of my shortcuts using Pike's Alpha build and it's working flawlessly for, ummm, 14 different sets of shortcuts. But I never once tried to use a shortcut for an icon.
Also, just in case you didn't know, if you leave icon blank, it will make an icon of 4 of the items in the shortcut (f you have 4 items or less it uses them all but if you have more than 4, it uses the first, and seemingly the last 2 and one more).
I have tried all your suggestions and unfortunately results are the same. Just a small loading animation near the pointer but nothing else.
-Tried with a blank icon. -Tried launching the shortcut without pinning it.
PS: By the way, I appreciate your suggestions John, thanks for the help.
Hello! Sorry for the late reply. Been quite busy.
I do see that the program is located on another drive. I still have to get my environment working because of some permission issues on Windows on my secondary drive. That is one thing I have not test.
See if it works on the main drive, and I don't think there would be too much compatibility issues otherwise.
Hello! Sorry for the late reply. Been quite busy.
I do see that the program is located on another drive. I still have to get my environment working because of some permission issues on Windows on my secondary drive. That is one thing I have not test.
See if it works on the main drive, and I don't think there would be too much compatibility issues otherwise.
Tried it but still the same result. I just copied the TaskbarGroups folder to C:\ and deleted all shortcuts then created a random group without any icons. Is there any folders or registry that I should flush for an absolute clean try?
By the way, allow open all shortcuts with Ctrl+Enter option doesn't work neither.
Hmm, I mean, you could try to flush/delete %appdata%\Jack Schierbeck\taskbar-groups
and %appdata%\..\Local\Jack Schierbeck\taskbar-groups
and see if that helps. I doubt it, however.
I need to come up with a better way to debug this kind of stuff, and I will take a look over my code and see if I can implement perhaps any log file system to help debug this kind of stuff.
If that doesn't help, I will get back to you since I do need to return to working on #2 as that is a big update and I need to implement said system with that aswell.
The master branch is a little ahead with new updates (I shouldn't have so hastily pushed it) so I need to wrap up with that and get some new updates.
I will update you when I can.
Thanks @PikeNote , I will wait for the updates.
Hello! Sorry for the late reply. Been quite busy.
I do see that the program is located on another drive. I still have to get my environment working because of some permission issues on Windows on my secondary drive. That is one thing I have not test.
See if it works on the main drive, and I don't think there would be too much compatibility issues otherwise.
I'm using your iteration of TBG as a standalone in its own folder on my E: drive, with all of my \Users\
profiles on D:, and of course my system on C:, with 0 issues. And these are 3 physically separate NVMe drives. And it works perfectly fine for me.
I did make it easier for myself, though, in that I created folders in the same folder where TBG resides, Icons
and MyShortcuts
. Icons
is for the group icons that I used in the previous version from the original dev, and MyShortcuts
has subfolders representing each TBG that I'm going to create, and each subfolder has a copy of the shortcut that I use in its respective TBG:
For example, Browsers (which I named WWW):
So, different drives should not be a problem, at least with local drives.
Oh, yeah forgot to add - this is on Windows 11 22000.100, too.
And forgot one other thing - I have a mix of 'installed' programs and those that are portable (and reside in E:\Programs
) - the browsers are all installed, but a lot of my shortcuts are for the portable apps in the same Programs repository as TBG itself.
It seems that the issue is related with jumpList. I have this issue, and removing jumpList code in last main resolved the issue for me.
Just in case you want to try, you have to remove backgroundClient\Classes\Jumplist.cs and remove the calls made to Jumplist from backgroundClient\Forms\Main.cs:
Also remember to copy the new compiled Taskbar Groups Background.exe to main\Resources because if you don't do that it will copy the .exe that still has the jumplist code.
Btw, if you remove jumplist outside Visual Studio you also need to modify backgroundClient.csproj to remove the inclusion of Jumplist.cs
After more thinking I think the issue is because I have disabled recent items history on Windows, and so when trying to write to the jumpList it will fail because it's disabled. @JohnLGalt I saw that you are still active on this repository and this is working for you, do you have enabled recent items history in Windows?
I will check if I can solve the issue without removing the entire code.
After more thinking I think the issue is because I have disabled recent items history on Windows, and so when trying to write to the jumpList it will fail because it's disabled. @JohnLGalt I saw that you are still active on this repository and this is working for you, do you have enabled recent items history in Windows?
I will check if I can solve the issue without removing the entire code.
Sorry, never saw this question until just now because Pike closed the issue.
And in the referenced issue - yes, I did and still do have History enabled and Jumplists enabled.
I replaced the old exe file with the new one and started the app. Obviously the shortcuts are away because the storage is somewhere else. The config works fine and I also could set up the shortcut. However after I pinned the shortcut in the taskbar and tried to start the application, the small window with the icons doesn't show up. I clicked more than 5 times but still nothing comes.