Unix Technical Forum

Re: A couple of quirks in the edit grid

This is a discussion on Re: A couple of quirks in the edit grid within the pgsql Interfaces Pgadmin Support forums, part of the PostgreSQL category; --> dpage@postgresql.org wrote: > Erwin Brandstetter wrote: >> Hi developers! Hi Dave! >> >> Testing bet4, rev. 5567:5572 on Win ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 08:38 PM
Erwin Brandstetter
 
Posts: n/a
Default Re: A couple of quirks in the edit grid

dpage@postgresql.org wrote:
> Erwin Brandstetter wrote:
>> Hi developers! Hi Dave!
>>
>> Testing bet4, rev. 5567:5572 on Win XP
>> I found a couple of quirks in the edit grid.
>>
>> - If I mark part of the text in a field and press <del> only first
>> character of the marked text gets deleted. One would expect all of
>> the marked text to be deleted. (That's what happens if I press the
>> <back> key)

>
> Fixed in SVN.


In RC1, the problem seems to be present still. <DEL> only deletes the
first character of the marked text.


Regards
Erwin

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 08:38 PM
Dave Page
 
Posts: n/a
Default Re: A couple of quirks in the edit grid

Erwin Brandstetter wrote:
> dpage@postgresql.org wrote:
>> Erwin Brandstetter wrote:
>>> Hi developers! Hi Dave!
>>>
>>> Testing bet4, rev. 5567:5572 on Win XP
>>> I found a couple of quirks in the edit grid.
>>>
>>> - If I mark part of the text in a field and press <del> only first
>>> character of the marked text gets deleted. One would expect all of
>>> the marked text to be deleted. (That's what happens if I press the
>>> <back> key)

>>
>> Fixed in SVN.

>
> In RC1, the problem seems to be present still. <DEL> only deletes the
> first character of the marked text.


RC1 was rev 5577, the delete fix was rev 5579.

http://svn.pgadmin.org/cgi-bin/viewc...=5577&view=rev
http://svn.pgadmin.org/cgi-bin/viewc...=5579&view=rev

:-)

Regards, Dave.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-17-2008, 08:38 PM
Erwin Brandstetter
 
Posts: n/a
Default Edit grid: quirk in boolean fields

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



---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-17-2008, 08:38 PM
Dave Page
 
Posts: n/a
Default Re: Edit grid: quirk in boolean fields

Erwin Brandstetter wrote:
> 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?


Probably not :-). I've committed a change which modifies the behaviour
such that simply clicking on the cell no longer cycles the value - it
now just displays the checkbox which must be explicitly clicked to
change the value. <ESC> now seems to do what is required, and I believe
this also has the side effect of curing the other inconsistency you
reported previously.

Thanks, Dave.


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-17-2008, 08:38 PM
Erwin Brandstetter
 
Posts: n/a
Default Re: Edit grid: quirk in boolean fields

dpage@postgresql.org wrote:
> Erwin Brandstetter wrote:
>> (...)
>> If I hit <esc> now, I end up with FALSE (!). That wouldn't be by
>> design, would it?

>
> Probably not :-). I've committed a change which modifies the behaviour
> such that simply clicking on the cell no longer cycles the value - it
> now just displays the checkbox which must be explicitly clicked to
> change the value. <ESC> now seems to do what is required, and I
> believe this also has the side effect of curing the other
> inconsistency you reported previously.


I have checked out RC2 and the problem with <esc> seems to be gone. Nice!
About the previously reported issue: the mouse sticks to the regular
cycle (FALSE-TRUE-NULL) at all times, while <space> starts off
irregularly, before following the same sequence. This issue is not as
important IMO. It is, however, still there.

Regards
Erwin


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:19 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com