LiZunYuan / networkpx

Automatically exported from code.google.com/p/networkpx
0 stars 0 forks source link

Templates get wiped out #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Switch to copy/paste "keyboard"
2. Switch to Templates 
3. Place text in templates clipboard (using any method)
4. Switch to Clipboard view
5. Switch back to Templates.  

What is the expected output? What do you see 
instead?
Previously copied templates should be there but they 
disappear. 

What version of the product are you using? On what 
operating system?
Current Cydia version (0.1 ?) on 2.2 fw with emoji 
Japanese keyboard enabled. 

Please provide any additional information below.

Original issue reported on code.google.com by pavel.so...@gmail.com on 23 Jan 2009 at 5:47

GoogleCodeExporter commented 8 years ago
I can't reproduce it. Please specify the program name (Safari/Mail/etc.) you're 
using.

Possible reason maybe sandboxing or permission error. Please try to see if 

chmod a+w /var/mobile/Library/Keyboard/iKeyEx/

is possible to workaround the issue.

Original comment by kennytm@gmail.com on 23 Jan 2009 at 6:23

GoogleCodeExporter commented 8 years ago
Currently totally 3 reports of this problem. Confirmed not related to 
permission of
the iKeyEx subfolder.

Since clipboard works while templates does not work, probably move the
templates-hClipboard.plist to ../ in the next version.

Insert preinst script to do the move to avoid losing existing templates.

Original comment by kennytm@gmail.com on 23 Jan 2009 at 7:37

GoogleCodeExporter commented 8 years ago
Confirmed not related to sandbox.

Original comment by kennytm@gmail.com on 23 Jan 2009 at 7:47

GoogleCodeExporter commented 8 years ago
Can't even fix if a placeholder file is used. 

Original comment by kennytm@gmail.com on 23 Jan 2009 at 10:23

GoogleCodeExporter commented 8 years ago

Original comment by kennytm@gmail.com on 23 Jan 2009 at 10:40

GoogleCodeExporter commented 8 years ago
it happen to me as well, the text in the Templates disappear

Original comment by evolutio...@gmail.com on 24 Jan 2009 at 3:05

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Possible reason is the file is saved atomically. (I've hit by this once while 
writing
iKeyEx-KBMan). Patch attached.

Original comment by kennytm@gmail.com on 24 Jan 2009 at 4:15

Attachments:

GoogleCodeExporter commented 8 years ago
Patch in comment 8 does not solve the problem.

Original comment by kennytm@gmail.com on 24 Jan 2009 at 11:12

GoogleCodeExporter commented 8 years ago
It is happening to me also. Clipboard works fine but it won't save templets

Original comment by chadeste...@gmail.com on 24 Jan 2009 at 5:34

GoogleCodeExporter commented 8 years ago
Hi pavel, evolution & chad, 

Do you all have IntelliScreen installed?

Original comment by kennytm@gmail.com on 24 Jan 2009 at 5:43

GoogleCodeExporter commented 8 years ago
Error code identified: "Cocoa error 513", which means permission error.

Original comment by kennytm@gmail.com on 24 Jan 2009 at 5:55

GoogleCodeExporter commented 8 years ago
Probably no need to reply about Intelliscreen now but no, I don't.
Pavel 

Original comment by pavel.so...@gmail.com on 24 Jan 2009 at 6:10

GoogleCodeExporter commented 8 years ago
Then IntelliScreen is not source of problem.

Original comment by kennytm@gmail.com on 24 Jan 2009 at 6:48

GoogleCodeExporter commented 8 years ago
Tried to workaround by saving templates to
/var/mobile/Library/Keyboard/iKeyEx:hClipboard-templates.plist instead of
/var/mobile/Library/Keyboard/iKeyEx/templates-hClipboard.plist .

To test, please replace the hClipboard file in
/Library/iKeyEx/Keyboards/hClipboard.keyboard/hClipboard with the attached one. 
Then
try if templates work in Notes, and in AppStore applications.

Original comment by kennytm@gmail.com on 24 Jan 2009 at 7:30

Attachments:

GoogleCodeExporter commented 8 years ago
I am having the same issue..the templates do not stick

Original comment by rockdrum...@gmail.com on 24 Jan 2009 at 9:02

GoogleCodeExporter commented 8 years ago
@16:

Does the new file in comment 15 solves the problem?

Original comment by kennytm@gmail.com on 24 Jan 2009 at 9:17

GoogleCodeExporter commented 8 years ago
Happens to me while switching back and forth from template to clipboard. I have 
a
Spanish and English keyboard enabled. I also have the Emoji enable package 
installed
but disabled on the keyboard settings.

Original comment by dgcastel...@gmail.com on 24 Jan 2009 at 10:15

GoogleCodeExporter commented 8 years ago
I tried the fix in comment 15 and confirm it fixed the problem. Tested in 
Notes, 
Safari and Wordpress (an appstore app).

Thanks for a prompt fix!

Pavel

Original comment by pavel.so...@gmail.com on 24 Jan 2009 at 11:05

GoogleCodeExporter commented 8 years ago
#15 works for me too.

Original comment by dgcastel...@gmail.com on 24 Jan 2009 at 11:24

GoogleCodeExporter commented 8 years ago
Thanx to kennytm (Comment 15), his fix worked like a charm, and it was easy too!

Original comment by renaudpe...@gmail.com on 25 Jan 2009 at 12:08

GoogleCodeExporter commented 8 years ago
Flag as fixed. Sources diffs are in r54:55. New version of hClipboard (0.0-2) 
is sent
to BigBoss and hopefully out in a day or two.

Original comment by kennytm@gmail.com on 25 Jan 2009 at 10:40

GoogleCodeExporter commented 8 years ago
Tried the fix, didn't work for me, I've had to put the old file back. The 
downloaded file was hClipboard.dylib is 
that correct?

thanks

Clive

Original comment by mmorris....@gmail.com on 25 Jan 2009 at 12:59

GoogleCodeExporter commented 8 years ago
@23,

No. The file should be named just "hClipboard", without any extensions, dots,
"dylib", "dat", etc. 

Original comment by kennytm@gmail.com on 25 Jan 2009 at 2:00