• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Display current view in window title bar

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 125
  • Views 20377
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Display current view in window title bar

MatthewLove
MatthewLove over 7 years ago

Hi,

Is there a way to have the window's title bar display the current view?

I ask because we use Keysight's Momentum with Virtuoso and it keeps a separate layout view which is essentially identical to the standard layout.

The issue is that there is no way to tell which view is currently open when you have two layout (one "layout" layout view, one "momentum" layout view) views open at one time.

Is there a way to enable this?

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    Er, that's exactly what it does do - shouldn't need to do anything to enable this. Maybe the Keysight Moment interface is opening the window and explicitly setting the banner?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • MatthewLove
    MatthewLove over 7 years ago in reply to Andrew Beckett

    Hi Andrew,

    All of our windows just say "Virtuoso".

    It's an issue with our setup then.

    Good to know that's the intended behaviour.

    Regards,

    Matthew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to MatthewLove

    Hi Matthew,

    What window manager are you using? I've seen (I think) in the past some issues where the window banner gets truncated because of not understanding the registered trademark (i.e. ® ) character after Virtuoso.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to Andrew Beckett

    Matthew - one thought in case that is it. Try doing this in the CIW and then opening the windows:

    envSetVal("designEditor.window" "windowNameFormat" 'string "%m: %l %c %v %x %a")

    It's the "%a" that adds the application name. Note that you have to include it somewhere otherwise it gets automagically added to the beginning again (so I just put it at the end).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • MatthewLove
    MatthewLove over 7 years ago in reply to Andrew Beckett

    Hi Andrew,

    That solved it, thanks a bunch! I guess your hunch was right.

    I'll add that to my .cdsinit then.

    To answer your previous question, the window manager we're using is IceWM.

    Regards,

    Matthew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to MatthewLove

    Thanks Matthew - IceWM isn't one I'm familiar with. I can only assume it has some problem with this character in window banners.

    Anyway, at least you have a solution for now!

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Jorg
    Jorg over 7 years ago in reply to Andrew Beckett

    Hi Andrew and Matthew,

    I had the same issue with IceWM. Andrew's hint (as always) solved it, the registered trademark ® character isn't showing at the end, so it is clearly swallowed.

    Since it is our own patched IceWM installation, we have a chance to debug this, if it would help anybody.

    Best Regards,

    Jörg

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Jorg
    Jorg over 7 years ago in reply to Andrew Beckett

    Hi Andrew and Matthew,

    I had the same issue with IceWM. Andrew's hint (as always) solved it, the registered trademark ® character isn't showing at the end, so it is clearly swallowed.

    Since it is our own patched IceWM installation, we have a chance to debug this, if it would help anybody.

    Best Regards,

    Jörg

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to Jorg

    Hi Jörg,

    First avenue would be to check whether the font used contains the character for ®. In KDE there are Settings for the Appearance, which lists the fonts used for the various places. I see from a quick google search that IceWM has controls for the TitleFontName too: http://www.icewm.org/manual/icewm-11.html 

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • henker
    henker over 7 years ago in reply to Andrew Beckett
    Hello,

    IceWM queries the charset of the application locale; this is then used
    for translation of single-byte application strings to unicode before printing them. If the string contains characters not present in the charset, the conversion stops with a warning output (on the terminal that contains IceWM) and the string is shown only up to the non-existing character. In case of virtuoso the charset ANSI_X3.4-1968 is returned (the 127 character US-ANSI charset), which does not contain chars >0x7F. The attached patch changes the charset in this specific case to ISO-8859-1,
    which is a superset of US-ANSI (so nothing will break) and contains
    reasonable definions for the higher 128 characters, thus the conversion
    of the new window title format can be done completely.



    diff -rupN icewm-1.3.8.old/src/ylocale.cc icewm-1.3.8.new/src/ylocale.cc
    --- icewm-1.3.8.old/src/ylocale.cc    2013-11-17 17:54:39.000000000 +0100
    +++ icewm-1.3.8.new/src/ylocale.cc    2017-12-27 16:38:36.000000000 +0100
    @@ -64,6 +64,10 @@ YLocale::YLocale(char const * localeName
                    "Assuming ISO-8859-1.\n"));
             codeset = "ISO-8859-1";
         }
    +    else if( 0==strcmp(codeset, "ANSI_X3.4-1968") )
    +    {    // promote us-ansi to latin1
    +        codeset = "ISO-8859-1";
    +    }
     
         union { int i; char c[sizeof(int)]; } endian; endian.i = 1;
     
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information