Re: GUI Interface

From: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
To: Tino Wildenhain <tino(at)wildenhain(dot)de>
Cc: Kenneth Downs <ken(at)secdat(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: GUI Interface
Date: 2006-05-14 17:49:51
Message-ID: 44676DBF.4060707@phlo.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tino Wildenhain wrote:
> Kenneth Downs schrieb:
>> Dave Page wrote:
>>> On my linux box, it also has the dubious honor of being the only
>>> program I have ever seen that can lock X hard, with killing the X
>>> server being the only rescue (if you call that a rescue). It can
>>> connect over networks, but on mine it always seems to hang after
>>> an hour or so, and you have to kill it and restart it.
>>> That's a new one. Any other symptoms? Can you get a backtrace from a
>>> coredump?
>>>
>> The good news is I could not reproduce it. But when it happens again
>> I'll know who to notify.
>>
>> As I recall, the problem would occur in the query analyzer. If there
>> was highlighted text in the top window, and you highlighted a row in
>> the results, and then clicked into the upper window while dragging the
>> mouse, it would freeze the X server. It has happened much much less
>> often lately, but it did happen just two days ago, and it always
>> involves a click-drag situation.
>
> Yes, that seems a gtk issue. You mark, then klick accidentaly into
> the marked text (usually to change the mark area) and in the result
> you are dragging the text to nowhere. pgadmin and X freezes in this
> case. However you can login via another box and just kill pgadmin
> to unfreeze. Maybe there is a problem with how drag & drop
> is/isnt handled by the code? I have no idea.
It only happens in pgAdmin III, though, so it must be some strange
interaction between wxWindows and GTK. I believe that the window manager
is part of the problem too, because I've used KDE (together with kwin)
for the last few years, and while it had this freezing-problem
initially, it went away with some update. I believed that a wx or
pgadmin update solved this, but now I'm using Gnome (together with
metacity), and the problem is back... :-(

However, I figured out that if you press ALT-<key> with <key> being the
shortcut for some menu _directly_ after the freeze, the menu opens, and
the mouse pointer is restored back to it's normal shape... It won't work
if you click around after X freezes - I guess pgadminIII has to still
have the focus for this to work...

greetings, Florian Pflug

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message winlinchu 2006-05-14 18:52:49 Help!
Previous Message Tom Lane 2006-05-14 16:26:39 Re: Cygwin psql with Windows native Postgres