After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 166205 - Randomly no titlebar on windows without WM_NORMAL_HINTS
Randomly no titlebar on windows without WM_NORMAL_HINTS
Status: RESOLVED DUPLICATE of bug 145131
Product: metacity
Classification: Other
Component: general
2.8.x
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2005-02-03 20:13 UTC by Owen Taylor
Modified: 2005-02-03 20:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test case (804 bytes, text/plain)
2005-02-03 20:16 UTC, Owen Taylor
Details

Description Owen Taylor 2005-02-03 20:13:45 UTC
If you create a window without setting WM_NORMAL_HINTS, it might
or might not get a title bar. Looks like an uninitialized variable
reference. This is with metacity-2.8.6.

There is some sort of race condition involved it seems ... I
reproduced it *once* with the attached test case, but it happens
much more frequently with a real app with an expensive expose-event
handler. (pango-xftview from pango/examples run on HELLO.utf8 triggers
the bug more for me. Though I'm about to check in a fix to make
it set WM_NORMAL_HINTS. Checking out on the pango-1-8 branch
will get the program without the fix.)
Comment 1 Owen Taylor 2005-02-03 20:16:34 UTC
Created attachment 36944 [details]
test case

Compile with

 gcc -o no-title -L /usr/X11R6/lib -lX11 no-title.c -g -Wall

Or something like that.
Comment 2 Elijah Newren 2005-02-03 20:22:39 UTC
Cool, I like this testcase better than the one in bug 145131.  Also, thanks for
the hint regarding WM_NORMAL_HINTS.  I had tried to look into this a little
before but didn't have much time...I'll try to dig deeper.

*** This bug has been marked as a duplicate of 145131 ***