🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6958

Bug#1155983: Bug Report for xfe version 2.0.1-2

#6958
From: Scott Ward (e2e8e2)
Date: Mon, 30 Nov 2026 23:10
260 lines
14761 bytes
--_000_b65f1a311af341d38c9107f674aebcf8SRWSVR2K8R2srwnetsrw_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Package: xfe
Version: 2.0.1-2

Summary
-------
When xfe 2.0.1-2 (amd64, Debian 13 trixie) is displayed on Windows
through the MobaXterm X server (version 12.1, multiwindow mode, X11
forwarded over SSH), the main window's title bar has no minimize,
maximize or close buttons, and Alt+Space does not open the window menu.
Other X applications on the same system and display (e.g. gparted) are
decorated normally.

This is a regression: xfe 1.45-2 (amd64) on other Debian systems,
displayed through the same MobaXterm X server, shows all three buttons
normally. The problem shows up on two separate Debian 13 installs that
both have 2.0.1-2.

Cause
-----
xfe 2.0.1-2 sets this property on its main window:

  _MOTIF_WM_HINTS =3D 0x7, 0x3e, 0x6e, 0x0

The decorations field (0x6e) includes BORDER, RESIZEH, TITLE, MINIMIZE
and MAXIMIZE but omits MWM_DECOR_MENU (0x10). Window managers that
follow the Motif hints strictly, such as the Cygwin/X-derived XWin
server in MobaXterm, create the window without a system menu. On
Windows the min/max/close buttons belong to the system menu, so they
disappear even though MINIMIZE and MAXIMIZE are requested.

gparted, for comparison, sets no _MOTIF_WM_HINTS and gets the full frame.

Confirmation
------------
Unmapping the window, setting the decorations field to 0x7e (adding
MWM_DECOR_MENU) and remapping it restores the buttons:

  xdotool windowunmap --sync <id>
  xprop -id <id> -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS "0x7, 0x3e, 0x=
7e, 0x0, 0x0"
  xdotool windowmap --sync <id>

Changing the property while the window is mapped has no effect, since
the server reads the hints when the window is mapped.

Suggested fix
-------------
Include MWM_DECOR_MENU in the decorations xfe requests for its
top-level windows (in FOX terms, add DECOR_MENU to the main window's
decoration options), or don't set _MOTIF_WM_HINTS on the main window
and let the window manager use its defaults.

Workaround
----------
A wrapper script that launches xfe, waits for the main window, then
unmaps it, sets decorations to 0x7e and remaps it.

--_000_b65f1a311af341d38c9107f674aebcf8SRWSVR2K8R2srwnetsrw_
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-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 12 (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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Arial","sans-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 lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">Package: xfe<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">Version: 2.0.1-2<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">Summary<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">-------<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">When xfe 2.0.1-2 (amd64, Debian 13 trixie) is displayed on=
 Windows<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">through the MobaXterm X server (version 12.1, multiwindow =
mode, X11<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">forwarded over SSH), the main window's title bar has no mi=
nimize,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">maximize or close buttons, and Alt&#43;Space does not open=
 the window menu.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">Other X applications on the same system and display (e.g. =
gparted) are<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">decorated normally.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">This is a regression: xfe 1.45-2 (amd64) on other Debian s=
ystems,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">displayed through the same MobaXterm X server, shows all t=
hree buttons<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">normally. The problem shows up on two separate Debian 13 i=
nstalls that<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">both have 2.0.1-2.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">Cause<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">-----<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">xfe 2.0.1-2 sets this property on its main window:<o:p></o=
:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">&nbsp; _MOTIF_WM_HINTS =3D 0x7, 0x3e, 0x6e, 0x0<o:p></o:p>=
</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">The decorations field (0x6e) includes BORDER, RESIZEH, TIT=
LE, MINIMIZE<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">and MAXIMIZE but omits MWM_DECOR_MENU (0x10). Window manag=
ers that<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">follow the Motif hints strictly, such as the Cygwin/X-deri=
ved XWin<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">server in MobaXterm, create the window without a system me=
nu. On<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">Windows the min/max/close buttons belong to the system men=
u, so they<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">disappear even though MINIMIZE and MAXIMIZE are requested.=
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">gparted, for comparison, sets no _MOTIF_WM_HINTS and gets =
the full frame.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">Confirmation<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">------------<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">Unmapping the window, setting the decorations field to 0x7=
e (adding<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">MWM_DECOR_MENU) and remapping it restores the buttons:<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">&nbsp; xdotool windowunmap --sync &lt;id&gt;<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">&nbsp; xprop -id &lt;id&gt; -f _MOTIF_WM_HINTS 32c -set _M=
OTIF_WM_HINTS &quot;0x7, 0x3e, 0x7e, 0x0, 0x0&quot;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">&nbsp; xdotool windowmap --sync &lt;id&gt;<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">Changing the property while the window is mapped has no ef=
fect, since<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">the server reads the hints when the window is mapped.<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">Suggested fix<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">-------------<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">Include MWM_DECOR_MENU in the decorations xfe requests for=
 its<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">top-level windows (in FOX terms, add DECOR_MENU to the mai=
n window's<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">decoration options), or don't set _MOTIF_WM_HINTS on the m=
ain window<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">and let the window manager use its defaults.<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">Workaround<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">----------<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">A wrapper script that launches xfe, waits for the main win=
dow, then<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">unmaps it, sets decorations to 0x7e and remaps it.<o:p></o=
:p></span></p>
</div>
</body>
</html>

--_000_b65f1a311af341d38c9107f674aebcf8SRWSVR2K8R2srwnetsrw_--
Technical Details
Message-ID: <O5iFr-fdaO-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: "Scott Ward (e2e8e2)" <debianbugreport.ext@baronshire.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155983: Bug Report for xfe version 2.0.1-2
Date: Tue, 01 Dec 2026 00:10:01 +0100
Message-ID: <O5iFr-fdaO-5@gated-at.bofh.it>
X-Original-To: "submit@bugs.debian.org" <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Nov 30 23:01:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: "Scott Ward (e2e8e2)" <debianbugreport.ext@baronshire.org>, 1155983@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: joodebian@joonet.de
X-Debian-Pr-Message: report 1155983
X-Debian-Pr-Package: xfe
X-Debian-Pr-Source: xfe
Thread-Topic: Bug Report for xfe version 2.0.1-2
Thread-Index: Ad2BHS3YYsn+S3IYSdGqNYahukE9iQ==
Accept-Language: en-US
Content-Language: en-US
X-Ms-Exchange-Messagesentrepresentingtype: 1
X-Ms-Exchange-Transport-Fromentityheader: Hosted
X-Originating-IP: [172.24.222.171]
Content-Type: multipart/alternative;
	boundary="_000_b65f1a311af341d38c9107f674aebcf8SRWSVR2K8R2srwnetsrw_"
MIME-Version: 1.0
X-Greylist: delayed 503 seconds by postgrey-1.37 at buxtehude; Mon, 30 Nov 2026 22:58:54 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006209
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 260
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 30 Nov 2026 22:50:26 +0000
X-Original-Message-ID: <b65f1a311af341d38c9107f674aebcf8@SRWSVR2K8R2.srwnet.srw>