Hi Basj,
Thanks for looking at this. Answers to your questions:
1. Windows 11 Pro 24H2 Build 26100.4061 with Feature Experience Pack 1000.26100.84.0
2. Groupy version 2.2
3. In my case, I have 4 xlsx workbooks located in 2 SharePoint sites and all fully synced locally. I did do a test where I created a group with 3 local only workbooks and another with 3 workbooks on a SharePoint site synced locally to mimic the problem child. My experience was the same as your test. It executed focus correctly in each use case.
However, I think I may have stumbled on the answer. I notice that the path and file names are pretty long and are expressed in groupy as a URLs. When I edit the groupy config file for the group, I notice that the NewTabName entries are all blank, which seems to be the default behavior. When I edit those manually and set short, unique names for each entry in the group, the problem disappears.
So, I wonder whether this is just a function of the path and filename being too long or otherwise include some sort of character pattern that prevents groupy from correctly identifying an open resource, resulting in multiple launces. Not sure. Will leave that to others.
The workaround seems to be:
1. Create the group and save it
2. In Groupy 2, navigate to Grouping rules | Saved Groups
3. Right click and select Edit saved group
4. In the groupy file, locate the NewTabName setting for each GroupEntry listed
5. For each NewTabName, enter a friendly (probably short) name
6. Close and save the groupy file