Skip to content

Overlays ​

anchored, out of flow, on top. The ui-gallery page Overlays, painted with no terminal and no window at each of the documented profiles:

bash
ui-gallery --render --page overlays --profile full|enhanced|baseline
 sparkles:ui anchored, out of flow, on top                                          tokyo-night 
   Welcome           ▕ Overlays · anchored, out of flow, on top                                █
   Primitives        ▕                                                                         █
   Layout            ▕                                                                         █
   Tracks            ▕ A popup is written as a child of what it hangs off. Layout takes it out █
   Text              ▕ of its parent's flow and places it against the parent; the display list █
   Themes            ▕ paints it after everything else, outside every clip it was written      █
   Slots             ▕ inside; and the hit list puts it last, so it wins the cells it covers.  █
   Decoration        ▕                                                                         █
   Effects           ▕ ┌─────────────────────────────────────────────────────────────────────┐ █
   Grid              ▕ │ a menu wider than its pane                                          │ █
   Components        ▕ │ files         │preview                                              │ █
   Tree              ▕ │ ▾ actions     │the neighbouring pane                                │ █
   Property tree     ▕ │ ╭───┴────────────────╮                                              │ █
   Table             ▕ │ │rename              │                                              │ █
   Scrolling         ▕ │ │duplicate           │                                              │ █
   State             ▕ │ │move to trash       │                                              │ █
   Split             ▕ │ ╰────────────────────╯                                              │ █
   Dock              ▕ │               │                                                     │ █
 ▸ Overlays          ▕ └─────────────────────────────────────────────────────────────────────┘ █
   Terminal          ▕                                                                         █
                     ▕ ┌─────────────────────────────────────────────────────────────────────┐ █
                     ▕ │ the last click                                                      │ █
                     ▕ │ went to          nothing yet                                        │ ░
                     ▕ │ item             —                                                  │ ░
                     ▕ └─────────────────────────────────────────────────────────────────────┘ ░
                     ▕                                                                         ░
                     ▕ ┌─────────────────────────────────────────────────────────────────────┐ ░
                     ▕ │ the bands, bottom to top                                            │ ░
                     ▕ │ adorn            decoration over content: the dock's drop hint      │ ░
                     ▕                                                                          
 pages                                                                          ? keys   q quit 
 sparkles:ui anchored, out of flow, on top                                          tokyo-night 
   Welcome           ▕ Overlays · anchored, out of flow, on top                                █
   Primitives        ▕                                                                         █
   Layout            ▕                                                                         █
   Tracks            ▕ A popup is written as a child of what it hangs off. Layout takes it out █
   Text              ▕ of its parent's flow and places it against the parent; the display list █
   Themes            ▕ paints it after everything else, outside every clip it was written      █
   Slots             ▕ inside; and the hit list puts it last, so it wins the cells it covers.  █
   Decoration        ▕                                                                         █
   Effects           ▕ ┌─────────────────────────────────────────────────────────────────────┐ █
   Grid              ▕ │ a menu wider than its pane                                          │ █
   Components        ▕ │ files         │preview                                              │ █
   Tree              ▕ │ ▾ actions     │the neighbouring pane                                │ █
   Property tree     ▕ │ ╭───┴────────────────╮                                              │ █
   Table             ▕ │ │rename              │                                              │ █
   Scrolling         ▕ │ │duplicate           │                                              │ █
   State             ▕ │ │move to trash       │                                              │ █
   Split             ▕ │ ╰────────────────────╯                                              │ █
   Dock              ▕ │               │                                                     │ █
 ▸ Overlays          ▕ └─────────────────────────────────────────────────────────────────────┘ █
   Terminal          ▕                                                                         █
                     ▕ ┌─────────────────────────────────────────────────────────────────────┐ █
                     ▕ │ the last click                                                      │ █
                     ▕ │ went to          nothing yet                                        │ ░
                     ▕ │ item             —                                                  │ ░
                     ▕ └─────────────────────────────────────────────────────────────────────┘ ░
                     ▕                                                                         ░
                     ▕ ┌─────────────────────────────────────────────────────────────────────┐ ░
                     ▕ │ the bands, bottom to top                                            │ ░
                     ▕ │ adorn            decoration over content: the dock's drop hint      │ ░
                     ▕                                                                          
 pages                                                                          ? keys   q quit 
 sparkles:ui anchored, out of flow, on top                                          tokyo-night 
   Welcome           | Overlays * anchored, out of flow, on top                                #
   Primitives        |                                                                         #
   Layout            |                                                                         #
   Tracks            | A popup is written as a child of what it hangs off. Layout takes it out #
   Text              | of its parent's flow and places it against the parent; the display list #
   Themes            | paints it after everything else, outside every clip it was written      #
   Slots             | inside; and the hit list puts it last, so it wins the cells it covers.  #
   Decoration        |                                                                         #
   Effects           | +---------------------------------------------------------------------+ #
   Grid              | | a menu wider than its pane                                          | #
   Components        | | files         |preview                                              | #
   Tree              | | v actions     |the neighbouring pane                                | #
   Property tree     | | +---+----------------+                                              | #
   Table             | | |rename              |                                              | #
   Scrolling         | | |duplicate           |                                              | #
   State             | | |move to trash       |                                              | #
   Split             | | +--------------------+                                              | #
   Dock              | |               |                                                     | #
 > Overlays          | +---------------------------------------------------------------------+ #
   Terminal          |                                                                         #
                     | +---------------------------------------------------------------------+ #
                     | | the last click                                                      | #
                     | | went to          nothing yet                                        | |
                     | | item             -                                                  | |
                     | +---------------------------------------------------------------------+ |
                     |                                                                         |
                     | +---------------------------------------------------------------------+ |
                     | | the bands, bottom to top                                            | |
                     | | adorn            decoration over content: the dock's drop hint      | |
                     |                                                                          
 pages                                                                          ? keys   q quit 

What each profile gives up ​

The frame's degradation report: one line per substitution, and the capability the target lacked. full is empty when the page asks for nothing a terminal cannot do.

text
radius-as-glyph ×1 (radius)
shadow-dropped ×1 (shadow)
alpha-flattened ×11 (alpha)
text
color-folded ×85 (colorDepth)
radius-as-glyph ×1 (radius)
shadow-dropped ×1 (shadow)
alpha-flattened ×11 (alpha)
text
color-dropped ×85 (colorDepth)
ascii-border ×5 (unicode)
ascii-scrollbar ×1 (unicode)
ascii-glyph ×12 (unicode)
radius-dropped ×1 (radius)
shadow-dropped ×1 (shadow)
alpha-flattened ×11 (alpha)

These are the files dub test :ui-gallery compares every render against, so a change to this page that is not re-blessed fails CI.

A click past the pane ​

The files pane's menu is wider than the pane and hangs over the divider into the preview. The page tells the dock where the menu painted, so a click on the part over the preview goes to the files pane and the item under it (anchored overlays LYR5). This is that frame after one click on duplicate, right of the divider:

bash
ui-gallery --render-plain --page overlays --window-width 100 --window-height 34 --clicks 42,15
text
 sparkles:ui anchored, out of flow, on top                                              tokyo-night
   Welcome           ▕ Overlays · anchored, out of flow, on top                                    █
   Primitives        ▕                                                                             █
   Layout            ▕                                                                             █
   Tracks            ▕ A popup is written as a child of what it hangs off. Layout takes it out of  █
   Text              ▕ its parent's flow and places it against the parent; the display list paints █
   Themes            ▕ it after everything else, outside every clip it was written inside; and the █
   Slots             ▕ hit list puts it last, so it wins the cells it covers.                      █
   Decoration        ▕                                                                             █
   Effects           ▕ ┌─────────────────────────────────────────────────────────────────────────┐ █
   Grid              ▕ │ a menu wider than its pane                                              │ █
   Components        ▕ │ files         │preview                                                  │ █
   Tree              ▕ │ ▾ actions     │the neighbouring pane                                    │ █
   Property tree     ▕ │ ╭───┴────────────────╮                                                  │ █
   Table             ▕ │ │rename              │                                                  │ █
   Scrolling         ▕ │ │duplicate           │                                                  │ █
   State             ▕ │ │move to trash       │                                                  │ █
   Split             ▕ │ ╰────────────────────╯                                                  │ █
   Dock              ▕ │               │                                                         │ █
 ▸ Overlays          ▕ └─────────────────────────────────────────────────────────────────────────┘ █
   Terminal          ▕                                                                             █
                     ▕ ┌─────────────────────────────────────────────────────────────────────────┐ █
                     ▕ │ the last click                                                          │ █
                     ▕ │ went to          the files pane                                         │ █
                     ▕ │ item             duplicate                                              │ █
                     ▕ └─────────────────────────────────────────────────────────────────────────┘ █
                     ▕                                                                             ░
                     ▕ ┌─────────────────────────────────────────────────────────────────────────┐ ░
                     ▕ │ the bands, bottom to top                                                │ ░
                     ▕ │ adorn            decoration over content: the dock's drop hint          │ ░
                     ▕ │ popup            menus, dropdowns, dialogs; the dismissal stack         │ ░
                     ▕ │ hint             tooltips and hover cards                               │ ░
                     ▕
 pages                                                                              ? keys   q quit