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

Dock icon problem #344

Closed
0x1301FDF opened this issue Dec 13, 2018 · 10 comments
Closed

Dock icon problem #344

0x1301FDF opened this issue Dec 13, 2018 · 10 comments
Assignees
Milestone

Comments

@0x1301FDF
Copy link

0x1301FDF commented Dec 13, 2018

i select some docx,xlxs files and drop them to dock icon,however there are only docx files in the compressed file

@0x1301FDF 0x1301FDF changed the title Dock Dock icon problem Dec 13, 2018
@aonez aonez self-assigned this Dec 13, 2018
@aonez
Copy link
Owner

aonez commented Dec 13, 2018

This might be related to #77? Can you try the same dropping the files to the Keka window?

Also note that both docx and xlsx files are already ZIP compressed, so I recommend you using none or the fastest compression method with those.

@aonez aonez added this to the Look at milestone Dec 13, 2018
@aonez
Copy link
Owner

aonez commented Dec 13, 2018

@0x1301FDF also would be handy to know the filenames of those files, since sometimes special characters can cause rare behaviours.

@0x1301FDF
Copy link
Author

i drop 6 files to dock icon(4 docx, 2 Axure RP file),try both zip and 7z, the result is same: only 4 docx files in the compressed file.
Drop to the keka windows is ok! 6 files in it.
These file names are in Chinese, but I renamed it to English, and try again,the result is same,only 4 files.

@0x1301FDF
Copy link
Author

none or the fastest compression method also the same result, only 4 docx files

@0x1301FDF
Copy link
Author

i upload my 6 files to my github,you can download it to test.
https://github.com/0x1301FDF/0x1301FDF.github.io/raw/master/test.zip

@aonez
Copy link
Owner

aonez commented Dec 14, 2018

@0x1301FDF can't reproduce the issue with the test files. This surely has to do with #77, but it is strange you only get one compressed file. Can you enable the verbose mode and let me know what the Console.app says?

defaults write com.aone.keka DevLog -bool TRUE

Note that you can use the drop in the window or the contextual menu items, both should work.

untitled 2

@0x1301FDF
Copy link
Author

@aonez i enable the verbose mode and the Console.app says :
默认 21:47:59.243253 +0800 launchservicesd CHECKIN:0x0-0x3b93b9 28349 com.aone.keka
默认 21:47:59.351155 +0800 Keka Updating user defaults from 3160...
默认 21:47:59.352703 +0800 Keka Dev mode enabled
默认 21:47:59.355970 +0800 Keka Running on OS X/macOS 版本 10.13.6(版号 17G4015)
默认 21:47:59.356792 +0800 Keka Running sandboxed Keka (WEB) version 1.1.8 (3160)
默认 21:47:59.358739 +0800 Keka Used localization: zh-Hans
错误 21:47:59.494691 +0800 Keka AEGetDescData of non-desc type 'reco' not a good idea
默认 21:47:59.500867 +0800 Keka Requesting access to all bookmarks...
默认 21:47:59.501932 +0800 Keka Bookmarks updated: 1
默认 21:48:09.332729 +0800 Keka LSExceptions shared instance invalidated for timeout.
默认 21:48:26.753918 +0800 Keka Adding 4 files
默认 21:48:26.755120 +0800 Keka Waiting for more input: 0.250000
默认 21:48:27.022006 +0800 Keka Set tarball: 0. Tarball active: 0. Extension: 7z
默认 21:48:27.023205 +0800 Keka Detecting common path...
默认 21:48:27.027282 +0800 Keka Binary used: keka7z
默认 21:48:27.028574 +0800 Keka Arguments: (
a,
"-t7z",
"-mx5",
"-ms=on",
"/Users/myname/Downloads/\U538b\U7f29\U540e\U7684\U6587\U4ef6.7z",
"test4.docx",
"test5.docx",
"test1.docx",
"test6.docx"
)
默认 21:48:27.532396 +0800 Keka done: 1
默认 21:48:27.583063 +0800 Keka HALC_ProxyObject.cpp:184:GetPropertyDataSize: HALC_ProxyObject::GetPropertyDataSize ('stm#', 'inpt', 0, AI32): got an error from the server, 0x77686F3F
默认 21:48:27.583207 +0800 Keka HALC_ProxyObject.cpp:462:GetPropertyData: HALC_ProxyObject::GetPropertyData ('stm#', 'inpt', 0, DAI32): got an error from the server, 0x77686F3F
默认 21:48:27.586606 +0800 Keka HALC_ProxyObject.cpp:184:GetPropertyDataSize: HALC_ProxyObject::GetPropertyDataSize ('stm#', 'inpt', 0, AI32): got an error from the server, 0x77686F3F
默认 21:48:27.586728 +0800 Keka HALC_ProxyObject.cpp:462:GetPropertyData: HALC_ProxyObject::GetPropertyData ('stm#', 'inpt', 0, DAI32): got an error from the server, 0x77686F3F

the Arguments show only 4 files.
use the drop in the window or the contextual menu items,both works well.

@0x1301FDF
Copy link
Author

that seems macOS's bug!! i drop 6 files to another application ,also 4 files get in window.

@aonez
Copy link
Owner

aonez commented Dec 15, 2018

Definetly, like #77, but in that case the other files are forgotten completely. In the other bug the application that handles those files (Word in your case?) seems to add some metadata or flags that make Finder behave strangely with them.

Tried to solve #77 with Apple in the past, no luck there.

@aonez
Copy link
Owner

aonez commented Dec 17, 2018

@0x1301FDF I'm closing this one in favor of #77, since it is essentially the same issue. I hope the alternatives (drop in the window and context menu) are 👍🏼 for you. Thanks for all the feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants