[pgAdmin III] #375: Evan Martin

From: "pgAdmin Trac" <trac(at)code(dot)pgadmin(dot)org>
To:
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: [pgAdmin III] #375: Evan Martin
Date: 2012-08-26 06:24:53
Message-ID: 045.459951d58685c43d90d98ffd3d3ff67e@code.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

#375: Evan Martin
-----------------------+----------------------------------------------------
Reporter: gleu | Owner: dpage
Type: feature | Status: new
Priority: minor | Milestone:
Component: pgadmin | Version: trunk
Keywords: querytool | Platform: all
-----------------------+----------------------------------------------------
Running the latest trunk build (g7ac0c60)

When pgAdmin displays the query output in a grid each column seems to be
sized based on the header size and the value is truncated as needed. There
is no indication that it's been truncated. This sometimes makes the result
highly misleading and I've just spent 5-10 minutes scratching my head
about why a function is returning such a strange result!

Here's what the output looked like: http://i48.tinypic.com/5fkdmp.png...
but resizing the cell shows something very different:
http://i47.tinypic.com/2ennsqv.png

I would suggest that pgAdmin:

1) Always truncate the end of the string, not the start
2) Show some indication that the string has been truncated, eg. append
"..." or show some subtle overlay with a wavy line - as long as there's
something.
3) For numeric types make the column wide enough to always show at least
the part before the decimal point (or, for integer types, the entire
number).

--
Ticket URL: <http://code.pgadmin.org/trac/ticket/375>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III

Browse pgadmin-hackers by date

  From Date Subject
Next Message pgAdmin Trac 2012-08-26 07:23:00 [pgAdmin III] #376: Row height change in edit data tool
Previous Message Guillaume Lelarge 2012-08-25 14:21:59 pgAdmin III commit: Fix the refresh trigger SQL