Menu

#655 nedit window title

open
nobody
None
5
2009-05-06
2009-05-06
Anonymous
No

I connected to a linux server through Nomachine's NX terminal. The window's title of nedit were always "Untitled". There was no problem when I ran nedit directly on this linux machine.

I also tried xemacs, gedit and jedit and didn't have such a problem-all their titles were displayed as expected. Also it seems I need to install some fonts on the client (windows XP) side, otherwise the fonts in nedit was ugly.

Any idea?

Thanks.

Discussion

  • Nobody/Anonymous

    The following note are from http://www.nomachine.com/download-client-windows.php:

    "NOTE: The additional fonts are only needed when running very old Unix applications, requiring the use of client-side fonts. All recent Unix applications use fonts stored on the server, that are fully supported by NX."

    does nedit require the use of client-side fonts?

     
  • Tony Balinski

    Tony Balinski - 2009-05-06

    The changing of titles on the windows decorations are expected by nedit to be handled by the window manager. It tells the WM about the required changes to the title. If the WM doesn't understand the way nedit does this, the title won't be updated. I suspect this is what's happening.

    Nedit does use old-fashioned font handling, which works very well for bitmapped fonts, which can be very clear and sharp, but look blocky against apps using anitaliased vector based fonts. (I prefer the bitmapped ones myself for their clarity.) The rendering of text using these fonts boils down to telling the x server where to draw what character string. New APIs render the string to an image in the program (x client) then this result is drawn to the screen (IIUC), which gives the client more control over how rendering happens. I understand this is how antialiasing is done.

     
  • Nobody/Anonymous

    This was probably the NX's problem. The following were from NX's knowledge base:

    -------------------------------------------------------------------------------------
    Rootless windows do not update the title text
    It has been reported that for sessions in a rootless application window the title bar text cannot be changed.

    After disconnecting and resuming the session the title text is shown as expected.

    The issue has been reproduced using a gnome-terminal as application. The gnome-terminal lets the user configure whether the standard title text is shown in the title bar or is replaced by a custom one.

    1. Open a unix custom session with gnome-terminal as application
    running in floating window mode.
    2. The title bar shows the standard title "Terminal", though the terminal profile
    is set to replace the terminal title with a configured one.
    3. Changing the title in the terminal options doesn't update the title bar
    as expected.
    4. Disconnect the session
    5. Resume the session, now the correct title is shown in the title bar.

    At the current state of investigation, the issue is Windows specific, because using a Linux or Solaris NX Client, the standard title is replaced as expected and changes in the title text are immediately updated.
    -------------------------------------------------------------------------------------

     

Log in to post a comment.