From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpout1.smhi.se (smtpout1.smhi.se [IPv6:2001:67c:274:5501::30]) by sourceware.org (Postfix) with ESMTPS id 9BBC13858C66 for ; Thu, 12 Jan 2023 14:32:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9BBC13858C66 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=smhi.se Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=smhi.se Received: from winserv811.ad.smhi.se (winserv811.ad.smhi.se [172.16.6.37]) by smtpout1.smhi.se (Postfix) with ESMTPSA id B17F210950A8 for ; Thu, 12 Jan 2023 14:32:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smhi.se; s=20180112; t=1673533928; bh=c6R8s9Qx9SW0dovcu0Hud7aRHhxKNv4JR5q/FvJriqw=; h=From:To:Subject:Date:From; b=yNtRS4jlJYcHy8OB6YoX82jEwfc+gJRyR8IXBOCadST80faORflB/glHMZtk3xWAV h1k+UEv7pZWhvf3MUGjzj1HN71/M0kEd0QVBdma7WB0nVxpTQfg7r08hkwu6lL2n44 fJJmxMfuV6rLQbD6yVXTxmTD6V8zsU6sKg4tISMg= Received: from winserv811.ad.smhi.se (172.16.6.37) by winserv811.ad.smhi.se (172.16.6.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.21; Thu, 12 Jan 2023 15:32:08 +0100 Received: from winserv811.ad.smhi.se ([fe80::fe14:1050:c4af:853c]) by winserv811.ad.smhi.se ([fe80::fe14:1050:c4af:853c%5]) with mapi id 15.02.1118.021; Thu, 12 Jan 2023 15:32:08 +0100 From: Wyser Klaus To: "cygwin@cygwin.com" Subject: octave doesn't work any longer with qt graphics toolkit Thread-Topic: octave doesn't work any longer with qt graphics toolkit Thread-Index: AdkmkqXCJLCfaHDLSl2jeDELGKdI5w== Date: Thu, 12 Jan 2023 14:32:08 +0000 Message-ID: Accept-Language: sv-SE, en-US Content-Language: sv-SE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.122.2.79] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hej--- I got a new computer in September and installed Cygwin/X11 and many more pa= ckages, among others Octave (I think it was 5.2 back then). I have been usi= ng cygwin and octave for 20 years already, so I'm not new to this. Well, ev= erything worked just fine until I happened to update some cygwin packages i= n December, among others octave (to version 6.4). Unfortunately I didn't pa= y attention to what else was updated in that go, usually these regular upda= tes (marked as "pending" in the setup) just work fine. Not this time though= : octave is still working, but not the graphics output. When entering a com= mand to plot something a figure window opens under X11, but it is just a co= py of the background and doesn't show what I wanted to plot. Octave doesn't= freeze, I can still work and do all the math stuff, it's just the plotting= that doesn't work any longer. After some troubleshooting I found that it l= ikely is a problem with the graphics_toolkit, I can make plots if I set it = to "gnuplot" but get the problem when it is set to "qt" (which is the defau= lt). So should I use "gnuplot" then? Well, that's not really an option because g= nuplot doesn't allow interaction with the figure (rotating, zooming), and s= ome of the more complicated plotting routines don't work properly any more = (e.g. contour plots).=20 First I suspected this being a problem of the Octave update, but apparently= it's not the case. Even when going back to Octave 5.2 I still have the sam= e problem with the figure window. Searching the Internet didn't help, so I = wonder if I'm the only one having this problem with Octave? As said above, = I don't know exactly what other Cygwin packages have been updated at the sa= me time, so in principle it is possible that there is an incompatibility wi= th some other packages (OpenGL?) that were updated at the same time, I trie= d reverting some libraries but it didn't help. I also tried to isolate the = problem by installing a very limited Cygwin setup from scratch, basically o= nly X11 and Octave, nothing else. I get the exact same error even with this= very restricted setup. When searching for help I also came across this page: https://wiki.octave.o= rg/Octave_for_Microsoft_Windows There is a Windows version of Octave that c= an be installed independently from Cygwin (relying on mingw64 in my case) a= nd that installation works well (including graphics). This is also a newer = version of Octave (7.3) compared to the Cygwin package (6.4). The Windows i= nstallation is a fallback option, however, I cannot integrate it with my Cy= gwin environment which makes my workflows way more complicated and I would = prefer to have an Octave package for Cygwin. So my questions are: - Am I the only one in the Cygwin/X11 community with this kind of Octave pr= oblem? - Is there something I can do about it (OpenGL/Qt...)? - Will there soon be a new Octave 7 release for Cygwin that hopefully solve= s all my problems? Any help is greatly appreciated, thanks. =3D=3D=3D=3D=3D Klaus Wyser Rossby Centre SMHI