window resizing on Mac OSX

"John Selverian" <[email protected]> Wed, 15 Apr 2026 18:17:47 -0400
Newsgroups gmane.comp.lib.fox-toolkit.user
Organization JAHM Software
Message-ID <[email protected]>
This is a multipart message in MIME format.

--===============3078989288106042584==
Content-Type: multipart/related;
	boundary="----=_NextPart_000_0016_01DCCD04.2A2C1E90"
Content-Language: en-us

This is a multipart message in MIME format.

------=_NextPart_000_0016_01DCCD04.2A2C1E90
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0017_01DCCD04.2A2C1E90"


------=_NextPart_001_0017_01DCCD04.2A2C1E90
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit



On the Mac using xQuartz there is a bug (well known:
https://github.com/XQuartz/XQuartz/issues/438) that when you
resize a window it does not get refreshed properly. 

 

I've added everything I could think of to force a refresh in my
c++ code that is called on resize but nothing works:

 

 

update();

repaint();

getApp()->refresh();

getApp()-flush();

 

 

 

any ideas?

 

 

Kind regards,

 

js

 

 

 


------=_NextPart_001_0017_01DCCD04.2A2C1E90
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta name=3D"Microsoft =
Theme 2.00" content=3D"Concrete 011"><meta http-equiv=3DContent-Type =
content=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator =
content=3D"Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:12.0pt;
	font-family:"Verdana",sans-serif;
	color:#434343;
	mso-ligatures:standardcontextual;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#148120;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Aptos",serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=3Dwhite =
background=3D"cid:[email protected]" lang=3DEN-US =
link=3D"#148120" vlink=3D"#1E3C22" style=3D'word-wrap:break-word'><img =
src=3D"cid:[email protected]" =
v:src=3D"cid:[email protected]" v:shapes=3D"_x0000_Mail" =
width=3D0 height=3D0 class=3Dshape =
style=3D'display:none;width:0;height:0'><!--[if gte mso 9]><xml>
<v:background id=3D"_x0000_s1025" o:bwmode=3D"white" =
o:targetscreensize=3D"1024,768">
<v:fill src=3D"cid:[email protected]" =
o:title=3D"background_concrete" type=3D"frame" />
</v:background></xml><![endif]--><div class=3DWordSection1><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext'>On =
the Mac using xQuartz there is a bug (well known: <a =
href=3D"https://github.com/XQuartz/XQuartz/issues/438">https://github.com=
/XQuartz/XQuartz/issues/438</a>) that when you resize a window it does =
not get refreshed properly. <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext'><o:=
p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext'>I&#=
8217;ve added everything I could think of to force a refresh in my c++ =
code that is called on resize but nothing works:<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext'><o:=
p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext'><o:=
p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext'>upd=
ate();<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext'>rep=
aint();<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext'>get=
App()-&gt;refresh();<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext'>get=
App()-flush();<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext'><o:=
p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext'><o:=
p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext'><o:=
p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext'>any=
 ideas?<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext'><o:=
p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext;mso-=
ligatures:none'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext;mso-=
ligatures:none'>Kind regards,<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext;mso-=
ligatures:none'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext;mso-=
ligatures:none'>js<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext;mso-=
ligatures:none'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Aptos",serif;color:windowtext'><o:=
p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>
------=_NextPart_001_0017_01DCCD04.2A2C1E90--

------=_NextPart_000_0016_01DCCD04.2A2C1E90
Content-Type: image/gif;
	name="image001.gif"
Content-Transfer-Encoding: base64
Content-ID: <[email protected]>

R0lGODlhHwAfAIAAAODg4AAAACH5BAAAAAAALAAAAAAfAB8AAAIdhI+py+0Po5y02ouz3rz7D4bi
SJbmiabqyrbuOxUAOw==

------=_NextPart_000_0016_01DCCD04.2A2C1E90--



--===============3078989288106042584==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============3078989288106042584==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Foxgui-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/foxgui-users

--===============3078989288106042584==--