Обсуждение: Found a bug

Поиск
Список
Период
Сортировка

Found a bug

От
Eric Wadsworth
Дата:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Folks,

When you undock the output of a SQL command from the SQL editor, you
can no longer copy from it using CTRL-C or the linux primary clipboard
(select, then middle-click to paste). When you redock, it works again.

Ubuntu Linux 14.04 LTS, 64-bit desktop edition
pgAdmin 1.18.1

- --- Eric Wadsworth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlQu0R0ACgkQD+WWuyKfye3aPQCcDJ+B3EgxNKW1kgXrxbOnZwny
xmoAn0uEZZCY/f5kUQqoKttNPt+bINs3
=R82j
-----END PGP SIGNATURE-----



Re: Found a bug

От
Scott Furry
Дата:
On 03/10/14 10:38 AM, Eric Wadsworth wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Folks,
>
> When you undock the output of a SQL command from the SQL editor, you
> can no longer copy from it using CTRL-C or the linux primary clipboard
> (select, then middle-click to paste). When you redock, it works again.
>
> Ubuntu Linux 14.04 LTS, 64-bit desktop edition
> pgAdmin 1.18.1
>
> - --- Eric Wadsworth
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iEYEARECAAYFAlQu0R0ACgkQD+WWuyKfye3aPQCcDJ+B3EgxNKW1kgXrxbOnZwny
> xmoAn0uEZZCY/f5kUQqoKttNPt+bINs3
> =R82j
> -----END PGP SIGNATURE-----
>
>

Eric,
What I suspect is happening is a problem associated with wxwidgets event 
propagation.

A top-level window is created it is associated with an application 
object. The app object will pass events down until it has exhausted all 
possible children that could handle the event. By taking a panel and 
turning it into a window (detaching it from the top-level window), there 
may be a missing association back to the app object. Thus, the undocked 
window will not receive keyboard events from the application.

This is all a guess on my part, but it sounds reasonable. I would have 
to dig into the code to confirm.

Did you file a bug report with your observations?

Regards,
Scott Furry




Re: Found a bug

От
Eric Wadsworth
Дата:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Scott,

Thanks for looking at this! Has anyone else validated it? I filed a
bug for postgres itself, and they kindly told me that pgadmin is a
different product. I didn't see where to file it for pgadmin, though.

- --- Eric Wadsworth

On 10/04/2014 11:38 AM, Scott Furry wrote:
> 
> On 03/10/14 10:38 AM, Eric Wadsworth wrote: Folks,
> 
> When you undock the output of a SQL command from the SQL editor,
> you can no longer copy from it using CTRL-C or the linux primary
> clipboard (select, then middle-click to paste). When you redock, it
> works again.
> 
> Ubuntu Linux 14.04 LTS, 64-bit desktop edition pgAdmin 1.18.1
> 
> --- Eric Wadsworth
>> 
>> 
> 
> Eric, What I suspect is happening is a problem associated with
> wxwidgets event propagation.
> 
> A top-level window is created it is associated with an application 
> object. The app object will pass events down until it has exhausted
> all possible children that could handle the event. By taking a
> panel and turning it into a window (detaching it from the top-level
> window), there may be a missing association back to the app object.
> Thus, the undocked window will not receive keyboard events from the
> application.
> 
> This is all a guess on my part, but it sounds reasonable. I would
> have to dig into the code to confirm.
> 
> Did you file a bug report with your observations?
> 
> Regards, Scott Furry
> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlQxsrcACgkQD+WWuyKfye3S5wCeNG5UWXJPJ8ER31j6rTfKKJHM
hkcAn0kR0hXp86mRxiSX1Vu5FM27vfLL
=bNZD
-----END PGP SIGNATURE-----