[GNC] Dock Icon on Mac

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

[GNC] Dock Icon on Mac

GnuCash - User mailing list
I am running macOS Sierra 10.12.6

I cannot get Gnucash to reside in the mac dock like other apps. I may have reported this issue before but I can’t find anything in gnucash-user and whatever solution I thought I had was only temporary.

 

1)  The normal process for placing an app into the dock permanently is to just drag it from the place it is installed (usually the Applications folder) to a position on the dock that you want.

Once this is done, you should be able to launch the app from the resulting dock icon. The same icon should bounce as it launches, then stop with a dot under the icon to show it is active.

The behaviour I see is that a duplicate Gnucash icon appears at the end of the dock and it is this one that bounces/indicates active app. Although functionally OK, I don’t want 2 icons for the same app when its running one instance.

 

2) I have tried the alternate method of keeping Gnucash in the dock; Make sure there are no Gnucash dock icons then launch it directly from the Applications folder. Once launched, right click on the active dock icon and select Options->Keep in dock. After that, I can move the icon to the position in the dock I want it to be. It now appears to work perfectly. Unfortunately, after I log out, or after some periods of sleep (not sure on the number-seems random) the Gnucash icon gets overlayed with a question mark indicating that the location of the app is now unknown – even though it has not changed and is still in the Applications folder. If I restart the machine when the Gnucash icon is working as expected, I get a grey question mark in the dock without even the Gnucash icon. Mousing over the grey question mark gives a Gnucash tooltip but of course it won’t launch as the location of Gnucash is unknown. The only option is to right click on the icon+question mark or question mark (by itself) and select Options->Remove from Dock.

 

As far as I can tell Gnucash is the only App I have that exhibits this behaviour. At the start, I thought I had fixed it using method 2 above. Then after several days the dreaded question mark appeared over the icon.

Other things I have tried include making an Alias for Gnucash and dragging that to the dock. It didn’t work and behaved like 1) above (duplicate app icon on launch).

I decided maybe the dock was corrupt so I did a reset to default: Terminal command; “defaults delete com.apple.dock; killall Dock”

This meant I had to rebuild my preferred dock from scratch. There was no difference. All other app icons behaved as expected apart from Gnucash.

 

My conclusion is that Gnucash must have a launch process different to other apps and/or the drag/drop to dock processing must be different.

For the time being I tend to stick to Option 2 above as I prefer a single launch icon on the dock. When Gnucash eventually gets it’s inevitable question mark I remove it from dock then re-instate it as per 2) above. But it would be nice to have no need to do that. It’s not urgent or a matter of life and death but something to ponder.

 

Cheers

Glen

 

_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dock Icon on Mac

GnuCash - User mailing list
My dock works, and has worked for a decade. Perhaps you are using GnuCash from two places: Applications, and the dmg? I say this because the “?” could happen after restart if the dock item were linked to a dmg file, and the dmg weren’t reloaded on restart.

Similarly, a second dock item would suggest a second executable in a different location—although how the dock item could reference a different executable is beyond me.

David T.

> On Jun 13, 2018, at 5:56 AM, Glen Byram via gnucash-user <[hidden email]> wrote:
>
> I am running macOS Sierra 10.12.6
>
> I cannot get Gnucash to reside in the mac dock like other apps. I may have reported this issue before but I can’t find anything in gnucash-user and whatever solution I thought I had was only temporary.
>
>
>
> 1)  The normal process for placing an app into the dock permanently is to just drag it from the place it is installed (usually the Applications folder) to a position on the dock that you want.
>
> Once this is done, you should be able to launch the app from the resulting dock icon. The same icon should bounce as it launches, then stop with a dot under the icon to show it is active.
>
> The behaviour I see is that a duplicate Gnucash icon appears at the end of the dock and it is this one that bounces/indicates active app. Although functionally OK, I don’t want 2 icons for the same app when its running one instance.
>
>
>
> 2) I have tried the alternate method of keeping Gnucash in the dock; Make sure there are no Gnucash dock icons then launch it directly from the Applications folder. Once launched, right click on the active dock icon and select Options->Keep in dock. After that, I can move the icon to the position in the dock I want it to be. It now appears to work perfectly. Unfortunately, after I log out, or after some periods of sleep (not sure on the number-seems random) the Gnucash icon gets overlayed with a question mark indicating that the location of the app is now unknown – even though it has not changed and is still in the Applications folder. If I restart the machine when the Gnucash icon is working as expected, I get a grey question mark in the dock without even the Gnucash icon. Mousing over the grey question mark gives a Gnucash tooltip but of course it won’t launch as the location of Gnucash is unknown. The only option is to right click on the icon+question mark or question mark (by itself) and select Options->Remove from Dock.
>
>
>
> As far as I can tell Gnucash is the only App I have that exhibits this behaviour. At the start, I thought I had fixed it using method 2 above. Then after several days the dreaded question mark appeared over the icon.
>
> Other things I have tried include making an Alias for Gnucash and dragging that to the dock. It didn’t work and behaved like 1) above (duplicate app icon on launch).
>
> I decided maybe the dock was corrupt so I did a reset to default: Terminal command; “defaults delete com.apple.dock; killall Dock”
>
> This meant I had to rebuild my preferred dock from scratch. There was no difference. All other app icons behaved as expected apart from Gnucash.
>
>
>
> My conclusion is that Gnucash must have a launch process different to other apps and/or the drag/drop to dock processing must be different.
>
> For the time being I tend to stick to Option 2 above as I prefer a single launch icon on the dock. When Gnucash eventually gets it’s inevitable question mark I remove it from dock then re-instate it as per 2) above. But it would be nice to have no need to do that. It’s not urgent or a matter of life and death but something to ponder.
>
>
>
> Cheers
>
> Glen
>
>
>
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dock Icon on Mac

Glen Byram (Gmail)
Nope I don't do that. The only time I ever even open the .dmg file is when I download an update. I then drag the 2 Apps to the Applications folder overwriting the existing ones. TBH I have never used the Finance Quote Update app but copy it anyway.

My dock works fine too - with every single other app in the Applications folder (and Utilities and elsewhere).
When I have the 2 icons up at once, 1 active and 1 inactive, if I right click on them and do "Options->Show in Finder", in each case it points correctly to Gnucash in Applications.

The only other thing I have considered is that I open the App with a data file active (my personal finances). Could it be something to do with the location of that data file?

Cheers,
Glen


On 13/06/2018, 12:56, "gnucash-user on behalf of David T. via gnucash-user" <gnucash-user-bounces+glen83501=[hidden email] on behalf of [hidden email]> wrote:

    My dock works, and has worked for a decade. Perhaps you are using GnuCash from two places: Applications, and the dmg? I say this because the “?” could happen after restart if the dock item were linked to a dmg file, and the dmg weren’t reloaded on restart.
   
    Similarly, a second dock item would suggest a second executable in a different location—although how the dock item could reference a different executable is beyond me.
   
    David T.
   
    > On Jun 13, 2018, at 5:56 AM, Glen Byram via gnucash-user <[hidden email]> wrote:
    >
    > I am running macOS Sierra 10.12.6
    >
    > I cannot get Gnucash to reside in the mac dock like other apps. I may have reported this issue before but I can’t find anything in gnucash-user and whatever solution I thought I had was only temporary.
    >
    >
    >
    > 1)  The normal process for placing an app into the dock permanently is to just drag it from the place it is installed (usually the Applications folder) to a position on the dock that you want.
    >
    > Once this is done, you should be able to launch the app from the resulting dock icon. The same icon should bounce as it launches, then stop with a dot under the icon to show it is active.
    >
    > The behaviour I see is that a duplicate Gnucash icon appears at the end of the dock and it is this one that bounces/indicates active app. Although functionally OK, I don’t want 2 icons for the same app when its running one instance.
    >
    >
    >
    > 2) I have tried the alternate method of keeping Gnucash in the dock; Make sure there are no Gnucash dock icons then launch it directly from the Applications folder. Once launched, right click on the active dock icon and select Options->Keep in dock. After that, I can move the icon to the position in the dock I want it to be. It now appears to work perfectly. Unfortunately, after I log out, or after some periods of sleep (not sure on the number-seems random) the Gnucash icon gets overlayed with a question mark indicating that the location of the app is now unknown – even though it has not changed and is still in the Applications folder. If I restart the machine when the Gnucash icon is working as expected, I get a grey question mark in the dock without even the Gnucash icon. Mousing over the grey question mark gives a Gnucash tooltip but of course it won’t launch as the location of Gnucash is unknown. The only option is to right click on the icon+question mark or question mark (by itself) and select Options->Remove from Dock.
    >
    >
    >
    > As far as I can tell Gnucash is the only App I have that exhibits this behaviour. At the start, I thought I had fixed it using method 2 above. Then after several days the dreaded question mark appeared over the icon.
    >
    > Other things I have tried include making an Alias for Gnucash and dragging that to the dock. It didn’t work and behaved like 1) above (duplicate app icon on launch).
    >
    > I decided maybe the dock was corrupt so I did a reset to default: Terminal command; “defaults delete com.apple.dock; killall Dock”
    >
    > This meant I had to rebuild my preferred dock from scratch. There was no difference. All other app icons behaved as expected apart from Gnucash.
    >
    >
    >
    > My conclusion is that Gnucash must have a launch process different to other apps and/or the drag/drop to dock processing must be different.
    >
    > For the time being I tend to stick to Option 2 above as I prefer a single launch icon on the dock. When Gnucash eventually gets it’s inevitable question mark I remove it from dock then re-instate it as per 2) above. But it would be nice to have no need to do that. It’s not urgent or a matter of life and death but something to ponder.
    >
    >
    >
    > Cheers
    >
    > Glen
    >
    >
    >
    > _______________________________________________
    > gnucash-user mailing list
    > [hidden email]
    > To update your subscription preferences or to unsubscribe:
    > https://lists.gnucash.org/mailman/listinfo/gnucash-user
    > If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
    > -----
    > Please remember to CC this list on all your replies.
    > You can do this by using Reply-To-List or Reply-All.
   
    _______________________________________________
    gnucash-user mailing list
    [hidden email]
    To update your subscription preferences or to unsubscribe:
    https://lists.gnucash.org/mailman/listinfo/gnucash-user
    If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
    -----
    Please remember to CC this list on all your replies.
    You can do this by using Reply-To-List or Reply-All.


_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dock Icon on Mac

Colin Law
On 13 June 2018 at 13:39, Glen Byram (Gmail) <[hidden email]> wrote:

>  ...
>
> The only other thing I have considered is that I open the App with a data
> file active (my personal finances). Could it be something to do with the
> location of that data file?
>

What do you mean by open the App "with a data file".  On a Mac I believe
you cannot open the app by double clicking a data file, if that is what you
meant.

Colin
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dock Icon on Mac

Maf. King
On Wednesday, 13 June 2018 13:54:25 BST Colin Law wrote:

> On 13 June 2018 at 13:39, Glen Byram (Gmail) <[hidden email]> wrote:
> >  ...
> >
> > The only other thing I have considered is that I open the App with a data
> > file active (my personal finances). Could it be something to do with the
> > location of that data file?
>
> What do you mean by open the App "with a data file".  On a Mac I believe
> you cannot open the app by double clicking a data file, if that is what you
> meant.
>
> Colin

I believe that click-datafile-to-open on a Mac works in the sense that GC
starts up, but it fails to load the clicked file.  I.E. GC persists with the
previously-opened file used in the last session, then you have to File->Open.  
But I don't have a Mac and have never used one, so I may be wrong.

Maf.




_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dock Icon on Mac

Glen Byram (Gmail)
Sorry to be unclear. I mean, when Gnucash opens (by double clicking the App, not a data file), it is at the place I left off. It sounds from the replies like this is normal behaviour and that Gnucash doesn't particularly care where the file is located (In my case \Users\username\Documents\Accounts)

On 13/06/2018, 14:05, "Maf. King" <[hidden email]> wrote:

    On Wednesday, 13 June 2018 13:54:25 BST Colin Law wrote:
    > On 13 June 2018 at 13:39, Glen Byram (Gmail) <[hidden email]> wrote:
    > >  ...
    > >
    > > The only other thing I have considered is that I open the App with a data
    > > file active (my personal finances). Could it be something to do with the
    > > location of that data file?
    >
    > What do you mean by open the App "with a data file".  On a Mac I believe
    > you cannot open the app by double clicking a data file, if that is what you
    > meant.
    >
    > Colin
   
    I believe that click-datafile-to-open on a Mac works in the sense that GC
    starts up, but it fails to load the clicked file.  I.E. GC persists with the
    previously-opened file used in the last session, then you have to File->Open.  
    But I don't have a Mac and have never used one, so I may be wrong.
   
    Maf.
   
   
   
   
   


_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dock Icon on Mac

John Ralls-2
Glen,

One thing you haven’t mentioned yet is what version of GnuCash you’re running.

When the GnuCash icon gets turned into a question mark or is greyed out, is Options>Show in Finder available from the context menu? If it is, what does it point to?

Check to make sure that you have only one Gnucash.app installed by running
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep Gnucash.app

from the terminal prompt (Terminal is in /Applications/Utilities).

Regards,
John Ralls

> On Jun 13, 2018, at 7:18 AM, Glen Byram (Gmail) <[hidden email]> wrote:
>
> Sorry to be unclear. I mean, when Gnucash opens (by double clicking the App, not a data file), it is at the place I left off. It sounds from the replies like this is normal behaviour and that Gnucash doesn't particularly care where the file is located (In my case \Users\username\Documents\Accounts)
>
> On 13/06/2018, 14:05, "Maf. King" <[hidden email]> wrote:
>
>    On Wednesday, 13 June 2018 13:54:25 BST Colin Law wrote:
>> On 13 June 2018 at 13:39, Glen Byram (Gmail) <[hidden email]> wrote:
>>> ...
>>>
>>> The only other thing I have considered is that I open the App with a data
>>> file active (my personal finances). Could it be something to do with the
>>> location of that data file?
>>
>> What do you mean by open the App "with a data file".  On a Mac I believe
>> you cannot open the app by double clicking a data file, if that is what you
>> meant.
>>
>> Colin
>
>    I believe that click-datafile-to-open on a Mac works in the sense that GC
>    starts up, but it fails to load the clicked file.  I.E. GC persists with the
>    previously-opened file used in the last session, then you have to File->Open.  
>    But I don't have a Mac and have never used one, so I may be wrong.
>
>    Maf.
>
>
>
>
>
>
>
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dock Icon on Mac

Adrien Monteleone-2
In reply to this post by GnuCash - User mailing list
I don’t think a second executable is the issue. I frequently see this problem with Firefox. Occasionally after it updates and re-launches, it will drop a new icon on the far right of my dock for that updated instance. I just close it and relaunch it as normal with the original icon. (which uses the updated instance, there is no older executable anywhere, even if I clicked that original icon while the other was still open.)

I don’t have even a guess as to why this is happening though once GnuCash’s launcher is stored in the dock via right-click and ’keep in dock.’

Regards,
Adrien

> On Jun 13, 2018, at 6:56 AM, David T. via gnucash-user <[hidden email]> wrote:
>
> My dock works, and has worked for a decade. Perhaps you are using GnuCash from two places: Applications, and the dmg? I say this because the “?” could happen after restart if the dock item were linked to a dmg file, and the dmg weren’t reloaded on restart.
>
> Similarly, a second dock item would suggest a second executable in a different location—although how the dock item could reference a different executable is beyond me.
>
> David T.
>
>> On Jun 13, 2018, at 5:56 AM, Glen Byram via gnucash-user <[hidden email]> wrote:
>>
>> I am running macOS Sierra 10.12.6
>>
>> I cannot get Gnucash to reside in the mac dock like other apps. I may have reported this issue before but I can’t find anything in gnucash-user and whatever solution I thought I had was only temporary.
>>
>>
>>
>> 1)  The normal process for placing an app into the dock permanently is to just drag it from the place it is installed (usually the Applications folder) to a position on the dock that you want.
>>
>> Once this is done, you should be able to launch the app from the resulting dock icon. The same icon should bounce as it launches, then stop with a dot under the icon to show it is active.
>>
>> The behaviour I see is that a duplicate Gnucash icon appears at the end of the dock and it is this one that bounces/indicates active app. Although functionally OK, I don’t want 2 icons for the same app when its running one instance.
>>
>>
>>
>> 2) I have tried the alternate method of keeping Gnucash in the dock; Make sure there are no Gnucash dock icons then launch it directly from the Applications folder. Once launched, right click on the active dock icon and select Options->Keep in dock. After that, I can move the icon to the position in the dock I want it to be. It now appears to work perfectly. Unfortunately, after I log out, or after some periods of sleep (not sure on the number-seems random) the Gnucash icon gets overlayed with a question mark indicating that the location of the app is now unknown – even though it has not changed and is still in the Applications folder. If I restart the machine when the Gnucash icon is working as expected, I get a grey question mark in the dock without even the Gnucash icon. Mousing over the grey question mark gives a Gnucash tooltip but of course it won’t launch as the location of Gnucash is unknown. The only option is to right click on the icon+question mark or question mark (by itself) and select Options->Remove from Dock.
>>
>>
>>
>> As far as I can tell Gnucash is the only App I have that exhibits this behaviour. At the start, I thought I had fixed it using method 2 above. Then after several days the dreaded question mark appeared over the icon.
>>
>> Other things I have tried include making an Alias for Gnucash and dragging that to the dock. It didn’t work and behaved like 1) above (duplicate app icon on launch).
>>
>> I decided maybe the dock was corrupt so I did a reset to default: Terminal command; “defaults delete com.apple.dock; killall Dock”
>>
>> This meant I had to rebuild my preferred dock from scratch. There was no difference. All other app icons behaved as expected apart from Gnucash.
>>
>>
>>
>> My conclusion is that Gnucash must have a launch process different to other apps and/or the drag/drop to dock processing must be different.
>>
>> For the time being I tend to stick to Option 2 above as I prefer a single launch icon on the dock. When Gnucash eventually gets it’s inevitable question mark I remove it from dock then re-instate it as per 2) above. But it would be nice to have no need to do that. It’s not urgent or a matter of life and death but something to ponder.
>>
>>
>>
>> Cheers
>>
>> Glen
>>
>>
>>
>> _______________________________________________
>> gnucash-user mailing list
>> [hidden email]
>> To update your subscription preferences or to unsubscribe:
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>> -----
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
>
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.


_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dock Icon on Mac

Glen Byram (Gmail)
Yes, it certainly is annoying. As we speak, Gnucash has just got its grey question mark. The machine has been woken up for about the 10th time since I last did "Keep in Dock". No full restart in that time (I rarely do with the mac). No issue at all the previous 9 or so "wake-ups. I am starting to think that something is wrong with this specific Mac. I would definitely think that was the case if other apps had the same issue, but they all work fine.
Regards
Glen


On 14/06/2018, 15:07, "gnucash-user on behalf of Adrien Monteleone" <gnucash-user-bounces+glen83501=[hidden email] on behalf of [hidden email]> wrote:

    I don’t think a second executable is the issue. I frequently see this problem with Firefox. Occasionally after it updates and re-launches, it will drop a new icon on the far right of my dock for that updated instance. I just close it and relaunch it as normal with the original icon. (which uses the updated instance, there is no older executable anywhere, even if I clicked that original icon while the other was still open.)
   
    I don’t have even a guess as to why this is happening though once GnuCash’s launcher is stored in the dock via right-click and ’keep in dock.’
   
    Regards,
    Adrien
   
    > On Jun 13, 2018, at 6:56 AM, David T. via gnucash-user <[hidden email]> wrote:
    >
    > My dock works, and has worked for a decade. Perhaps you are using GnuCash from two places: Applications, and the dmg? I say this because the “?” could happen after restart if the dock item were linked to a dmg file, and the dmg weren’t reloaded on restart.
    >
    > Similarly, a second dock item would suggest a second executable in a different location—although how the dock item could reference a different executable is beyond me.
    >
    > David T.
    >
    >> On Jun 13, 2018, at 5:56 AM, Glen Byram via gnucash-user <[hidden email]> wrote:
    >>
    >> I am running macOS Sierra 10.12.6
    >>
    >> I cannot get Gnucash to reside in the mac dock like other apps. I may have reported this issue before but I can’t find anything in gnucash-user and whatever solution I thought I had was only temporary.
    >>
    >>
    >>
    >> 1)  The normal process for placing an app into the dock permanently is to just drag it from the place it is installed (usually the Applications folder) to a position on the dock that you want.
    >>
    >> Once this is done, you should be able to launch the app from the resulting dock icon. The same icon should bounce as it launches, then stop with a dot under the icon to show it is active.
    >>
    >> The behaviour I see is that a duplicate Gnucash icon appears at the end of the dock and it is this one that bounces/indicates active app. Although functionally OK, I don’t want 2 icons for the same app when its running one instance.
    >>
    >>
    >>
    >> 2) I have tried the alternate method of keeping Gnucash in the dock; Make sure there are no Gnucash dock icons then launch it directly from the Applications folder. Once launched, right click on the active dock icon and select Options->Keep in dock. After that, I can move the icon to the position in the dock I want it to be. It now appears to work perfectly. Unfortunately, after I log out, or after some periods of sleep (not sure on the number-seems random) the Gnucash icon gets overlayed with a question mark indicating that the location of the app is now unknown – even though it has not changed and is still in the Applications folder. If I restart the machine when the Gnucash icon is working as expected, I get a grey question mark in the dock without even the Gnucash icon. Mousing over the grey question mark gives a Gnucash tooltip but of course it won’t launch as the location of Gnucash is unknown. The only option is to right click on the icon+question mark or question mark (by itself) and select Options->Remove from Dock.
    >>
    >>
    >>
    >> As far as I can tell Gnucash is the only App I have that exhibits this behaviour. At the start, I thought I had fixed it using method 2 above. Then after several days the dreaded question mark appeared over the icon.
    >>
    >> Other things I have tried include making an Alias for Gnucash and dragging that to the dock. It didn’t work and behaved like 1) above (duplicate app icon on launch).
    >>
    >> I decided maybe the dock was corrupt so I did a reset to default: Terminal command; “defaults delete com.apple.dock; killall Dock”
    >>
    >> This meant I had to rebuild my preferred dock from scratch. There was no difference. All other app icons behaved as expected apart from Gnucash.
    >>
    >>
    >>
    >> My conclusion is that Gnucash must have a launch process different to other apps and/or the drag/drop to dock processing must be different.
    >>
    >> For the time being I tend to stick to Option 2 above as I prefer a single launch icon on the dock. When Gnucash eventually gets it’s inevitable question mark I remove it from dock then re-instate it as per 2) above. But it would be nice to have no need to do that. It’s not urgent or a matter of life and death but something to ponder.
    >>
    >>
    >>
    >> Cheers
    >>
    >> Glen
    >>
    >>
    >>
    >> _______________________________________________
    >> gnucash-user mailing list
    >> [hidden email]
    >> To update your subscription preferences or to unsubscribe:
    >> https://lists.gnucash.org/mailman/listinfo/gnucash-user
    >> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
    >> -----
    >> Please remember to CC this list on all your replies.
    >> You can do this by using Reply-To-List or Reply-All.
    >
    > _______________________________________________
    > gnucash-user mailing list
    > [hidden email]
    > To update your subscription preferences or to unsubscribe:
    > https://lists.gnucash.org/mailman/listinfo/gnucash-user
    > If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
    > -----
    > Please remember to CC this list on all your replies.
    > You can do this by using Reply-To-List or Reply-All.
   
   
    _______________________________________________
    gnucash-user mailing list
    [hidden email]
    To update your subscription preferences or to unsubscribe:
    https://lists.gnucash.org/mailman/listinfo/gnucash-user
    If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
    -----
    Please remember to CC this list on all your replies.
    You can do this by using Reply-To-List or Reply-All.


_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dock Icon on Mac

Adrien Monteleone-2
Try creating another user account on the Mac. Add GnuCash to dock and see if the problem persists. It might be an issue with prefs files for your user account. If you don’t want to go that route, or in conjunction with doing so, when the question mark appears, try either Force Quitting (technically relaunching) Finder from the apple menu, and/or execute a “killall Dock” command from a terminal. That might give you the reset needed. Also, keep Console.app running and check it when the question mark appears to see if there are any related entries.

Regards,
Adrien

> On Jun 14, 2018, at 2:15 PM, Glen Byram (Gmail) <[hidden email]> wrote:
>
> Yes, it certainly is annoying. As we speak, Gnucash has just got its grey question mark. The machine has been woken up for about the 10th time since I last did "Keep in Dock". No full restart in that time (I rarely do with the mac). No issue at all the previous 9 or so "wake-ups. I am starting to think that something is wrong with this specific Mac. I would definitely think that was the case if other apps had the same issue, but they all work fine.
> Regards
> Glen
>
>
> On 14/06/2018, 15:07, "gnucash-user on behalf of Adrien Monteleone" <gnucash-user-bounces+glen83501=[hidden email] on behalf of [hidden email]> wrote:
>
>    I don’t think a second executable is the issue. I frequently see this problem with Firefox. Occasionally after it updates and re-launches, it will drop a new icon on the far right of my dock for that updated instance. I just close it and relaunch it as normal with the original icon. (which uses the updated instance, there is no older executable anywhere, even if I clicked that original icon while the other was still open.)
>
>    I don’t have even a guess as to why this is happening though once GnuCash’s launcher is stored in the dock via right-click and ’keep in dock.’
>
>    Regards,
>    Adrien
>
>> On Jun 13, 2018, at 6:56 AM, David T. via gnucash-user <[hidden email]> wrote:
>>
>> My dock works, and has worked for a decade. Perhaps you are using GnuCash from two places: Applications, and the dmg? I say this because the “?” could happen after restart if the dock item were linked to a dmg file, and the dmg weren’t reloaded on restart.
>>
>> Similarly, a second dock item would suggest a second executable in a different location—although how the dock item could reference a different executable is beyond me.
>>
>> David T.
>>
>>> On Jun 13, 2018, at 5:56 AM, Glen Byram via gnucash-user <[hidden email]> wrote:
>>>
>>> I am running macOS Sierra 10.12.6
>>>
>>> I cannot get Gnucash to reside in the mac dock like other apps. I may have reported this issue before but I can’t find anything in gnucash-user and whatever solution I thought I had was only temporary.
>>>
>>>
>>>
>>> 1)  The normal process for placing an app into the dock permanently is to just drag it from the place it is installed (usually the Applications folder) to a position on the dock that you want.
>>>
>>> Once this is done, you should be able to launch the app from the resulting dock icon. The same icon should bounce as it launches, then stop with a dot under the icon to show it is active.
>>>
>>> The behaviour I see is that a duplicate Gnucash icon appears at the end of the dock and it is this one that bounces/indicates active app. Although functionally OK, I don’t want 2 icons for the same app when its running one instance.
>>>
>>>
>>>
>>> 2) I have tried the alternate method of keeping Gnucash in the dock; Make sure there are no Gnucash dock icons then launch it directly from the Applications folder. Once launched, right click on the active dock icon and select Options->Keep in dock. After that, I can move the icon to the position in the dock I want it to be. It now appears to work perfectly. Unfortunately, after I log out, or after some periods of sleep (not sure on the number-seems random) the Gnucash icon gets overlayed with a question mark indicating that the location of the app is now unknown – even though it has not changed and is still in the Applications folder. If I restart the machine when the Gnucash icon is working as expected, I get a grey question mark in the dock without even the Gnucash icon. Mousing over the grey question mark gives a Gnucash tooltip but of course it won’t launch as the location of Gnucash is unknown. The only option is to right click on the icon+question mark or question mark (by itself) and select Options->Remove from Dock.
>>>
>>>
>>>
>>> As far as I can tell Gnucash is the only App I have that exhibits this behaviour. At the start, I thought I had fixed it using method 2 above. Then after several days the dreaded question mark appeared over the icon.
>>>
>>> Other things I have tried include making an Alias for Gnucash and dragging that to the dock. It didn’t work and behaved like 1) above (duplicate app icon on launch).
>>>
>>> I decided maybe the dock was corrupt so I did a reset to default: Terminal command; “defaults delete com.apple.dock; killall Dock”
>>>
>>> This meant I had to rebuild my preferred dock from scratch. There was no difference. All other app icons behaved as expected apart from Gnucash.
>>>
>>>
>>>
>>> My conclusion is that Gnucash must have a launch process different to other apps and/or the drag/drop to dock processing must be different.
>>>
>>> For the time being I tend to stick to Option 2 above as I prefer a single launch icon on the dock. When Gnucash eventually gets it’s inevitable question mark I remove it from dock then re-instate it as per 2) above. But it would be nice to have no need to do that. It’s not urgent or a matter of life and death but something to ponder.
>>>
>>>
>>>
>>> Cheers
>>>
>>> Glen
>>>
>>>
>>>
>>> _______________________________________________
>>> gnucash-user mailing list
>>> [hidden email]
>>> To update your subscription preferences or to unsubscribe:
>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>>> -----
>>> Please remember to CC this list on all your replies.
>>> You can do this by using Reply-To-List or Reply-All.
>>
>> _______________________________________________
>> gnucash-user mailing list
>> [hidden email]
>> To update your subscription preferences or to unsubscribe:
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>> -----
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
>
>
>    _______________________________________________
>    gnucash-user mailing list
>    [hidden email]
>    To update your subscription preferences or to unsubscribe:
>    https://lists.gnucash.org/mailman/listinfo/gnucash-user
>    If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>    -----
>    Please remember to CC this list on all your replies.
>    You can do this by using Reply-To-List or Reply-All.
>
>
>


_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dock Icon on Mac

esok
I have seen this behavior with gimp. I believe it happens because the
application is run from the dmg. If you copy it to applications or the
desktop from the dmg the problem might go away. I'm going to try this with
gimp too.

Eric

On Thu, Jun 14, 2018, 3:30 PM Adrien Monteleone <
[hidden email]> wrote:

> Try creating another user account on the Mac. Add GnuCash to dock and see
> if the problem persists. It might be an issue with prefs files for your
> user account. If you don’t want to go that route, or in conjunction with
> doing so, when the question mark appears, try either Force Quitting
> (technically relaunching) Finder from the apple menu, and/or execute a
> “killall Dock” command from a terminal. That might give you the reset
> needed. Also, keep Console.app running and check it when the question mark
> appears to see if there are any related entries.
>
> Regards,
> Adrien
>
> > On Jun 14, 2018, at 2:15 PM, Glen Byram (Gmail) <[hidden email]>
> wrote:
> >
> > Yes, it certainly is annoying. As we speak, Gnucash has just got its
> grey question mark. The machine has been woken up for about the 10th time
> since I last did "Keep in Dock". No full restart in that time (I rarely do
> with the mac). No issue at all the previous 9 or so "wake-ups. I am
> starting to think that something is wrong with this specific Mac. I would
> definitely think that was the case if other apps had the same issue, but
> they all work fine.
> > Regards
> > Glen
> >
> >
> > On 14/06/2018, 15:07, "gnucash-user on behalf of Adrien Monteleone"
> <gnucash-user-bounces+glen83501=[hidden email] on behalf of
> [hidden email]> wrote:
> >
> >    I don’t think a second executable is the issue. I frequently see this
> problem with Firefox. Occasionally after it updates and re-launches, it
> will drop a new icon on the far right of my dock for that updated instance.
> I just close it and relaunch it as normal with the original icon. (which
> uses the updated instance, there is no older executable anywhere, even if I
> clicked that original icon while the other was still open.)
> >
> >    I don’t have even a guess as to why this is happening though once
> GnuCash’s launcher is stored in the dock via right-click and ’keep in dock.’
> >
> >    Regards,
> >    Adrien
> >
> >> On Jun 13, 2018, at 6:56 AM, David T. via gnucash-user <
> [hidden email]> wrote:
> >>
> >> My dock works, and has worked for a decade. Perhaps you are using
> GnuCash from two places: Applications, and the dmg? I say this because the
> “?” could happen after restart if the dock item were linked to a dmg file,
> and the dmg weren’t reloaded on restart.
> >>
> >> Similarly, a second dock item would suggest a second executable in a
> different location—although how the dock item could reference a different
> executable is beyond me.
> >>
> >> David T.
> >>
> >>> On Jun 13, 2018, at 5:56 AM, Glen Byram via gnucash-user <
> [hidden email]> wrote:
> >>>
> >>> I am running macOS Sierra 10.12.6
> >>>
> >>> I cannot get Gnucash to reside in the mac dock like other apps. I may
> have reported this issue before but I can’t find anything in gnucash-user
> and whatever solution I thought I had was only temporary.
> >>>
> >>>
> >>>
> >>> 1)  The normal process for placing an app into the dock permanently is
> to just drag it from the place it is installed (usually the Applications
> folder) to a position on the dock that you want.
> >>>
> >>> Once this is done, you should be able to launch the app from the
> resulting dock icon. The same icon should bounce as it launches, then stop
> with a dot under the icon to show it is active.
> >>>
> >>> The behaviour I see is that a duplicate Gnucash icon appears at the
> end of the dock and it is this one that bounces/indicates active app.
> Although functionally OK, I don’t want 2 icons for the same app when its
> running one instance.
> >>>
> >>>
> >>>
> >>> 2) I have tried the alternate method of keeping Gnucash in the dock;
> Make sure there are no Gnucash dock icons then launch it directly from the
> Applications folder. Once launched, right click on the active dock icon and
> select Options->Keep in dock. After that, I can move the icon to the
> position in the dock I want it to be. It now appears to work perfectly.
> Unfortunately, after I log out, or after some periods of sleep (not sure on
> the number-seems random) the Gnucash icon gets overlayed with a question
> mark indicating that the location of the app is now unknown – even though
> it has not changed and is still in the Applications folder. If I restart
> the machine when the Gnucash icon is working as expected, I get a grey
> question mark in the dock without even the Gnucash icon. Mousing over the
> grey question mark gives a Gnucash tooltip but of course it won’t launch as
> the location of Gnucash is unknown. The only option is to right click on
> the icon+question mark or question mark (by itself) and select
> Options->Remove from Dock.
> >>>
> >>>
> >>>
> >>> As far as I can tell Gnucash is the only App I have that exhibits this
> behaviour. At the start, I thought I had fixed it using method 2 above.
> Then after several days the dreaded question mark appeared over the icon.
> >>>
> >>> Other things I have tried include making an Alias for Gnucash and
> dragging that to the dock. It didn’t work and behaved like 1) above
> (duplicate app icon on launch).
> >>>
> >>> I decided maybe the dock was corrupt so I did a reset to default:
> Terminal command; “defaults delete com.apple.dock; killall Dock”
> >>>
> >>> This meant I had to rebuild my preferred dock from scratch. There was
> no difference. All other app icons behaved as expected apart from Gnucash.
> >>>
> >>>
> >>>
> >>> My conclusion is that Gnucash must have a launch process different to
> other apps and/or the drag/drop to dock processing must be different.
> >>>
> >>> For the time being I tend to stick to Option 2 above as I prefer a
> single launch icon on the dock. When Gnucash eventually gets it’s
> inevitable question mark I remove it from dock then re-instate it as per 2)
> above. But it would be nice to have no need to do that. It’s not urgent or
> a matter of life and death but something to ponder.
> >>>
> >>>
> >>>
> >>> Cheers
> >>>
> >>> Glen
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> gnucash-user mailing list
> >>> [hidden email]
> >>> To update your subscription preferences or to unsubscribe:
> >>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> >>> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> >>> -----
> >>> Please remember to CC this list on all your replies.
> >>> You can do this by using Reply-To-List or Reply-All.
> >>
> >> _______________________________________________
> >> gnucash-user mailing list
> >> [hidden email]
> >> To update your subscription preferences or to unsubscribe:
> >> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> >> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> >> -----
> >> Please remember to CC this list on all your replies.
> >> You can do this by using Reply-To-List or Reply-All.
> >
> >
> >    _______________________________________________
> >    gnucash-user mailing list
> >    [hidden email]
> >    To update your subscription preferences or to unsubscribe:
> >    https://lists.gnucash.org/mailman/listinfo/gnucash-user
> >    If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> >    -----
> >    Please remember to CC this list on all your replies.
> >    You can do this by using Reply-To-List or Reply-All.
> >
> >
> >
>
>
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dock Icon on Mac

Adrien Monteleone-2
It does happen when running from the dmg and then eject it, but the OP specifically noted they were running it from Applications.

Regards,
Adrien

> On Jun 14, 2018, at 3:33 PM, Eric Sokolowsky <[hidden email]> wrote:
>
> I have seen this behavior with gimp. I believe it happens because the application is run from the dmg. If you copy it to applications or the desktop from the dmg the problem might go away. I'm going to try this with gimp too.
>
> Eric
>
> On Thu, Jun 14, 2018, 3:30 PM Adrien Monteleone <[hidden email]> wrote:
> Try creating another user account on the Mac. Add GnuCash to dock and see if the problem persists. It might be an issue with prefs files for your user account. If you don’t want to go that route, or in conjunction with doing so, when the question mark appears, try either Force Quitting (technically relaunching) Finder from the apple menu, and/or execute a “killall Dock” command from a terminal. That might give you the reset needed. Also, keep Console.app running and check it when the question mark appears to see if there are any related entries.
>
> Regards,
> Adrien
>
> > On Jun 14, 2018, at 2:15 PM, Glen Byram (Gmail) <[hidden email]> wrote:
> >
> > Yes, it certainly is annoying. As we speak, Gnucash has just got its grey question mark. The machine has been woken up for about the 10th time since I last did "Keep in Dock". No full restart in that time (I rarely do with the mac). No issue at all the previous 9 or so "wake-ups. I am starting to think that something is wrong with this specific Mac. I would definitely think that was the case if other apps had the same issue, but they all work fine.
> > Regards
> > Glen
> >
> >
> > On 14/06/2018, 15:07, "gnucash-user on behalf of Adrien Monteleone" <gnucash-user-bounces+glen83501=[hidden email] on behalf of [hidden email]> wrote:
> >
> >    I don’t think a second executable is the issue. I frequently see this problem with Firefox. Occasionally after it updates and re-launches, it will drop a new icon on the far right of my dock for that updated instance. I just close it and relaunch it as normal with the original icon. (which uses the updated instance, there is no older executable anywhere, even if I clicked that original icon while the other was still open.)
> >
> >    I don’t have even a guess as to why this is happening though once GnuCash’s launcher is stored in the dock via right-click and ’keep in dock.’
> >
> >    Regards,
> >    Adrien
> >
> >> On Jun 13, 2018, at 6:56 AM, David T. via gnucash-user <[hidden email]> wrote:
> >>
> >> My dock works, and has worked for a decade. Perhaps you are using GnuCash from two places: Applications, and the dmg? I say this because the “?” could happen after restart if the dock item were linked to a dmg file, and the dmg weren’t reloaded on restart.
> >>
> >> Similarly, a second dock item would suggest a second executable in a different location—although how the dock item could reference a different executable is beyond me.
> >>
> >> David T.
> >>
> >>> On Jun 13, 2018, at 5:56 AM, Glen Byram via gnucash-user <[hidden email]> wrote:
> >>>
> >>> I am running macOS Sierra 10.12.6
> >>>
> >>> I cannot get Gnucash to reside in the mac dock like other apps. I may have reported this issue before but I can’t find anything in gnucash-user and whatever solution I thought I had was only temporary.
> >>>
> >>>
> >>>
> >>> 1)  The normal process for placing an app into the dock permanently is to just drag it from the place it is installed (usually the Applications folder) to a position on the dock that you want.
> >>>
> >>> Once this is done, you should be able to launch the app from the resulting dock icon. The same icon should bounce as it launches, then stop with a dot under the icon to show it is active.
> >>>
> >>> The behaviour I see is that a duplicate Gnucash icon appears at the end of the dock and it is this one that bounces/indicates active app. Although functionally OK, I don’t want 2 icons for the same app when its running one instance.
> >>>
> >>>
> >>>
> >>> 2) I have tried the alternate method of keeping Gnucash in the dock; Make sure there are no Gnucash dock icons then launch it directly from the Applications folder. Once launched, right click on the active dock icon and select Options->Keep in dock. After that, I can move the icon to the position in the dock I want it to be. It now appears to work perfectly. Unfortunately, after I log out, or after some periods of sleep (not sure on the number-seems random) the Gnucash icon gets overlayed with a question mark indicating that the location of the app is now unknown – even though it has not changed and is still in the Applications folder. If I restart the machine when the Gnucash icon is working as expected, I get a grey question mark in the dock without even the Gnucash icon. Mousing over the grey question mark gives a Gnucash tooltip but of course it won’t launch as the location of Gnucash is unknown. The only option is to right click on the icon+question mark or question mark (by itself) and select Options->Remove from Dock.
> >>>
> >>>
> >>>
> >>> As far as I can tell Gnucash is the only App I have that exhibits this behaviour. At the start, I thought I had fixed it using method 2 above. Then after several days the dreaded question mark appeared over the icon.
> >>>
> >>> Other things I have tried include making an Alias for Gnucash and dragging that to the dock. It didn’t work and behaved like 1) above (duplicate app icon on launch).
> >>>
> >>> I decided maybe the dock was corrupt so I did a reset to default: Terminal command; “defaults delete com.apple.dock; killall Dock”
> >>>
> >>> This meant I had to rebuild my preferred dock from scratch. There was no difference. All other app icons behaved as expected apart from Gnucash.
> >>>
> >>>
> >>>
> >>> My conclusion is that Gnucash must have a launch process different to other apps and/or the drag/drop to dock processing must be different.
> >>>
> >>> For the time being I tend to stick to Option 2 above as I prefer a single launch icon on the dock. When Gnucash eventually gets it’s inevitable question mark I remove it from dock then re-instate it as per 2) above. But it would be nice to have no need to do that. It’s not urgent or a matter of life and death but something to ponder.
> >>>
> >>>
> >>>
> >>> Cheers
> >>>
> >>> Glen
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> gnucash-user mailing list
> >>> [hidden email]
> >>> To update your subscription preferences or to unsubscribe:
> >>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> >>> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> >>> -----
> >>> Please remember to CC this list on all your replies.
> >>> You can do this by using Reply-To-List or Reply-All.
> >>
> >> _______________________________________________
> >> gnucash-user mailing list
> >> [hidden email]
> >> To update your subscription preferences or to unsubscribe:
> >> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> >> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> >> -----
> >> Please remember to CC this list on all your replies.
> >> You can do this by using Reply-To-List or Reply-All.
> >
> >
> >    _______________________________________________
> >    gnucash-user mailing list
> >    [hidden email]
> >    To update your subscription preferences or to unsubscribe:
> >    https://lists.gnucash.org/mailman/listinfo/gnucash-user
> >    If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> >    -----
> >    Please remember to CC this list on all your replies.
> >    You can do this by using Reply-To-List or Reply-All.
> >
> >
> >
>
>
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.


_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dock Icon on Mac

Adrien Monteleone-2
In reply to this post by Adrien Monteleone-2
On this note,

Are you installing to “/Applications” or “/Users/your-user/Applications”? Either should be fine, but if you do have some corruption in your user profile, installing to /Applications might help.

Regards,
Adrien

> On Jun 14, 2018, at 2:28 PM, Adrien Monteleone <[hidden email]> wrote:
>
> Try creating another user account on the Mac. Add GnuCash to dock and see if the problem persists. It might be an issue with prefs files for your user account. If you don’t want to go that route, or in conjunction with doing so, when the question mark appears, try either Force Quitting (technically relaunching) Finder from the apple menu, and/or execute a “killall Dock” command from a terminal. That might give you the reset needed. Also, keep Console.app running and check it when the question mark appears to see if there are any related entries.
>
> Regards,
> Adrien
>
>> On Jun 14, 2018, at 2:15 PM, Glen Byram (Gmail) <[hidden email]> wrote:
>>
>> Yes, it certainly is annoying. As we speak, Gnucash has just got its grey question mark. The machine has been woken up for about the 10th time since I last did "Keep in Dock". No full restart in that time (I rarely do with the mac). No issue at all the previous 9 or so "wake-ups. I am starting to think that something is wrong with this specific Mac. I would definitely think that was the case if other apps had the same issue, but they all work fine.
>> Regards
>> Glen
>>
>>
>> On 14/06/2018, 15:07, "gnucash-user on behalf of Adrien Monteleone" <gnucash-user-bounces+glen83501=[hidden email] on behalf of [hidden email]> wrote:
>>
>>   I don’t think a second executable is the issue. I frequently see this problem with Firefox. Occasionally after it updates and re-launches, it will drop a new icon on the far right of my dock for that updated instance. I just close it and relaunch it as normal with the original icon. (which uses the updated instance, there is no older executable anywhere, even if I clicked that original icon while the other was still open.)
>>
>>   I don’t have even a guess as to why this is happening though once GnuCash’s launcher is stored in the dock via right-click and ’keep in dock.’
>>
>>   Regards,
>>   Adrien
>>
>>> On Jun 13, 2018, at 6:56 AM, David T. via gnucash-user <[hidden email]> wrote:
>>>
>>> My dock works, and has worked for a decade. Perhaps you are using GnuCash from two places: Applications, and the dmg? I say this because the “?” could happen after restart if the dock item were linked to a dmg file, and the dmg weren’t reloaded on restart.
>>>
>>> Similarly, a second dock item would suggest a second executable in a different location—although how the dock item could reference a different executable is beyond me.
>>>
>>> David T.
>>>
>>>> On Jun 13, 2018, at 5:56 AM, Glen Byram via gnucash-user <[hidden email]> wrote:
>>>>
>>>> I am running macOS Sierra 10.12.6
>>>>
>>>> I cannot get Gnucash to reside in the mac dock like other apps. I may have reported this issue before but I can’t find anything in gnucash-user and whatever solution I thought I had was only temporary.
>>>>
>>>>
>>>>
>>>> 1)  The normal process for placing an app into the dock permanently is to just drag it from the place it is installed (usually the Applications folder) to a position on the dock that you want.
>>>>
>>>> Once this is done, you should be able to launch the app from the resulting dock icon. The same icon should bounce as it launches, then stop with a dot under the icon to show it is active.
>>>>
>>>> The behaviour I see is that a duplicate Gnucash icon appears at the end of the dock and it is this one that bounces/indicates active app. Although functionally OK, I don’t want 2 icons for the same app when its running one instance.
>>>>
>>>>
>>>>
>>>> 2) I have tried the alternate method of keeping Gnucash in the dock; Make sure there are no Gnucash dock icons then launch it directly from the Applications folder. Once launched, right click on the active dock icon and select Options->Keep in dock. After that, I can move the icon to the position in the dock I want it to be. It now appears to work perfectly. Unfortunately, after I log out, or after some periods of sleep (not sure on the number-seems random) the Gnucash icon gets overlayed with a question mark indicating that the location of the app is now unknown – even though it has not changed and is still in the Applications folder. If I restart the machine when the Gnucash icon is working as expected, I get a grey question mark in the dock without even the Gnucash icon. Mousing over the grey question mark gives a Gnucash tooltip but of course it won’t launch as the location of Gnucash is unknown. The only option is to right click on the icon+question mark or question mark (by itself) and select Options->Remove from Dock.
>>>>
>>>>
>>>>
>>>> As far as I can tell Gnucash is the only App I have that exhibits this behaviour. At the start, I thought I had fixed it using method 2 above. Then after several days the dreaded question mark appeared over the icon.
>>>>
>>>> Other things I have tried include making an Alias for Gnucash and dragging that to the dock. It didn’t work and behaved like 1) above (duplicate app icon on launch).
>>>>
>>>> I decided maybe the dock was corrupt so I did a reset to default: Terminal command; “defaults delete com.apple.dock; killall Dock”
>>>>
>>>> This meant I had to rebuild my preferred dock from scratch. There was no difference. All other app icons behaved as expected apart from Gnucash.
>>>>
>>>>
>>>>
>>>> My conclusion is that Gnucash must have a launch process different to other apps and/or the drag/drop to dock processing must be different.
>>>>
>>>> For the time being I tend to stick to Option 2 above as I prefer a single launch icon on the dock. When Gnucash eventually gets it’s inevitable question mark I remove it from dock then re-instate it as per 2) above. But it would be nice to have no need to do that. It’s not urgent or a matter of life and death but something to ponder.
>>>>
>>>>
>>>>
>>>> Cheers
>>>>
>>>> Glen
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> gnucash-user mailing list
>>>> [hidden email]
>>>> To update your subscription preferences or to unsubscribe:
>>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>>> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>>>> -----
>>>> Please remember to CC this list on all your replies.
>>>> You can do this by using Reply-To-List or Reply-All.
>>>
>>> _______________________________________________
>>> gnucash-user mailing list
>>> [hidden email]
>>> To update your subscription preferences or to unsubscribe:
>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>>> -----
>>> Please remember to CC this list on all your replies.
>>> You can do this by using Reply-To-List or Reply-All.
>>
>>
>>   _______________________________________________
>>   gnucash-user mailing list
>>   [hidden email]
>>   To update your subscription preferences or to unsubscribe:
>>   https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>   If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>>   -----
>>   Please remember to CC this list on all your replies.
>>   You can do this by using Reply-To-List or Reply-All.
>>
>>
>>
>


_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dock Icon on Mac

Glen Byram (Gmail)
Here is a bit more information. I looked directly at the dock plist (com.apple.dock.plist). The entry for Gnucash looks very strange.
In the situation where the icon was created using "Keep In Dock" while Gnucash is executing, after quitting Gnucash and examining the Dock plist the entry for Gnucash reads: <string>file:///private/var/folders/3m/sjt8zmn90g7bdf0k8sm6944m0000gn/T/AppTranslocation/73EE75C9-F118-471E-A6BC-20B3AFD8EE18/d/Gnucash.app/</string>

By comparison. The string for Word is: <string>file:///Applications/Microsoft%20Word.app/</string>
In the above example, the resultant Gnucash dock item works correctly as any other app, until the point that it becomes invalid with a grey question mark.

Instead, if I drag the Gnucash app from the Application folder onto the dock, the string created is <string>file:///Applications/Gnucash.app/</string>
Which is what I would have expected, but using this Icon causes another Icon to appear for Gnucash at the end of the dock.

Regards
Glen


On 14/06/2018, 21:49, "gnucash-user on behalf of Adrien Monteleone" <gnucash-user-bounces+glen83501=[hidden email] on behalf of [hidden email]> wrote:

    On this note,
   
    Are you installing to “/Applications” or “/Users/your-user/Applications”? Either should be fine, but if you do have some corruption in your user profile, installing to /Applications might help.
   
    Regards,
    Adrien
   
    > On Jun 14, 2018, at 2:28 PM, Adrien Monteleone <[hidden email]> wrote:
    >
    > Try creating another user account on the Mac. Add GnuCash to dock and see if the problem persists. It might be an issue with prefs files for your user account. If you don’t want to go that route, or in conjunction with doing so, when the question mark appears, try either Force Quitting (technically relaunching) Finder from the apple menu, and/or execute a “killall Dock” command from a terminal. That might give you the reset needed. Also, keep Console.app running and check it when the question mark appears to see if there are any related entries.
    >
    > Regards,
    > Adrien
    >
    >> On Jun 14, 2018, at 2:15 PM, Glen Byram (Gmail) <[hidden email]> wrote:
    >>
    >> Yes, it certainly is annoying. As we speak, Gnucash has just got its grey question mark. The machine has been woken up for about the 10th time since I last did "Keep in Dock". No full restart in that time (I rarely do with the mac). No issue at all the previous 9 or so "wake-ups. I am starting to think that something is wrong with this specific Mac. I would definitely think that was the case if other apps had the same issue, but they all work fine.
    >> Regards
    >> Glen
    >>
    >>
    >> On 14/06/2018, 15:07, "gnucash-user on behalf of Adrien Monteleone" <gnucash-user-bounces+glen83501=[hidden email] on behalf of [hidden email]> wrote:
    >>
    >>   I don’t think a second executable is the issue. I frequently see this problem with Firefox. Occasionally after it updates and re-launches, it will drop a new icon on the far right of my dock for that updated instance. I just close it and relaunch it as normal with the original icon. (which uses the updated instance, there is no older executable anywhere, even if I clicked that original icon while the other was still open.)
    >>
    >>   I don’t have even a guess as to why this is happening though once GnuCash’s launcher is stored in the dock via right-click and ’keep in dock.’
    >>
    >>   Regards,
    >>   Adrien
    >>
    >>> On Jun 13, 2018, at 6:56 AM, David T. via gnucash-user <[hidden email]> wrote:
    >>>
    >>> My dock works, and has worked for a decade. Perhaps you are using GnuCash from two places: Applications, and the dmg? I say this because the “?” could happen after restart if the dock item were linked to a dmg file, and the dmg weren’t reloaded on restart.
    >>>
    >>> Similarly, a second dock item would suggest a second executable in a different location—although how the dock item could reference a different executable is beyond me.
    >>>
    >>> David T.
    >>>
    >>>> On Jun 13, 2018, at 5:56 AM, Glen Byram via gnucash-user <[hidden email]> wrote:
    >>>>
    >>>> I am running macOS Sierra 10.12.6
    >>>>
    >>>> I cannot get Gnucash to reside in the mac dock like other apps. I may have reported this issue before but I can’t find anything in gnucash-user and whatever solution I thought I had was only temporary.
    >>>>
    >>>>
    >>>>
    >>>> 1)  The normal process for placing an app into the dock permanently is to just drag it from the place it is installed (usually the Applications folder) to a position on the dock that you want.
    >>>>
    >>>> Once this is done, you should be able to launch the app from the resulting dock icon. The same icon should bounce as it launches, then stop with a dot under the icon to show it is active.
    >>>>
    >>>> The behaviour I see is that a duplicate Gnucash icon appears at the end of the dock and it is this one that bounces/indicates active app. Although functionally OK, I don’t want 2 icons for the same app when its running one instance.
    >>>>
    >>>>
    >>>>
    >>>> 2) I have tried the alternate method of keeping Gnucash in the dock; Make sure there are no Gnucash dock icons then launch it directly from the Applications folder. Once launched, right click on the active dock icon and select Options->Keep in dock. After that, I can move the icon to the position in the dock I want it to be. It now appears to work perfectly. Unfortunately, after I log out, or after some periods of sleep (not sure on the number-seems random) the Gnucash icon gets overlayed with a question mark indicating that the location of the app is now unknown – even though it has not changed and is still in the Applications folder. If I restart the machine when the Gnucash icon is working as expected, I get a grey question mark in the dock without even the Gnucash icon. Mousing over the grey question mark gives a Gnucash tooltip but of course it won’t launch as the location of Gnucash is unknown. The only option is to right click on the icon+question mark or question mark (by itself) and select Options->Remove from Dock.
    >>>>
    >>>>
    >>>>
    >>>> As far as I can tell Gnucash is the only App I have that exhibits this behaviour. At the start, I thought I had fixed it using method 2 above. Then after several days the dreaded question mark appeared over the icon.
    >>>>
    >>>> Other things I have tried include making an Alias for Gnucash and dragging that to the dock. It didn’t work and behaved like 1) above (duplicate app icon on launch).
    >>>>
    >>>> I decided maybe the dock was corrupt so I did a reset to default: Terminal command; “defaults delete com.apple.dock; killall Dock”
    >>>>
    >>>> This meant I had to rebuild my preferred dock from scratch. There was no difference. All other app icons behaved as expected apart from Gnucash.
    >>>>
    >>>>
    >>>>
    >>>> My conclusion is that Gnucash must have a launch process different to other apps and/or the drag/drop to dock processing must be different.
    >>>>
    >>>> For the time being I tend to stick to Option 2 above as I prefer a single launch icon on the dock. When Gnucash eventually gets it’s inevitable question mark I remove it from dock then re-instate it as per 2) above. But it would be nice to have no need to do that. It’s not urgent or a matter of life and death but something to ponder.
    >>>>
    >>>>
    >>>>
    >>>> Cheers
    >>>>
    >>>> Glen
    >>>>
    >>>>
    >>>>
    >>>> _______________________________________________
    >>>> gnucash-user mailing list
    >>>> [hidden email]
    >>>> To update your subscription preferences or to unsubscribe:
    >>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
    >>>> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
    >>>> -----
    >>>> Please remember to CC this list on all your replies.
    >>>> You can do this by using Reply-To-List or Reply-All.
    >>>
    >>> _______________________________________________
    >>> gnucash-user mailing list
    >>> [hidden email]
    >>> To update your subscription preferences or to unsubscribe:
    >>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
    >>> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
    >>> -----
    >>> Please remember to CC this list on all your replies.
    >>> You can do this by using Reply-To-List or Reply-All.
    >>
    >>
    >>   _______________________________________________
    >>   gnucash-user mailing list
    >>   [hidden email]
    >>   To update your subscription preferences or to unsubscribe:
    >>   https://lists.gnucash.org/mailman/listinfo/gnucash-user
    >>   If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
    >>   -----
    >>   Please remember to CC this list on all your replies.
    >>   You can do this by using Reply-To-List or Reply-All.
    >>
    >>
    >>
    >
   
   
    _______________________________________________
    gnucash-user mailing list
    [hidden email]
    To update your subscription preferences or to unsubscribe:
    https://lists.gnucash.org/mailman/listinfo/gnucash-user
    If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
    -----
    Please remember to CC this list on all your replies.
    You can do this by using Reply-To-List or Reply-All.


_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dock Icon on Mac

Glen Byram (Gmail)
In reply to this post by Adrien Monteleone-2
Partially solved! i.e. I think I know what is wrong, but not why it happened to this particular App.
Short answer: Gnucash is in quarantine due to a Mac OS feature called Gatekeeper Path Randomization (GPR). Running the following command in a Terminal window removes the quarantine flag
xattr -dr com.apple.quarantine /Applications/Gnucash.app/
After this command, placing Gnucash in the Dock from the application folder no longer results in a duplicate icon and app behaviour is normal.

Now, why Gnucash got quarantined in the first place is what I need to work out. It shouldn't happen if an application is copied from the .dmg file to the Applications folder.
I am currently chaining through the following link where someone was experiencing similar behaviour with an app called Blender. The link pointed me in the right direction for a solution
https://developer.blender.org/T49473

I'll report any further findings here if I think it is an issue caused in any way with how the Gnucash .dmg file is built, in case it impacts devs. Now to get to the bottom of GPR on the mac.
Thanks for all your replies/suggestions
Glen

On 14/06/2018, 21:49, "gnucash-user on behalf of Adrien Monteleone" <gnucash-user-bounces+glen83501=[hidden email] on behalf of [hidden email]> wrote:

    On this note,
   
    Are you installing to “/Applications” or “/Users/your-user/Applications”? Either should be fine, but if you do have some corruption in your user profile, installing to /Applications might help.
   
    Regards,
    Adrien
   
    > On Jun 14, 2018, at 2:28 PM, Adrien Monteleone <[hidden email]> wrote:
    >
    > Try creating another user account on the Mac. Add GnuCash to dock and see if the problem persists. It might be an issue with prefs files for your user account. If you don’t want to go that route, or in conjunction with doing so, when the question mark appears, try either Force Quitting (technically relaunching) Finder from the apple menu, and/or execute a “killall Dock” command from a terminal. That might give you the reset needed. Also, keep Console.app running and check it when the question mark appears to see if there are any related entries.
    >
    > Regards,
    > Adrien
    >
    >> On Jun 14, 2018, at 2:15 PM, Glen Byram (Gmail) <[hidden email]> wrote:
    >>
    >> Yes, it certainly is annoying. As we speak, Gnucash has just got its grey question mark. The machine has been woken up for about the 10th time since I last did "Keep in Dock". No full restart in that time (I rarely do with the mac). No issue at all the previous 9 or so "wake-ups. I am starting to think that something is wrong with this specific Mac. I would definitely think that was the case if other apps had the same issue, but they all work fine.
    >> Regards
    >> Glen
    >>
    >>
    >> On 14/06/2018, 15:07, "gnucash-user on behalf of Adrien Monteleone" <gnucash-user-bounces+glen83501=[hidden email] on behalf of [hidden email]> wrote:
    >>
    >>   I don’t think a second executable is the issue. I frequently see this problem with Firefox. Occasionally after it updates and re-launches, it will drop a new icon on the far right of my dock for that updated instance. I just close it and relaunch it as normal with the original icon. (which uses the updated instance, there is no older executable anywhere, even if I clicked that original icon while the other was still open.)
    >>
    >>   I don’t have even a guess as to why this is happening though once GnuCash’s launcher is stored in the dock via right-click and ’keep in dock.’
    >>
    >>   Regards,
    >>   Adrien
    >>
    >>> On Jun 13, 2018, at 6:56 AM, David T. via gnucash-user <[hidden email]> wrote:
    >>>
    >>> My dock works, and has worked for a decade. Perhaps you are using GnuCash from two places: Applications, and the dmg? I say this because the “?” could happen after restart if the dock item were linked to a dmg file, and the dmg weren’t reloaded on restart.
    >>>
    >>> Similarly, a second dock item would suggest a second executable in a different location—although how the dock item could reference a different executable is beyond me.
    >>>
    >>> David T.
    >>>
    >>>> On Jun 13, 2018, at 5:56 AM, Glen Byram via gnucash-user <[hidden email]> wrote:
    >>>>
    >>>> I am running macOS Sierra 10.12.6
    >>>>
    >>>> I cannot get Gnucash to reside in the mac dock like other apps. I may have reported this issue before but I can’t find anything in gnucash-user and whatever solution I thought I had was only temporary.
    >>>>
    >>>>
    >>>>
    >>>> 1)  The normal process for placing an app into the dock permanently is to just drag it from the place it is installed (usually the Applications folder) to a position on the dock that you want.
    >>>>
    >>>> Once this is done, you should be able to launch the app from the resulting dock icon. The same icon should bounce as it launches, then stop with a dot under the icon to show it is active.
    >>>>
    >>>> The behaviour I see is that a duplicate Gnucash icon appears at the end of the dock and it is this one that bounces/indicates active app. Although functionally OK, I don’t want 2 icons for the same app when its running one instance.
    >>>>
    >>>>
    >>>>
    >>>> 2) I have tried the alternate method of keeping Gnucash in the dock; Make sure there are no Gnucash dock icons then launch it directly from the Applications folder. Once launched, right click on the active dock icon and select Options->Keep in dock. After that, I can move the icon to the position in the dock I want it to be. It now appears to work perfectly. Unfortunately, after I log out, or after some periods of sleep (not sure on the number-seems random) the Gnucash icon gets overlayed with a question mark indicating that the location of the app is now unknown – even though it has not changed and is still in the Applications folder. If I restart the machine when the Gnucash icon is working as expected, I get a grey question mark in the dock without even the Gnucash icon. Mousing over the grey question mark gives a Gnucash tooltip but of course it won’t launch as the location of Gnucash is unknown. The only option is to right click on the icon+question mark or question mark (by itself) and select Options->Remove from Dock.
    >>>>
    >>>>
    >>>>
    >>>> As far as I can tell Gnucash is the only App I have that exhibits this behaviour. At the start, I thought I had fixed it using method 2 above. Then after several days the dreaded question mark appeared over the icon.
    >>>>
    >>>> Other things I have tried include making an Alias for Gnucash and dragging that to the dock. It didn’t work and behaved like 1) above (duplicate app icon on launch).
    >>>>
    >>>> I decided maybe the dock was corrupt so I did a reset to default: Terminal command; “defaults delete com.apple.dock; killall Dock”
    >>>>
    >>>> This meant I had to rebuild my preferred dock from scratch. There was no difference. All other app icons behaved as expected apart from Gnucash.
    >>>>
    >>>>
    >>>>
    >>>> My conclusion is that Gnucash must have a launch process different to other apps and/or the drag/drop to dock processing must be different.
    >>>>
    >>>> For the time being I tend to stick to Option 2 above as I prefer a single launch icon on the dock. When Gnucash eventually gets it’s inevitable question mark I remove it from dock then re-instate it as per 2) above. But it would be nice to have no need to do that. It’s not urgent or a matter of life and death but something to ponder.
    >>>>
    >>>>
    >>>>
    >>>> Cheers
    >>>>
    >>>> Glen
    >>>>
    >>>>
    >>>>
    >>>> _______________________________________________
    >>>> gnucash-user mailing list
    >>>> [hidden email]
    >>>> To update your subscription preferences or to unsubscribe:
    >>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
    >>>> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
    >>>> -----
    >>>> Please remember to CC this list on all your replies.
    >>>> You can do this by using Reply-To-List or Reply-All.
    >>>
    >>> _______________________________________________
    >>> gnucash-user mailing list
    >>> [hidden email]
    >>> To update your subscription preferences or to unsubscribe:
    >>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
    >>> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
    >>> -----
    >>> Please remember to CC this list on all your replies.
    >>> You can do this by using Reply-To-List or Reply-All.
    >>
    >>
    >>   _______________________________________________
    >>   gnucash-user mailing list
    >>   [hidden email]
    >>   To update your subscription preferences or to unsubscribe:
    >>   https://lists.gnucash.org/mailman/listinfo/gnucash-user
    >>   If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
    >>   -----
    >>   Please remember to CC this list on all your replies.
    >>   You can do this by using Reply-To-List or Reply-All.
    >>
    >>
    >>
    >
   
   
    _______________________________________________
    gnucash-user mailing list
    [hidden email]
    To update your subscription preferences or to unsubscribe:
    https://lists.gnucash.org/mailman/listinfo/gnucash-user
    If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
    -----
    Please remember to CC this list on all your replies.
    You can do this by using Reply-To-List or Reply-All.


_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dock Icon on Mac

John Ralls-2
Interesting. The dmg shouldn’t matter as the app itself is signed with an Apple Developer certificate. You can check that by running
  codesign -vvd /Applications/Gnucash.app

which, if you’re using the latest Mac build, should return
  Executable=/Applications/Gnucash.app/Contents/MacOS/Gnucash
  Identifier=org.gnucash.Gnucash
  Format=app bundle with Mach-O thin (x86_64)
  CodeDirectory v=20200 size=603 flags=0x0(none) hashes=23+3 location=embedded
  Signature size=8523
  Authority=Developer ID Application: John D Ralls (Y9EHT5WMK7)
  Authority=Developer ID Certification Authority
  Authority=Apple Root CA
  Timestamp=Apr 29, 2018 at 9:47:11 PM
  Info.plist entries=19
  TeamIdentifier=Y9EHT5WMK7
  Sealed Resources version=2 rules=12 files=14200
  Internal requirements count=2 size=628

The Authority lines are what’s important.

Regards,
John Ralls

> On Jun 14, 2018, at 5:30 PM, Glen Byram (Gmail) <[hidden email]> wrote:
>
> Partially solved! i.e. I think I know what is wrong, but not why it happened to this particular App.
> Short answer: Gnucash is in quarantine due to a Mac OS feature called Gatekeeper Path Randomization (GPR). Running the following command in a Terminal window removes the quarantine flag
> xattr -dr com.apple.quarantine /Applications/Gnucash.app/
> After this command, placing Gnucash in the Dock from the application folder no longer results in a duplicate icon and app behaviour is normal.
>
> Now, why Gnucash got quarantined in the first place is what I need to work out. It shouldn't happen if an application is copied from the .dmg file to the Applications folder.
> I am currently chaining through the following link where someone was experiencing similar behaviour with an app called Blender. The link pointed me in the right direction for a solution
> https://developer.blender.org/T49473
>
> I'll report any further findings here if I think it is an issue caused in any way with how the Gnucash .dmg file is built, in case it impacts devs. Now to get to the bottom of GPR on the mac.
> Thanks for all your replies/suggestions
> Glen
>
> On 14/06/2018, 21:49, "gnucash-user on behalf of Adrien Monteleone" <gnucash-user-bounces+glen83501=[hidden email] on behalf of [hidden email]> wrote:
>
>    On this note,
>
>    Are you installing to “/Applications” or “/Users/your-user/Applications”? Either should be fine, but if you do have some corruption in your user profile, installing to /Applications might help.
>
>    Regards,
>    Adrien
>
>> On Jun 14, 2018, at 2:28 PM, Adrien Monteleone <[hidden email]> wrote:
>>
>> Try creating another user account on the Mac. Add GnuCash to dock and see if the problem persists. It might be an issue with prefs files for your user account. If you don’t want to go that route, or in conjunction with doing so, when the question mark appears, try either Force Quitting (technically relaunching) Finder from the apple menu, and/or execute a “killall Dock” command from a terminal. That might give you the reset needed. Also, keep Console.app running and check it when the question mark appears to see if there are any related entries.
>>
>> Regards,
>> Adrien
>>
>>> On Jun 14, 2018, at 2:15 PM, Glen Byram (Gmail) <[hidden email]> wrote:
>>>
>>> Yes, it certainly is annoying. As we speak, Gnucash has just got its grey question mark. The machine has been woken up for about the 10th time since I last did "Keep in Dock". No full restart in that time (I rarely do with the mac). No issue at all the previous 9 or so "wake-ups. I am starting to think that something is wrong with this specific Mac. I would definitely think that was the case if other apps had the same issue, but they all work fine.
>>> Regards
>>> Glen
>>>
>>>
>>> On 14/06/2018, 15:07, "gnucash-user on behalf of Adrien Monteleone" <gnucash-user-bounces+glen83501=[hidden email] on behalf of [hidden email]> wrote:
>>>
>>>  I don’t think a second executable is the issue. I frequently see this problem with Firefox. Occasionally after it updates and re-launches, it will drop a new icon on the far right of my dock for that updated instance. I just close it and relaunch it as normal with the original icon. (which uses the updated instance, there is no older executable anywhere, even if I clicked that original icon while the other was still open.)
>>>
>>>  I don’t have even a guess as to why this is happening though once GnuCash’s launcher is stored in the dock via right-click and ’keep in dock.’
>>>
>>>  Regards,
>>>  Adrien
>>>
>>>> On Jun 13, 2018, at 6:56 AM, David T. via gnucash-user <[hidden email]> wrote:
>>>>
>>>> My dock works, and has worked for a decade. Perhaps you are using GnuCash from two places: Applications, and the dmg? I say this because the “?” could happen after restart if the dock item were linked to a dmg file, and the dmg weren’t reloaded on restart.
>>>>
>>>> Similarly, a second dock item would suggest a second executable in a different location—although how the dock item could reference a different executable is beyond me.
>>>>
>>>> David T.
>>>>
>>>>> On Jun 13, 2018, at 5:56 AM, Glen Byram via gnucash-user <[hidden email]> wrote:
>>>>>
>>>>> I am running macOS Sierra 10.12.6
>>>>>
>>>>> I cannot get Gnucash to reside in the mac dock like other apps. I may have reported this issue before but I can’t find anything in gnucash-user and whatever solution I thought I had was only temporary.
>>>>>
>>>>>
>>>>>
>>>>> 1)  The normal process for placing an app into the dock permanently is to just drag it from the place it is installed (usually the Applications folder) to a position on the dock that you want.
>>>>>
>>>>> Once this is done, you should be able to launch the app from the resulting dock icon. The same icon should bounce as it launches, then stop with a dot under the icon to show it is active.
>>>>>
>>>>> The behaviour I see is that a duplicate Gnucash icon appears at the end of the dock and it is this one that bounces/indicates active app. Although functionally OK, I don’t want 2 icons for the same app when its running one instance.
>>>>>
>>>>>
>>>>>
>>>>> 2) I have tried the alternate method of keeping Gnucash in the dock; Make sure there are no Gnucash dock icons then launch it directly from the Applications folder. Once launched, right click on the active dock icon and select Options->Keep in dock. After that, I can move the icon to the position in the dock I want it to be. It now appears to work perfectly. Unfortunately, after I log out, or after some periods of sleep (not sure on the number-seems random) the Gnucash icon gets overlayed with a question mark indicating that the location of the app is now unknown – even though it has not changed and is still in the Applications folder. If I restart the machine when the Gnucash icon is working as expected, I get a grey question mark in the dock without even the Gnucash icon. Mousing over the grey question mark gives a Gnucash tooltip but of course it won’t launch as the location of Gnucash is unknown. The only option is to right click on the icon+question mark or question mark (by itself) and select Options->Remove from Dock.
>>>>>
>>>>>
>>>>>
>>>>> As far as I can tell Gnucash is the only App I have that exhibits this behaviour. At the start, I thought I had fixed it using method 2 above. Then after several days the dreaded question mark appeared over the icon.
>>>>>
>>>>> Other things I have tried include making an Alias for Gnucash and dragging that to the dock. It didn’t work and behaved like 1) above (duplicate app icon on launch).
>>>>>
>>>>> I decided maybe the dock was corrupt so I did a reset to default: Terminal command; “defaults delete com.apple.dock; killall Dock”
>>>>>
>>>>> This meant I had to rebuild my preferred dock from scratch. There was no difference. All other app icons behaved as expected apart from Gnucash.
>>>>>
>>>>>
>>>>>
>>>>> My conclusion is that Gnucash must have a launch process different to other apps and/or the drag/drop to dock processing must be different.
>>>>>
>>>>> For the time being I tend to stick to Option 2 above as I prefer a single launch icon on the dock. When Gnucash eventually gets it’s inevitable question mark I remove it from dock then re-instate it as per 2) above. But it would be nice to have no need to do that. It’s not urgent or a matter of life and death but something to ponder.
>>>>>
>>>>>
>>>>>
>>>>> Cheers
>>>>>
>>>>> Glen
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> gnucash-user mailing list
>>>>> [hidden email]
>>>>> To update your subscription preferences or to unsubscribe:
>>>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>>>> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>>>>> -----
>>>>> Please remember to CC this list on all your replies.
>>>>> You can do this by using Reply-To-List or Reply-All.
>>>>
>>>> _______________________________________________
>>>> gnucash-user mailing list
>>>> [hidden email]
>>>> To update your subscription preferences or to unsubscribe:
>>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>>> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>>>> -----
>>>> Please remember to CC this list on all your replies.
>>>> You can do this by using Reply-To-List or Reply-All.
>>>
>>>
>>>  _______________________________________________
>>>  gnucash-user mailing list
>>>  [hidden email]
>>>  To update your subscription preferences or to unsubscribe:
>>>  https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>>  If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>>>  -----
>>>  Please remember to CC this list on all your replies.
>>>  You can do this by using Reply-To-List or Reply-All.
>>>
>>>
>>>
>>
>
>
>    _______________________________________________
>    gnucash-user mailing list
>    [hidden email]
>    To update your subscription preferences or to unsubscribe:
>    https://lists.gnucash.org/mailman/listinfo/gnucash-user
>    If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>    -----
>    Please remember to CC this list on all your replies.
>    You can do this by using Reply-To-List or Reply-All.
>
>
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.