Обсуждение: pgAdmin 1.12.0 / Win / no drag&drop in SQL-Editor ???

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

pgAdmin 1.12.0 / Win / no drag&drop in SQL-Editor ???

От
Andreas
Дата:
  Hi,
I recently updated my PG 8.4 to 9.0 and therefore I've got pgAdmin 1.12.0.
Why can't one use drag&drop in SQL-Editor ?
E.g. mark some portion of sql and drag it somewhere else while pressing 
the ctrl-key to get a copy.

Have I missed an option somewhere that was in older pgAdmins activated 
as default?


Re: pgAdmin 1.12.0 / Win / no drag&drop in SQL-Editor ???

От
Guillaume Lelarge
Дата:
Le 01/10/2010 20:38, Andreas a écrit :
>  Hi,
> I recently updated my PG 8.4 to 9.0 and therefore I've got pgAdmin 1.12.0.
> Why can't one use drag&drop in SQL-Editor ?
> E.g. mark some portion of sql and drag it somewhere else while pressing
> the ctrl-key to get a copy.
> 
> Have I missed an option somewhere that was in older pgAdmins activated
> as default?
> 

Drag and drop has not very good support in pgAdmin. The only thing you
can drag and drop AFAICT is a file onto the query editor so that you can
open quickly your query files.

I added your suggestion in a ticket
(http://code.pgadmin.org/trac/ticket/249). We'll see if we'll have time
to work on this for next release.


-- 
Guillaumehttp://www.postgresql.frhttp://dalibo.com


Re: pgAdmin 1.12.0 / Win / no drag&drop in SQL-Editor ???

От
Andreas
Дата:
  Am 01.10.2010 23:24, schrieb Guillaume Lelarge:
> Le 01/10/2010 20:38, Andreas a écrit :
>>   Hi,
>> I recently updated my PG 8.4 to 9.0 and therefore I've got pgAdmin 1.12.0.
>> Why can't one use drag&drop in SQL-Editor ?
>> E.g. mark some portion of sql and drag it somewhere else while pressing
>> the ctrl-key to get a copy.
>>
>> Have I missed an option somewhere that was in older pgAdmins activated
>> as default?
>>
> Drag and drop has not very good support in pgAdmin. The only thing you
> can drag and drop AFAICT is a file onto the query editor so that you can
> open quickly your query files.
>
> I added your suggestion in a ticket
> (http://code.pgadmin.org/trac/ticket/249). We'll see if we'll have time
> to work on this for next release.
>
>
Well, but if you test pgAdmin III 1.10.3 you see that there all works as 
intended.
At least on Windows.
I'm not talking about pulling files into the sql-tool.
I just find it handy to clone or move parts of a sql script with the mouse.
Thats a pretty common feature of editors.


Re: pgAdmin 1.12.0 / Win / no drag&drop in SQL-Editor ???

От
Guillaume Lelarge
Дата:
Le 02/10/2010 00:39, Andreas a écrit :
>  Am 01.10.2010 23:24, schrieb Guillaume Lelarge:
>> Le 01/10/2010 20:38, Andreas a écrit :
>>>   Hi,
>>> I recently updated my PG 8.4 to 9.0 and therefore I've got pgAdmin
>>> 1.12.0.
>>> Why can't one use drag&drop in SQL-Editor ?
>>> E.g. mark some portion of sql and drag it somewhere else while pressing
>>> the ctrl-key to get a copy.
>>>
>>> Have I missed an option somewhere that was in older pgAdmins activated
>>> as default?
>>>
>> Drag and drop has not very good support in pgAdmin. The only thing you
>> can drag and drop AFAICT is a file onto the query editor so that you can
>> open quickly your query files.
>>
>> I added your suggestion in a ticket
>> (http://code.pgadmin.org/trac/ticket/249). We'll see if we'll have time
>> to work on this for next release.
>>
>>
> Well, but if you test pgAdmin III 1.10.3 you see that there all works as
> intended.

Tried it and indeed it worked. I suppose that when I added the support
of drag-and-drop files, it kind of stopped supporting drag and drop of
text. Will have to look at this.

> At least on Windows.
> I'm not talking about pulling files into the sql-tool.
> I just find it handy to clone or move parts of a sql script with the mouse.
> Thats a pretty common feature of editors.
> 


-- 
Guillaumehttp://www.postgresql.frhttp://dalibo.com


Re: pgAdmin 1.12.0 / Win / no drag&drop in SQL-Editor ???

От
Andreas
Дата:
  Am 02.10.2010 01:01, schrieb Guillaume Lelarge:
> Le 02/10/2010 00:39, Andreas a écrit :
>> [...]
>> Well, but if you test pgAdmin III 1.10.3 you see that there all works as
>> intended.
> Tried it and indeed it worked. I suppose that when I added the support
> of drag-and-drop files, it kind of stopped supporting drag and drop of
> text. Will have to look at this.
>
>> At least on Windows.
>> I'm not talking about pulling files into the sql-tool.
>> I just find it handy to clone or move parts of a sql script with the mouse.
>> Thats a pretty common feature of editors.
That'd be nice.  :)
I could live without drag&drop of files if this is a either-or-situation.



Re: pgAdmin 1.12.0 / Win / no drag&drop in SQL-Editor ???

От
Dave Page
Дата:
On Fri, Oct 1, 2010 at 11:39 PM, Andreas <maps.on@gmx.net> wrote:
>
> Well, but if you test pgAdmin III 1.10.3 you see that there all works as
> intended.

Not as intended - purely by accident.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise Postgres Company


Re: pgAdmin 1.12.0 / Win / no drag&drop in SQL-Editor ???

От
Andreas
Дата:
  Am 02.10.2010 08:57, schrieb Dave Page:
> On Fri, Oct 1, 2010 at 11:39 PM, Andreas<maps.on@gmx.net>  wrote:
>> Well, but if you test pgAdmin III 1.10.3 you see that there all works as
>> intended.
> Not as intended - purely by accident.
>
Then lets say the sql-editor at least up until 1.10.3 is accidently as I 
intend an editor to behave.
Though me being the merest being in the world an everything ... ;)

Could you pretty please set the text-drag&drop-accidently-reappearance 
on the feature wishlist for future generations to come?    ;)

Generally speaking pgAdmin is rather usable, by the way.   :)


Re: pgAdmin 1.12.0 / Win / no drag&drop in SQL-Editor ???

От
Guillaume Lelarge
Дата:
Le 02/10/2010 16:17, Andreas a écrit :
>  Am 02.10.2010 08:57, schrieb Dave Page:
>> On Fri, Oct 1, 2010 at 11:39 PM, Andreas<maps.on@gmx.net>  wrote:
>>> Well, but if you test pgAdmin III 1.10.3 you see that there all works as
>>> intended.
>> Not as intended - purely by accident.
>>
> Then lets say the sql-editor at least up until 1.10.3 is accidently as I
> intend an editor to behave.

Are you sure it really worked on 1.10.3? I tried it, on Linux, and it
didn't work.

This is not to say that we shouldn't have this feature. I'm trying to
understand if we have a bug, or if it's a wxWidgets bug, or if it's a
feature we have to support.

From the tests I've done, wxTextBox supports text drag-and-drop, but
wxStyledTextBox doesn't (or is buggy or...).


-- 
Guillaumehttp://www.postgresql.frhttp://dalibo.com