Bug 156922 - dock icons are lost in some cases when applications fork
Summary: dock icons are lost in some cases when applications fork
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdecore (show other bugs)
Version: SVN
Platform: Compiled Sources macOS
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-29 17:44 UTC by Benjamin Reed
Modified: 2023-01-02 05:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Reed 2008-01-29 17:44:35 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.0.1 i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465) 
OS:                OS X

When an application is started from the command-line (or exec) instead of through the finder, and it is an application which forks (KUniqueApplication, or in some cases, kdeinit4 apps), it does not get a dock icon.

I suspect it is because we need to fork-and-reexec when forking, unlike on linux/etc. where there is no issue continuing CoreFoundation code after a fork.

It might be as simple as re-registering as a GUI app or re-setting the dock icon, or it may be something deeper; we need to investigate more.

Potential fixes:
http://developer.apple.com/documentation/Carbon/Reference/Dock_Manager/Reference/reference.html#//apple_ref/c/func/RestoreApplicationDockTileImage
http://www.cocoadev.com/index.pl?TransformProcessType
Comment 1 Benjamin Reed 2008-01-29 17:45:25 UTC
hm, the wizard lost my OS and Version
Comment 2 Andrew Crouthamel 2018-11-02 04:29:25 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-11-16 02:35:41 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version?

Thank you for helping us make KDE software even better for everyone!
Comment 4 Justin Zobel 2022-12-03 09:01:20 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 5 Bug Janitor Service 2022-12-18 05:14:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2023-01-02 05:28:04 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!