Unix Technical Forum

two minor things

This is a discussion on two minor things within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> Hi, I just noticed when browsing b4 (on OS X) that 1) if I try to create a new ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 08:47 AM
Jyrki Wahlstedt
 
Posts: n/a
Default two minor things

Hi,
I just noticed when browsing b4 (on OS X) that 1) if I try to create
a new operator, I cannot write its name, I just get beeps. Another
thing that at some point of time would be good (for OS X, it is) is
that 2) the dialog buttons seem to be in random order, when the
default (or OK, though not necessarily so) should be the bottom right
one.
1) would be easy to fix for release, about 2) I am not that sure,
because there is so much stuff there.

!
! Jyrki Wahlstedt
! http://www.wahlstedt.fi/jyrki/
!
! Our life is no dream; but it ought to become one and perhaps will.
! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780
6366 EFD9 139C C386




---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-18-2008, 08:47 AM
Dave Page
 
Posts: n/a
Default Re: two minor things

Jyrki Wahlstedt wrote:
> Hi,
> I just noticed when browsing b4 (on OS X) that 1) if I try to create a
> new operator, I cannot write its name, I just get beeps.


You realise there are a very limited set of characters that can be used
in operators, and pgAdmin will restrict you to those only?

The allowed characters are:

+ - * / < > = ~ ! @ # % ^ & | ` ?

> Another thing
> that at some point of time would be good (for OS X, it is) is that 2)
> the dialog buttons seem to be in random order, when the default (or OK,
> though not necessarily so) should be the bottom right one.


The backup and restore dialogs are wrong, but all the rest look OK as
far as I can see. Any others I've missed that need fixing?

Regards, Dave

---------------------------(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
  #3 (permalink)  
Old 04-18-2008, 08:47 AM
Jyrki Wahlstedt
 
Posts: n/a
Default Re: two minor things


On 5.9.2007, at 15.03, Dave Page wrote:

> Jyrki Wahlstedt wrote:
>> Hi,
>> I just noticed when browsing b4 (on OS X) that 1) if I try to
>> create a
>> new operator, I cannot write its name, I just get beeps.

>
> You realise there are a very limited set of characters that can be
> used
> in operators, and pgAdmin will restrict you to those only?
>
> The allowed characters are:
>
> + - * / < > = ~ ! @ # % ^ & | ` ?


A note for me: RTFM!
>
>> Another thing
>> that at some point of time would be good (for OS X, it is) is that 2)
>> the dialog buttons seem to be in random order, when the default
>> (or OK,
>> though not necessarily so) should be the bottom right one.

>
> The backup and restore dialogs are wrong, but all the rest look OK as
> far as I can see. Any others I've missed that need fixing?
>

The dialogs to create:
1) functions
2) trigger functions
3) views
4) triggers
5) rules,
at least so it seems. (OK button should be rightmost)

> Regards, Dave
>
>


!
! Jyrki Wahlstedt
! http://www.wahlstedt.fi/jyrki/
!
! Our life is no dream; but it ought to become one and perhaps will.
! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780
6366 EFD9 139C C386




---------------------------(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
  #4 (permalink)  
Old 04-18-2008, 08:48 AM
Dave Page
 
Posts: n/a
Default Re: two minor things

Jyrki Wahlstedt wrote:
>> The backup and restore dialogs are wrong, but all the rest look OK as
>> far as I can see. Any others I've missed that need fixing?
>>

> The dialogs to create:
> 1) functions
> 2) trigger functions
> 3) views
> 4) triggers
> 5) rules,
> at least so it seems. (OK button should be rightmost)


Soryy for the delay getting back to this. The affected dialogues are all
(apart from not the ones I tested!) the resizeable ones. This is
significant because they use sizers to position the buttons, so I think
what happens when I try to swap them like we do in the other dialogs is
that the sizers just redraw everything and put them right back where
they were.

I'm trying to figure out a fix for this which doesn't involve
platform-specific XRC files...

/D


---------------------------(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-18-2008, 08:49 AM
Dave Page
 
Posts: n/a
Default Re: two minor things

Jyrki Wahlstedt wrote:
>> The backup and restore dialogs are wrong, but all the rest look OK as
>> far as I can see. Any others I've missed that need fixing?
>>

> The dialogs to create:
> 1) functions
> 2) trigger functions
> 3) views
> 4) triggers
> 5) rules,
> at least so it seems. (OK button should be rightmost)


Anyone have any ideas how we can fix this? Swapping the buttons simply
doesn't work afaict because the sizers just return them to their
original positions. I'm trying to avoid having platform specific XRC
files or any hacks involving swapping the events...

I'm pretty stumped right now :-(

/D

---------------------------(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 11:02 AM.


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