Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Applications in "Developer Preview" cannot be pinned #19

Closed
probonopd opened this issue Jun 15, 2021 · 4 comments
Closed

Applications in "Developer Preview" cannot be pinned #19

probonopd opened this issue Jun 15, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@probonopd
Copy link
Member

Describe the bug
Applications in "Developer Preview" cannot be pinned

To Reproduce
Steps to reproduce the behavior:

  1. Open Disk Utility
  2. Try to pin it to the Dock
  3. Close Disk Utility
  4. Try to open Disk Utility from the Dock

Expected behavior
Application opens

Screenshots
https://youtu.be/o3z9QnMTLm8?t=522 (thanks Tyler's Tech)

Version (please complete the following information):

  • Live ISO or installed system to disk: Installed
  • FreeBSD version (System --> 12.1
  • helloSystem build (cat /.url): 0.5.0
  • Running in a virtual machine: no
@probonopd probonopd added the bug Something isn't working label Jun 15, 2021
@PreyK
Copy link

PreyK commented Jun 15, 2021

Saw this too.
Looks to me like the dock doesn't like whitespaces in the launchpath.
Possibly

QStringList args = item->exec.split(" ");

Launch args being split on whitespaces so the pragram it tries to launch is actually just "Developer" and "Preview/XX" becomes the first arg
Just courious: does this even need to have launch args? it's just a dock that just supposed to launch stuff on click.

@PreyK
Copy link

PreyK commented Jun 15, 2021

also #11

@probonopd
Copy link
Member Author

Luckily, it seems to get pinned correctly in the Dock's dock_pinned.conf file:

[disk-first-aid.py]
DesktopPath=
Exec=/Applications/Developer Preview/Disk First Aid.app/Disk First Aid
IconName=file:///Applications/Developer Preview/Disk First Aid.app/Resources/Disk First Aid.png
Index=6
visibleName=Disk First Aid

@probonopd
Copy link
Member Author

Thanks @PreyK that was spot on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants