Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Scott Ward (e2e8e2)
Mon, 30 Nov 2026 23:10
Bug#1155983: Bug Report for xfe version 2.0.1-2
Author: Scott Ward (e2e8e2)
Date: Mon, 30 Nov 2026 23:10
Date: Mon, 30 Nov 2026 23:10
260 lines
14761 bytes
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:"Arial","s=
ans-serif"">Package: xfe<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">Version: 2.0.1-2<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif""><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">Summary<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">-------<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif"">maximize or close buttons, and Alt+Space does not open=
the window menu.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif"">decorated normally.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif""><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif"">both have 2.0.1-2.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif""><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">Cause<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">-----<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif""><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif""> _MOTIF_WM_HINTS =3D 0x7, 0x3e, 0x6e, 0x0<o:p></o:p>=
</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif""><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif"">disappear even though MINIMIZE and MAXIMIZE are requested.=
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif""><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif""><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">Confirmation<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">------------<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif"">MWM_DECOR_MENU) and remapping it restores the buttons:<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif""><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif""> xdotool windowunmap --sync <id><o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif""> xprop -id <id> -f _MOTIF_WM_HINTS 32c -set _M=
OTIF_WM_HINTS "0x7, 0x3e, 0x7e, 0x0, 0x0"<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif""> xdotool windowmap --sync <id><o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif""><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif""><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">Suggested fix<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">-------------<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif"">and let the window manager use its defaults.<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif""><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">Workaround<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">----------<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Arial","s=
ans-serif"">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:"Arial","s=
ans-serif"">unmaps it, sets decorations to 0x7e and remaps it.<o:p></o=
:p></span></p>
</div>
</body>
</html>
--_000_b65f1a311af341d38c9107f674aebcf8SRWSVR2K8R2srwnetsrw_--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads