Re: [pgadmin-support] Copy & paste key commands not working correctly

2016-04-08 Thread johannes graën
Another interesting finding: When pasting text from another application, the text doesn't appear the first time I press Ctrl+V, but on the second keypress, always. -- Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org) To make changes to your subscription: http://www.postgresq

Re: [pgadmin-support] Copy & paste key commands not working correctly

2016-03-07 Thread johannes graën
Hi, On Fri, Feb 19, 2016 at 12:42 PM, Dave Page wrote: > Can you test the attached patch please? I've done various tests with gprof > to profile the code whilst copying/pasting text in the query tool up to > about 20MB worth. I found a couple of optimisations that seem to make good > improvements

Re: [pgadmin-support] Copy & paste key commands not working correctly

2016-02-19 Thread Dave Page
On Tue, Feb 16, 2016 at 3:20 PM, Gabriel E. Sánchez Martínez < gabrielesanc...@gmail.com> wrote: > > > On 02/16/2016 07:23 AM, Gabriel Sánchez wrote: > > > On Feb 16, 2016 7:04 AM, "Dave Page" < > dp...@pgadmin.org> wrote: > > > > > > > > On Tue, Feb 16, 2016 at 11:06 AM, johannes graën < > joha

Re: [pgadmin-support] Copy & paste key commands not working correctly

2016-02-16 Thread johannes graën
On Tue, Feb 16, 2016 at 1:04 PM, Dave Page wrote: > Are you in a position to be able to install the EDB PostgreSQL installer? > I'm curious to know if the build of pgAdmin that's included with that works > OK. It was built against a fairly old version of GTK for maximum > compatibility with differ

Re: [pgadmin-support] Copy & paste key commands not working correctly

2016-02-16 Thread Gabriel E . Sánchez Martínez
On 02/16/2016 07:23 AM, Gabriel Sánchez wrote: On Feb 16, 2016 7:04 AM, "Dave Page" > wrote: > > > > On Tue, Feb 16, 2016 at 11:06 AM, johannes graën mailto:johan...@selfnet.de>> wrote: >> >> On Tue, Feb 16, 2016 at 12:00 PM, Dave Page >

Re: [pgadmin-support] Copy & paste key commands not working correctly

2016-02-16 Thread Gabriel Sánchez
On Feb 16, 2016 7:04 AM, "Dave Page" wrote: > > > > On Tue, Feb 16, 2016 at 11:06 AM, johannes graën wrote: >> >> On Tue, Feb 16, 2016 at 12:00 PM, Dave Page wrote: >> > Where did your build come from? What version of wxWidgets is it using? >> >> It's an official Arch package: >> https://www.arc

Re: [pgadmin-support] Copy & paste key commands not working correctly

2016-02-16 Thread Dave Page
On Tue, Feb 16, 2016 at 11:06 AM, johannes graën wrote: > On Tue, Feb 16, 2016 at 12:00 PM, Dave Page wrote: > > Where did your build come from? What version of wxWidgets is it using? > > It's an official Arch package: > https://www.archlinux.org/packages/community/x86_64/pgadmin3/ Huh, they h

Re: [pgadmin-support] Copy & paste key commands not working correctly

2016-02-16 Thread johannes graën
On Tue, Feb 16, 2016 at 12:00 PM, Dave Page wrote: > Where did your build come from? What version of wxWidgets is it using? It's an official Arch package: https://www.archlinux.org/packages/community/x86_64/pgadmin3/ The wxWidgets version is 2.8.12.1: https://www.archlinux.org/packages/extra/x86

Re: [pgadmin-support] Copy & paste key commands not working correctly

2016-02-16 Thread Dave Page
On Tue, Feb 16, 2016 at 10:57 AM, johannes graën wrote: > On Tue, Feb 16, 2016 at 11:52 AM, Dave Page wrote: > > My best guess is that when you use Ctrl+V, some other control on the > window > > actually has focus and is "swallowing" the keypress before our code sees > it. > > Can you confirm th

Re: [pgadmin-support] Copy & paste key commands not working correctly

2016-02-16 Thread johannes graën
On Tue, Feb 16, 2016 at 11:52 AM, Dave Page wrote: > My best guess is that when you use Ctrl+V, some other control on the window > actually has focus and is "swallowing" the keypress before our code sees it. > Can you confirm that the SQL textbox is definitely the focussed control when > you hit C

Re: [pgadmin-support] Copy & paste key commands not working correctly

2016-02-16 Thread Dave Page
On Tue, Feb 16, 2016 at 8:13 AM, johannes graën wrote: > On Tue, Feb 9, 2016 at 2:55 PM, Gabriel Sánchez > wrote: > > The same happens to me. Although copying and waiting usually works for > me. > > I've got a new clue. Although cut + paste inserts the wrong text, the > cutted text is available

Re: [pgadmin-support] Copy & paste key commands not working correctly

2016-02-16 Thread johannes graën
On Tue, Feb 9, 2016 at 2:55 PM, Gabriel Sánchez wrote: > The same happens to me. Although copying and waiting usually works for me. I've got a new clue. Although cut + paste inserts the wrong text, the cutted text is available to other programs afterwards. So my guess would be that pgadmin just u

Re: [pgadmin-support] Copy & paste key commands not working correctly

2016-02-09 Thread Gabriel E . Sánchez Martínez
On 02/09/2016 09:39 AM, Colin Beckingham wrote: On 02/09/2016 08:55 AM, Gabriel Sánchez wrote: The same happens to me. Although copying and waiting usually works for me. Have others experienced this behavior? It appears not to affect windows. Are the developers aware of this? Have they

Re: [pgadmin-support] Copy & paste key commands not working correctly

2016-02-09 Thread Colin Beckingham
On 02/09/2016 08:55 AM, Gabriel Sánchez wrote: The same happens to me. Although copying and waiting usually works for me. Have others experienced this behavior? It appears not to affect windows. Are the developers aware of this? Have they tried fixing it or do they plan to fix it? It cou

Re: [pgadmin-support] Copy & paste key commands not working correctly

2016-02-09 Thread Gabriel Sánchez
The same happens to me. Although copying and waiting usually works for me. Have others experienced this behavior? It appears not to affect windows. Are the developers aware of this? Have they tried fixing it or do they plan to fix it? It could be that this is a bug in wxWidgets rather than pgAdmi

Re: [pgadmin-support] Copy & paste key commands not working correctly

2016-02-09 Thread johannes graën
On Sun, Feb 7, 2016 at 8:00 PM, Gabriel Sánchez wrote: > It happens often to me in Ubuntu 14.04 as well. It sometimes also happens > with the toolbar icons too. It seems to have to do with timing, because if I > wait 5 seconds or so, it usually works. It seems to take longer to copy more > text. T

Re: [pgadmin-support] Copy & paste key commands not working correctly

2016-02-07 Thread Gabriel Sánchez
It happens often to me in Ubuntu 14.04 as well. It sometimes also happens with the toolbar icons too. It seems to have to do with timing, because if I wait 5 seconds or so, it usually works. It seems to take longer to copy more text. The problem appears to worsen with long queries, and after using

[pgadmin-support] Copy & paste key commands not working correctly

2016-02-07 Thread johannes graën
Hi, I sometimes experience the following strange behaviour with pgAdmin v1.22.0 under Arch using Gnome Shell 3.18.2: When I copy or cut out text, the following Ctrl+V doesn't insert the copied (or cut) text, but something I previously had copied in a different application (if any). The context me