There is some weird behaviour in the Mac OS X version of pgAdmin that looks 
like a bug to me.

When I edit the properties of an object, say edit the name of a database, 
pressing the delete key attempts to drop the database. Pressing backspace works 
fine, it deletes a single character in the name I'm editing. Pressing delete 
should delete the next character, but instead it triggers the drop database 
dialogue. It looks the delete key is being passed back to the main window 
instead of the text field I'm editing.

I've tested the Windows and Mac OS X versions of pgAdmin, and it only occurs in 
the OS X version. In OS X pgAdmin 1.10.5 a "Drop database?" dialogue is shown 
when pressing delete, and in pgAdmin 1.16.0 a "Cannot drop object" dialogue is 
shown. The Windows pgAdmin 1.16.0 does not popup a dialogue when pressing 
delete.

By the way, Mac keyboards can be a little confusing. There are two buttons 
labelled 'delete' on a full-size Mac keyboard. The traditional backspace key is 
labelled 'delete', whereas the traditional delete key is labelled 'delete ⌦'. 
It is the second one which triggers the drop.

I take it that this isn't intended behaviour?

Cheers
Charles

Reply via email to