[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linux build with X_LOCALE defined


In <352A450B.2B65C5DA@xxxxxxxxxxxx>, Ramiro Estrugo wrote:
: Jungshik Shin wrote:
:> 
:>   BTW, I found a bug of NS 4.x I reported last year still remains
:> unfixed in mozilla 5.0(<alpha). There is a place  where I guess "simple
:> string output function"(Motif equivalents of  XDraw*Sting,XDrawText) is
:> invoked when "compount text output function"(Motif equivalents of
:> Xmb(Draw|DrawImage)String,XmbDrawText) needs to be used. It's the list
:> of currently opened windows(when there are multiple navigator windows
:> and/or mail, news message windows) in Windows/Communicator menu.    The
:> list of visited web pages with Korean strings in Go menu and other
:> Korean strings I defined in Netscape.ad doesn't have this problem.
:> 
:> [snip]
:> 
:>   I tried to pinpoint where in the source this bug creeped in, but
:> failed. It appears to me that it's just a simple fix. Could
:> anyone at Netscape familiar with this part of code do the fix
:> or point me where I should look?

: look here: ns/cmd/xfe/src/HistoryMenu.cpp

: There is a call somewhere in there to a function:

: fe_ConvertToXmString()

  Thanks a lot for answering my question. However, I'm afraid I failed
to make myself clear. History Menu has no problem(actually, there is an
issue to address here, but it's non-trivial and not so urgent). So are
all other cases, which indicates that fe_ConvertToXmString() does its
job well. The problem described above has to do with the list of opened
Windows with non-US-ASCII title.  When "Windows" menu  is pulled down,
it looks like this(in navigator-standalone 4.04):

File Edit View  Go    Windows   .....                   Help
                       Navigator
                       Netcaster
                       Bookmarks
                       History
                       Java Console
                       Security Info 
                       -------------     : separation bar
                       1.Netscape: title 1     : "raw" compound Text encoded 
                       2.Netscape: title 2        string is shown as it is
                       3.Netscape: title 3

File Edit View  Go     Windows                    Help
                 Back
                 Forward
                 Home
                 ----------- : separation bar
                 title 1         : NO problem here
                 title 2
                 

  'title 1','title 2'  and so forth in Windows menu has the problem
mentioned above.  However, the same title in "Go" menu looks all right.
I'll try to find out where to change, but it's a bit hard because it's a
search for "absence" and I'm a novice c++ programmer at best.
Do you have any other suggestion as to where to look for?

      Jungshik Shin



This mailing list archive is a service of Copilotco.