Skip to content

    Dialogs

    In /editor/ every dialog opens as a floating window over the canvas with a title bar, a close button (x), a drag handle on the title and a resize corner. A short yes / no question opens instead as a small box hanging from the button you pressed. Both answer the same keys: Esc cancels and Enter presses the main button.

    Where to find it

    Every dialog in /editor/ works this way: Document Properties, Preferences, Resize, the export dialogs, effect and object dialogs, and every yes / no question.

    How to answer a settings dialog

    1. Change the fields. Where the foot has a Preview switch, turn it on to see the change on the canvas before you commit.
    2. Click OK (the one filled button) to apply, or Cancel to put everything back.
    3. Or press Enter for OK, or Esc for Cancel.

    How to answer a yes / no question

    1. Read the question in the small box under the button you pressed.
    2. Click the main button (for example New, Reset or Continue), or Cancel.
    3. Or press Enter for the main button, or Esc for Cancel.

    How to move a dialog

    1. Drag the window by its title bar.
    2. The next time that dialog opens, it opens where you left it.

    Options

    Control What it does Values Default
    ok OK (or the dialog’s own word) applies and closes. filled button, the only filled one none
    cancel Cancel closes and undoes a live preview. button none
    preview Preview shows the result on the canvas while the dialog is open. It is first in the foot. switch, on or off per dialog
    close The x in the title bar does the same as Cancel. title-bar button none
    number-step The stepper at the left of a number field. Tooltips: “Increase (Up arrow; Shift: x10)” and “Decrease (Down arrow; Shift: x10)”. The top half goes up and the bottom half goes down. Held, it repeats. stepper none

    Keys

    Keys When What happens
    Esc A dialog window is on top Presses its Cancel button. With no Cancel button, it closes the window. A window that leaves the canvas usable answers only when the focus is inside it.
    Enter A dialog window is on top Presses its main button. A focused field is committed first. Enter on a focused button presses that button. Enter in a multi-line text box types a new line.
    Tab / Shift+Tab A modal dialog Moves round the dialog’s own controls only
    Esc A yes / no box Its Cancel or No. On a notice, its one button.
    Enter A yes / no box The focused button, else the main button
    Tab A yes / no box Stays inside the box
    Up / Down arrow, Shift for x10 A number field with a stepper Changes the number

    Limits

    • There are three kinds of window, decided per dialog title:
      • Settings: Document Properties, Preferences, tool options, Batch Export, Place Image and most dialogs with OK and Cancel. A press on the canvas, a tool switch or a change of selection by you cancels it.
      • Managers and viewers: Links, XML Editor, libraries, Fonts, Filter Gallery, About and others. There is no scrim and the canvas stays usable. Esc and Enter answer only from inside the window.
      • Yes / no: New Document, New document, Reset Preferences, Switch processor, Share and others. This is the small anchored box.
    • A modal window lays a light scrim (12% black) over the editor. A press on the scrim is the dialog’s Cancel and reaches nothing under it.
    • While a modal window is up, keys typed outside a field (tool letters, Delete, arrows, Ctrl+Z) do not reach the canvas.
    • An open dropdown or menu inside a dialog takes Enter, Esc and the arrows first. Esc then closes only the dropdown.
    • A dialog opened from a dialog opens above it. The top one owns the keys.
    • A window never leaves the screen. It is at most the window size less 8 px on each side, and its body scrolls.
    • The position you drag a dialog to is kept per dialog title in this browser.
    • The yes / no box is 280 px wide (400 px for the newer question style with an icon). A press outside it is Cancel. A press on the canvas is eaten and selects nothing.
    • A greyed row in a dialog is drawn faded. Its controls take no press, scrub, wheel or key, and its tooltip says why.
    • Some dialogs have no Cancel because they apply every change at once: Document Properties, Preferences and the Resize window. Esc and the x only close them.

    See also