Skip to content

Calling TEDIT with title-less window as second arg blocks prompt area #2363

@pamoroso

Description

@pamoroso

Pass a window with no title as the second argument of a call to TEDIT, like this:

(SETQ W (TEDIT NIL (CREATEW)))

and swipe out a small window like this:

Image

Most of the prompt area is blocked by the title bar of the TEdit window. Next, print something into the prompt area:

(TEDIT.PROMPTPRINT W "Hi there" T)

Now the prompt area blocks most of the TEdit title bar:

Image

If you make the TEdit window large enough both the prompt area and the title bar will show up at full size:

Image

This interaction between the prompt area and the title bar may lead to more issues when attaching a menu window to TEdit called with a title-less window. An example is documented here, where the fix was to set the window title before calling TEDIT.

This happens on both Linux Mint and Medley Online.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions