Edit grid: quirk in boolean fields - Mailing list pgadmin-support

From Erwin Brandstetter
Subject Edit grid: quirk in boolean fields
Date
Msg-id 4550FDC3.7050207@falter.at
Whole thread Raw
In response to Re: A couple of quirks in the edit grid  (Dave Page <dpage@postgresql.org>)
Responses Re: Edit grid: quirk in boolean fields  (Dave Page <dpage@postgresql.org>)
List pgadmin-support
Hi developers! Hi Dave!

Testing RC1. Client is Win XP. Server is Debian Sarge.

I have come across a peculiar effect while editing boolean fields. With 
other fields, if you want to discard your changes while editing a field, 
you hit <esc> and the original value is back (as long as you haven't 
saved yet). Not so with boolean fields. Pressing <esc> leaves yields 
seemingly random results.
One of the most peculiar show cases:
I click with the mouse. Value is TRUE.
1st click only sets the focus.
2nd click --> NULL
3rd click --> FALSE
4th click --> TRUE (again)
If I hit <esc> now, I end up with FALSE (!). That wouldn't be by design, 
would it?

Regards
Erwin




pgadmin-support by date:

Previous
From: Dave Page
Date:
Subject: Re: Bug: SQL pane: schema-prefix of composite types
Next
From: Erwin Brandstetter
Date:
Subject: Re: Groups and Roles and Users