Conversation
|
Hi @keithbennett, Are you compiling in a build folder as suggested in the INSTALL doc? I get a full build installed in /Applications and the plugin is in the bundle. Run the app, the autotype settings are visible so the plugin's loaded, but autotype doesn't actually work. The shortcut has no response from keepass. rm -rf /Applications/KeePassX.app; cd .. ; cmake . ; make; cmake . ; make install This time it works perfectly, on exactly the same web page the autotype shortcut works first time. I'm out of time to look into it further now, but I've tried this a couple of times on fresh source trees and it did it both times. Same result if I don't do make install and do a make bundle instead, anything compiled in a separate build folder doesn't work. Thanks! |
|
Hi, I only tried building in a separate build directory. It all works fine for me. Only tested on 10.8.5 so far. I'll try building on a Mavericks machine tomorrow. Keith. |
|
I tested on a Mavericks machine today and it worked fine when built in a separate build directory. External libraries supplied by Homebrew. |
|
Hi Keith, and autotype didn't work. then do: cd .. && mv build build_f && mkdir build && cd build and it did work. I then did cd .. && mv build build_w && mkdir build && cd build I've compiled about 30 times tonight in different folders and paths, with different mixes of make and cmake and can't find a reliable repro to nail down the issue. To be fair I've had only 3 of 4 fails out of the lot. I don't know what's causing it, but perhaps no one else will see it and it's something strange with my build environment :-S I have had a lot of different things installed and compiled on this laptop in the past. Either way the copies I'm building now are working just fine. |
There was a problem hiding this comment.
It would be better to link against the KeePassX executable (${PROGNAME}) as keepassx_core is a static library that's only used during the build.
|
Thanks for creating a separate pull request with only the auto-type changes. A couple of things I noticed: |
|
I would really like Autotype to work in version 2… Will this pull request be merged into the next alpha? |
|
Checked this PR out locally and managed to get it to run on OS X 10.9.4. There is one issue with global auto-type though. The input field is present but it's not possible to modify. Is this PR a fix for global auto-type as well or only for entry-based auto-type? If the global auto-type should work is there some way to specify this shortcut? |
|
Ah, this is nice! However, like @xintron, the global shortcut input is disabled for me. Also, it would be great if KeepassX wasn't minimized when executing autotype. I'm sure you all know how inflexible it is to "unminimize" a window with keyboard controls on OSX... I'd suggest hiding the window instead if it's possible. Or have an option for it (like the "Minimize when copying to clipboard"). |
|
@debfx Carbo APIs isn't deprecated. In fact many are in good health and maintained. Most of the deprecated stuff has to do with the GUI for which Cocoa offers alternatives. Especially the Hokey/Key mapping functionally is only available through those APIs. |
|
Successfully build this locally. As @adriangoransson I found the minimizing of the window on Mac quite counter-intuitive. IMO :
|
|
Hello all, I have tried building this again on Yosemite and auto-type is no longer working.... |
Fix winsock and autotype error when compiling on Windows
Hi,
I have closed my previous pull request since it is a bit broken now and I had always intended to split it into separate changesets. This new pull request contains only the changes required for adding autotype support on OS X. I haven't succeeded in getting CMake to find the library on first build. You have to do "cmake; make; cmake; make install". Apart from that, it all seems to work okay.
Keith.