Solaris: Shell names should reflect Window class name or main() class name

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.3.0
    • Component/s: client-libs
    • None
    • beta
    • generic, sparc
    • solaris_8

      In awt_TopLevel.c, we find the following:
              wdata->winData.shell = XtAppCreateShell("AWTapp",
                                           "XApplication",
                                           vendorShellWidgetClass,
                                           awt_display,
                                           args,
                                           argc);
      and
              wdata->winData.shell = XtCreatePopupShell("AWTdialog",
                                            transientShellWidgetClass,
                                            pdata->winData.shell,
                                            args,
                                            argc);

      This code hardcodes the shell name to either "AWTapp" or "AWTdialog". It
      would be preferable to customize the name based on the name of the
      Window/Frame/Dialog subclass, or the name of the class which contained
      the main() method invoked at the command line.

      This is similar to BugId 4284277 for Win32.

            Assignee:
            Uwe Uwe (Inactive)
            Reporter:
            David Mendenhall (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: