![]() |
#16 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,741
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
No second monitor - it broke ages ago.
If I wanted the editor in the task bar as pinned icon and it didn't combine, then rather than using the Pin to taskbar option from the Start Panel, I would start the program from the .exe and pin that instance to the task bar. I would bet London to a Brick on that I would need to do that - because Kovid is, if nothing else, consistent in the way he does things. BR Added - dunno even know why I had PDF Exchange pinned in my taskbar (ancient legacy I guess), I never start it from there, always from a pdf. It's gone. Last edited by BetterRed; 09-21-2017 at 01:14 AM. |
![]() |
![]() |
![]() |
#17 | |
....
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,547
Karma: 18068960
Join Date: May 2012
Device: ....
|
Quote:
But it may get reverted during the next update??? |
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
....
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,547
Karma: 18068960
Join Date: May 2012
Device: ....
|
So seems to me -
If the application is on the task bar pinned there from either the Start menu or List and there is a shortcut in ProgramData/Microsoft/Windows/Start Menu/Programs then one seems to get a double icon on the task bar when the application is run (for me if that is for either run from task bar or run from the Start menu) If the same is done but there is no shortcut in that directory then no double icon on the task bar when run. In a multiple display configuration, if in Task Bar settings one sets "Taskbar where window is open" and the applications window is moved to the other display then the second icon disappears off the main display's taskbar. If the application is pinned to the Taskbar from the running application there seems (for now, not time tested) to be no second icon produced when the application is run even though there remains a shortcut in ProgramData/Microsoft/Windows/Start Menu/Programs . My remaining wonder is if that will survive an update?? EXTRA EDIT - It does not stick, the second icon returns even if not updated. This all applies to the several applications I have just tested on. Last edited by AnotherCat; 09-21-2017 at 01:27 AM. Reason: Added quite a bit of extra. |
![]() |
![]() |
![]() |
#19 | |
....
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,547
Karma: 18068960
Join Date: May 2012
Device: ....
|
Quote:
![]() Off now to buy my own beer ![]() Last edited by AnotherCat; 09-21-2017 at 01:28 AM. |
|
![]() |
![]() |
![]() |
#20 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This sounds very much like a timing related issue to me. Probably, there is a race condition between calling SetCurrentProcessExplicitAppUserModelID and the taskbar deciding icon grouping. If the call happens before the taskbar decides, it groups according to its internal heuristics, if not it groups by uid.
|
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,741
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Until this glitch arose I have never had to recreate it - even now I don't. This morning I uninstalled 3.4 and reinstalled 3.3. The pinned running instance icon didn't change and I didn't have to recreate it. It's done via unique application identifiers in the registry. Calibre 64bit, 32bit and portable all have the same application identifier; so, the theory is they will always combine. Personally I'd rather they didn't - but... BR |
|
![]() |
![]() |
![]() |
#22 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,741
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I used 3.4 for several hours yesterday, closed/started and restarted at least a dozen times with no problems. This morning when I started calibre, I got the extra icon, if I restarted it I got the extra icon, if I waited a while and started it again I got the extra icon. I did a Repair and all was well again - but I don't expect it to last. My impression is that something causes Windows to lose whatever pinning a running instance does to the registry - but only for 64 bit calibre, not 32bit calibre or other programs (e.g. PDF XChange), that use the AppUserModelID 'facility'. I say this because the misbehaviour is essentially the what one gets if you pin to the taskbar from the start menu (or anywhere else) rather than a from a running instance in the taskbar itself, and the fact it can only be fixed by a re-install or repair. That pinning to the taskbar from within the taskbar does something different to pinning to the taskbar from elsewhere is bizarre - IMO. BR Last edited by BetterRed; 09-22-2017 at 05:34 AM. |
|
![]() |
![]() |
![]() |
#23 | |
....
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,547
Karma: 18068960
Join Date: May 2012
Device: ....
|
Quote:
Regarding timing, perhaps the following adds strength to that proposal - I had a play around with randomly changing the taskbar settings for which displays the taskbar button should display on while the application window was on a second display. As I said before the active instance one would move to the monitor the application window was moved to when set to do so. However, now later, I randomly changed back and forth the setting for the button between "all taskbars", "main taskbar and where widow is open" and "taskbar where window is open" and managed to "trick" it into ending up with 2 buttons on the taskbar of both displays ![]() So something in Windows affects that behavior in a particular family of application installs (probably just those in the ProgramData directory)??? Off for my evening meal: I would be interested in any outcomes. |
|
![]() |
![]() |
![]() |
#24 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I cant think of any way to test that, short of runnign calibre from source and inserting a sleep before the call to set the uid.
|
![]() |
![]() |
![]() |
#25 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I tried inserting a 3 second sleep before the call to set app uid and it made no difference, the pinned taskbar icon was still used. So I guess it is not a race. Which leaves myseterious windows goblins.
|
![]() |
![]() |
![]() |
#26 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I did find one bug while investigating -- basically the app uid calibre was sending to windows was not being interpreted correctly. I have fixed it, unfirtunately the fix means that you will have to unpin and re-pin calibre after the next release.
I dont think this bug has any bearing on your issue however. But it never hurts to try. |
![]() |
![]() |
![]() |
#27 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,636
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#28 | |||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,741
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() I'm going to stop investigating the problem, but let me know here or via PM if you want me to do any specific tests. I'm happy to use 32bit, I never have any big conversions, most take less than a minute on this new machine. Quote:
Quote:
Can you post which Windows 10 you use, mine is Windows 10 Pro version 1703* up to date as of now. @John - it would be interesting to know if 32bit PDF XChange suffers the same fate - but I have a feeling its msi combines 32 & 64 bit and it decides which one its going to install. Maybe there's a separate 32bit download. BR * !703 - the year in which Daniel Defoe was sent down for sedition and pilloried, it is said he was pelted with flowers rather than the customary rocks. |
|||
![]() |
![]() |
![]() |
#29 | |
....
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,547
Karma: 18068960
Join Date: May 2012
Device: ....
|
Quote:
I tried PDF XChange as requested. Today on this i7 PC it is not doing the two button trick with PDF XChange ![]() Throughout all the above if I ran Calibre from the taskbar I always got 2 buttons on the taskbar (and best I can remember I have for a long time). In the end it is only a cosmetic issue and has never troubled me. To see what happens on slower machines and to also meet BR's 32bit request I set up 2 old PCs both up to date Windows 10 Pro, one Core Duo 3 GHz 64 bit and the other Core Duo 2.1 GHz 32 bit with applications on the taskbar. On both PCs PDF XChange did not display the two button issue, nor did any other application I tried including Calibre. So, after all that, I wonder if the issue is limited to faster PCs (I think all fast PCs are 64 bit these days so unlikely to be able to test a 32 bit fast one?). Last edited by AnotherCat; 09-22-2017 at 12:04 AM. |
|
![]() |
![]() |
![]() |
#30 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,741
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@AnotherCat - thanks for doing all that. And don't forget to vote.
I just installed version 3.8, for some reason I got this message from the Windows Trusted (ahem) Installer I've never seen one of them after a calibre install before now, but I think I can recall other people reporting it. But I chose to ignore it; as I always do, some programs seems to issue such messages on principle. The only things running were firefox and my file manager. WTI must have gotten discombobulated because of all the uninstalls/reinstalls of calibre 64 bit I've been doing - poor thing. I'd already unpinned calibre from the task bar, so I let it launch from the installer - and I pinned that instance to the task bar. In version 3.7 I was able to consistently induce the extra icon by doing a restart. However, with version 3.8 I can't. I put some load on cpu, memory, and storage (SSD and HDD where libraries are) made no difference, except calibre starts and restarts were a tad slower - but no second icon - so far. Be interesting to see if AC and TdM see similar results. BR Last edited by BetterRed; 09-22-2017 at 05:28 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Taskbar Icon | BetterRed | Calibre | 9 | 11-02-2016 01:02 AM |
Icon pack Dark Blue | poher | Development | 9 | 09-11-2015 11:25 AM |
Taskbar Icons - in Windows 7 | BetterRed | Editor | 20 | 12-31-2013 08:11 PM |
Request Reader: UNDO icon in the upper taskbar | lorenzoens | enTourage Archive | 0 | 04-12-2011 05:40 PM |