Issue 2612 - Menus and messages are no longer displayed after XFree 4.0.3 crash
Summary: Menus and messages are no longer displayed after XFree 4.0.3 crash
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: ui
Classification: Code
Component: ui (show other issues)
Version: 641
Hardware: PC Linux, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: hdu@apache.org
QA Contact: issues@ui
URL:
Keywords:
: 2611 (view as issue list)
Depends on:
Blocks:
 
Reported: 2001-12-21 08:41 UTC by gissi
Modified: 2003-05-08 20:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
No messages are displayed any more... (24.12 KB, image/png)
2001-12-21 08:44 UTC, gissi
no flags Details
voilà, no fonts! (475.65 KB, image/png)
2002-01-18 10:00 UTC, gissi
no flags Details
This is clear: Freetype, Xft or whatelse killed the menus! (289.58 KB, image/png)
2002-02-08 16:04 UTC, gissi
no flags Details
The strace... (93.61 KB, text/plain)
2002-02-15 10:50 UTC, gissi
no flags Details
The xdpyinfo result... (3.01 KB, text/plain)
2002-02-26 07:44 UTC, gissi
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description gissi 2001-12-21 08:41:07 UTC
It happened several times that OO blocks XFree, and I have to kill it the two.
After having restarted XFree 4.0.3 on Debian Testing menus and messages in the
windows are not displayed any more. I tryied to delete the OO directory and
reinstall it, but neither in the setup the messages are displayed any more.
The only turn around until now has been to reinstall from scratch XFree and then
running OO setup.
I can send you screenshots of the problem.

It never happened with SO6 beta.
Comment 1 gissi 2001-12-21 08:44:34 UTC
Created attachment 843 [details]
No messages are displayed any more...
Comment 2 Frank Schönheit 2001-12-21 11:11:49 UTC
*** Issue 2611 has been marked as a duplicate of this issue. ***
Comment 3 stefan.baltzer 2002-01-08 11:03:07 UTC
Reassigned to Ulf.
Comment 4 gissi 2002-01-18 09:42:21 UTC
I found a way to circumvent this issue: I disabled Freetype from /etc/XF86Config-4.
When truetype fonts are not enabled openoffice works...
Comment 5 gissi 2002-01-18 10:00:56 UTC
Created attachment 960 [details]
voilà, no fonts!
Comment 6 ulf.stroehler 2002-02-06 11:08:45 UTC
US->Emanuele Gissi: pls try XFree86 4.2.0 as 4.0.3 was known to have
some annoying bugs.

US->HDU:

Possible interference between 'our' FreeType and the system's?
Comment 7 hdu@apache.org 2002-02-06 11:57:00 UTC
Which Version of OO641 do you use? 641C?
Upgrading to XFree 4.2.0 would probably help.
What does xset -q report where the font path is?
Comment 8 gissi 2002-02-07 09:27:07 UTC
I am now using XFree 4.1.0.
The problem is still there.
I am sorry I cannot install XFree 4.2.0 as long as it's not packaged
for Debian Unstable...

I am rather sure the problem is a bad interaction with XFree FreeType.
If I comment (thus exclude) FreeType form XF86Config, OO works as
expected, but I don't have truetype fonts any more for KDE
applications.

Hope this helps!
I remain at your disposal, thanks for your work.

Comment 9 gissi 2002-02-07 09:29:57 UTC
Here is the result of xset -q (with FreeType disabled):

Font Path:  
/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi
Comment 10 hdu@apache.org 2002-02-07 14:16:47 UTC
How reproducible is the problem? Does it hang reliably when you
enable ft in the XConfig?

Where are the truetype fonts located? In the font path I didn't
see a directory for truetype fonts. Is there anything special
with this directory, e.g. permissions, file system type, mount
options?
Comment 11 gissi 2002-02-08 13:53:23 UTC
It does not hang; OO continues to work as if nothing was happened.
But no menu font is displayed any more.

Notice that editing text is correctly displayed.
This happens very reliably when I enable ft in the XF86Config.

The truetype dir is the following:
FontPath        "/usr/lib/X11/fonts/TrueType"

This are its properties:
drwxr-xr-x    2 root     root         4096 Feb  5 09:06 TrueType

The Xftconfig is the one distributed with the deb package antialias-howto.
I can send that to you if needed.
Comment 12 gissi 2002-02-08 16:04:33 UTC
Created attachment 1031 [details]
This is clear: Freetype, Xft or whatelse killed the menus!
Comment 13 hdu@apache.org 2002-02-08 16:17:04 UTC
We are not using the Xft library, only the render extension,
so the Xft configuration shouldn't make a difference for us.

What happens when you go to
Tools->Options->StarOffice->FontReplacement
and add this replacement:
Andale Sans UI -> Tahoma
Comment 14 gissi 2002-02-11 08:43:14 UTC
To make OO work it is enough to comment Freetype extension
in XF86Config-4.

If I make: Tools->Options->OpenOffice->FontReplacement
and add this replacement:
User Interface -> Tahoma
The interface changes its font.

Then I restart X with Freetype enabled and menus don't appear.
I tryed also with User Interface -> Helvetica (the most common font):
not working.
Comment 15 hdu@apache.org 2002-02-11 14:17:58 UTC
Very strange... Something seems to prevent us from accessing
the font files when the FT module is loaded.

You seem to be using KDE. Does disabling antialiasing there help?

What happens when you copy the *ttf fonts into the
$(OOoHOME)/share/fonts/truetype directory?
Comment 16 gissi 2002-02-12 07:19:21 UTC
I don't use antialiasing under kde.

Copying ttf fonts in OOoHOME)/share/fonts/truetype directory does
not change anything.
Comment 17 hdu@apache.org 2002-02-14 17:38:19 UTC
Can you attach the file strace.txt.bz2 that you get from
strace -f soffice 2>&1 >strace.txt
bzip2 -9 strace.txt
Run it and close the window when the window comes up.
Comment 18 gissi 2002-02-15 10:48:07 UTC
> Run it and close the window when the window comes up.
Well, the splash screen opened, but the main window never got out.
After two hours or so I killed the process.
Is this strace.txt enough for you? Let me know, please.

Comment 19 gissi 2002-02-15 10:50:13 UTC
Created attachment 1050 [details]
The strace...
Comment 20 hdu@apache.org 2002-02-21 12:14:27 UTC
In line 191 of $(OOHOME)/program/soffice
there is
#SAL_ANTIALIAS_DISABLE=true; export SAL_ANTIALIAS_DISABLE

Please remove the first character (#) in this line and save the file.
Then restart Office.

Also please run hte xdpyinfo command and attach the result here.
Comment 21 gissi 2002-02-26 07:44:33 UTC
Created attachment 1096 [details]
The xdpyinfo result...
Comment 22 gissi 2002-02-26 07:47:02 UTC
I removed the # in line 191 of $(OOHOME)/program/soffice
as you asked me.

Sorry but nothing changes, menus are still not displayed.

I attached the results of xdpyinfo, too.
Comment 23 gissi 2002-03-12 08:13:20 UTC
Well, I cannot recreate the same bug in other computers
identically configurated that we have in our
office.
So, I will try (when possible) to reinstall XFree from scratch and let
you know what changes on my computer.
Comment 24 hdu@apache.org 2002-05-16 16:52:37 UTC
any news on the problem? 
 
Comment 25 hdu@apache.org 2003-01-23 16:38:12 UTC
Cannot recreate. 
Comment 26 michael.bemmer 2003-03-13 09:49:42 UTC
As mentioned on the qa dev list on March 5th I will close all resolved
<wontfix/duplicate/worksforme/invalid> issues. Please see this posting for
details. First step in IssueZilla is unfortunately to set them to verified.
Comment 27 michael.bemmer 2003-03-13 09:53:19 UTC
As mentioned on the qa dev list on March 5th I will close all resolved
<wontfix/duplicate/worksforme/invalid> issues. Please see this posting for
details. First step in IssueZilla is unfortunately to set them to verified.
Comment 28 michael.bemmer 2003-03-13 10:24:15 UTC
As mentioned on the qa dev list on March 5th I will close all resolved
<wontfix/duplicate/worksforme/invalid> issues. Please see this posting for details. 
Comment 29 michael.bemmer 2003-03-13 10:24:39 UTC
As mentioned on the qa dev list on March 5th I will close all resolved
<wontfix/duplicate/worksforme/invalid> issues. Please see this posting for details. 
Comment 30 Unknown 2003-05-08 20:34:03 UTC
I am experiencing the same problem with RedHat 9.0 and OO 1.0.3 after
an upgrade from RedHat 8.0 and OO 1.0.1.
I kept both versions of OO in /usr/local and made a link to OO 1.0.3.
When I point the link back to OO 1.0.1 all menus and messages in 1.0.1
works.
When the link points to OO 1.0.3 all menus and messages disapears.