Shortcut ctrl+enter executes query twice
A Java SQL client for any JDBC compliant database
Brought to you by:
colbell,
gerdwagner
I'm seeing the same problem but using PostgreSQL. All queries run with ctrl-enter are run twice, but if you click the 'Run SQL' button it works correctly and only runs once.
I've tried this on two separate macbooks, and it seems to only happen on one of them. I can't spot any likely difference between the two machines. Both are Squirrel 3.5.0 using the same version of PostgreSQL and the same version of the driver. The only obvious difference is that the one with the problem is a 2013 macbook pro, and the one that works is a 2010 macbook pro (both running OS X 10.9, 'Mavericks').
Same problem with double query execution on Ctrl-Enter. PostgreSQL and a Macbook Pro Late 2011, OSX Mavericks. SquirrelSQL 3.5.0.
Also, when navigating between query result tabs with Ctrl-Shift-, or Ctrl-Shift-. (comma/dot) it jumps two tabs.
To get around this issue, I edited the shell script to comment out the Native 'laf' setting on the mac:
/Applications/SQuirreLSQL.app/Contents/MacOS/squirrel-sql.sh
if $macosx ; then
# Define mac-specific system properties if running on Mac OS X
...
#NATIVE_LAF_PROP="--native-laf"
fi
Thanks for the workaround, Brock, it seems to work. I do however like the native feel I'm losing out on by using this hack, so if someone has a cleaner solution it would be much appreciated.
Thanks!
in my case "Ctrl+Enter" does nothing at all..., nor the "run" button....
Same problem here. The workaround worked for me.
Same problem here and I agree with @Gisle re the workaround.
OSX 10.9.2
SQuirreL SQL 3.5.1
Last edit: Greg Clarke 2014-03-11
The UI is much more ugly without nativ laf, but it works.
Thanks.