Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zg9dm-0007s5-AE for pgadmin-hackers@arkaria.postgresql.org; Sun, 27 Sep 2015 10:57:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zg9dl-0006bv-Of for pgadmin-hackers@arkaria.postgresql.org; Sun, 27 Sep 2015 10:57:09 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zg9dW-00060n-SI; Sun, 27 Sep 2015 10:56:55 +0000 Received: from forward15j.cmail.yandex.net ([2a02:6b8:0:1630::b5]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zg9dS-0006Go-KW; Sun, 27 Sep 2015 10:56:53 +0000 Received: from smtp14.mail.yandex.net (smtp14.mail.yandex.net [95.108.131.192]) by forward15j.cmail.yandex.net (Yandex) with ESMTP id DF1242117B; Sun, 27 Sep 2015 13:56:45 +0300 (MSK) Received: from smtp14.mail.yandex.net (localhost [127.0.0.1]) by smtp14.mail.yandex.net (Yandex) with ESMTP id 839CB1B604EC; Sun, 27 Sep 2015 13:56:45 +0300 (MSK) Received: by smtp14.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id py5PlkVZT4-uikaltDq; Sun, 27 Sep 2015 13:56:44 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) To: undisclosed-recipients:; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1443351404; bh=myPUExan/eWFvMud3HJogZ1cgPI5BbtK4D8qLnUWhKo=; h=Message-ID:Date:From:User-Agent:MIME-Version:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=oQjZ8ZNy3ZxetXu9WnWPVIGufiwr2Rmj/rhBO9usBfgcRahw5s1ImNcCTqYWUavCl KmHnGU5FzPBdSJe/Ed2YtO4oWatOkimcJCn0H5Za7JJKcR0vqp1ROZjSGkIacOtprE EJt4aQVJyH2KYm+ylaE9XG0ba97ZZFclqWZZW27k= Authentication-Results: smtp14.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-ForeignMX: SE Message-ID: <5607CF32.7030707@yandex.ru> Date: Sun, 27 Sep 2015 14:12:50 +0300 From: Nikolai Zhubr User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 CC: pgadmin-support@postgresql.org, pgadmin-hackers@postgresql.org Subject: Re: [pgadmin-support] Stability and compatability issues on windows xp References: <5606F2C8.9010001@yandex.ru> <56070F5A.3070102@yandex.ru> <1674144739.20150927082019@mail.ru> In-Reply-To: <1674144739.20150927082019@mail.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org Hi, 27.09.2015 8:20, J.F. Oster wrote: > Hello, > > NZ> So, is it planned e.g. to publish some beta windows binaries? > > +1 for publishing beta binaries. > > NZ> I'm on windows xp sp3 (32-bit). > > Windows XP is not supported officially, http://www.pgadmin.org/download/windows.php > From v1.16.0, Windows XP/2003 or later is required, and from 1.20.0, Windows Vista/2008 is required. Indeed, thanks, I've somehow overlooked this one. And its a real pity (for me at least). I wouldn't dismiss windows xp here just for that, and I can't imagine any real new feature of windows vista that pgadmin needs so much now. Rather, it is probably that officially preferred version of microsoft build tools has dropped support for windows xp target (which is certainly logical from microsoft pov) and maintainers might have not enough resources and/or motivation to deal with a number of various microsoft compilers simultaneously (which is actually logical too). And this leads to a somewhat ridiculous situation, that I've just easily updated postgresql from 9.0 to 9.4 here, all my apps are running fine, except that an (important, but still) auxilary productivity utility (which saves me lots of typing and is nice, yes) now wants me to change an operating system. On the other hand, AFAIK wxwidgets is _just_ dropping support for win9x (!) now, and furthermore, the 2.8 version of wxwidgets used in officially released pgadmin 1.20 is somewhat antique (and AFAICS cannot be officially obtained other than compiled from source) so I'm not sure one could expect any fixes for it even if one needed some. > But there was a commit related to XP after 1.20 release: > http://git.postgresql.org/gitweb/?p=pgadmin3.git;a=commit;h=b845880cc1352820b14a1e9af7b56eb3a513a38b > So probably it is supposed to work :) Ah, this change was applied after 1.20 release, so yes, despite officially not supported, it might happen that a binary valid for windows xp will also appear in an upcoming release. > Building on Windows is somewhat tricky. I can assist but note that I > build on Windows 7 and have never seen the bug you described. Ok, thanks. I'd suppose build process on windows should not depend much on the build host version. Some more about the bug itself. It is triggered easily in the SQL-query panel by just some typing, then clicking back and forth between the editor and tabs below, and some moving this panel window as a whole. In order to notice the problem quickly, I just fire taskmanager before and minimize it so I can see CPU load increase immediately. The bug looks like a (in)famous invalidate-repaint-invalidate dead loop. That is: CPU load increases to the max, GUI responsiveness drops, window contents gradually become corrupt (not properly repainted), finally the window becomes completely dead and can not even be closed by the 'close' button. Or sometimes the window might come back to life subsequently, depending on how exactly I move and click it. If connected via remote desktop, visual artifacts get much more noticable. Generally such problem (on windows) typically happens when an application tries to automatically rearrange window elements as a reaction so some GUI event (like e.g. window resize by user) and while doing such rearrangement it ocasionally (maybe indirectly) fires some other GUI event (of the same or another type), which in turn causes yet another rearrangement and so on, sometimes with visible flickering, sometimes without. (Seen this plenty.) Now starting with vista, if I understand it correctly, window invalidation and repainting technique has changed somewhat, so, what is relevant to the issue in question, less invalidation events are exposed to an application (as they are now processed by window manager or whatever). While probably a reasonable change, it certainly doesn't drop a requirement that repainting must not cause cyclic invalidation. But if all of develpoment and testing is performed on windows 7 then it is perfectly clear the bug could well stay unnoticed. I think it would be good to fix it. It might be even not so difficult. I could maybe provide remote access to a VM with windows xp if some developer is interested. Besides, I suspect that with some luck the problem might also trigger on vista+ when running pgadmin through a remote desktop, although I'm not quite sure. Thank you, Nikolai -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers