#4488·noctalia

[BUG] isVertical is not honored on first load of render container on noctalia bar

Author: ViSovereignCreated Sep 18, 2026Updated Sep 19, 2026
Labelsbugarch-basedumbriel

Submission checklist

  • I have searched existing issues and confirmed this is not a duplicate.
  • I am using the latest available version of Noctalia.

Bug description

i have a vertical bar and am using the Shelly plugin. (Bar Label setting is set to count only for screenshots but present with default settings) I see the plugin renders via the code below:

local function render()
  local container = barWidget.isVertical() and ui.column or ui.row

  local count = countUpdates(updates)

  barWidget.render(container({ gap = 6, align = "center", visible = not hideWhenUpToDate or count > 0 }, {
    ui.glyph({ name = glyph, size = glyphSize, color = glyphColor, visible = glyph ~= "" }),
    ui.label({ text = barLabelType == "count_only" and string.format("%d", count) or noctalia.trp("bar.text.updates", count), color = color, fontSize = barFontSize }),
  }))

  updateTooltip(count)
end

On first load, the glyph is next to the script. If I open and save widget.luau, the hot reload of plugin files places the text below the glyph which is the intended position. This last until noctalia is closed.

to the right, to the right. everything you own is text to the right Image

the way the vertical gods intended after save Image

Steps to reproduce

  1. Make a vertical bar
  2. Install shelly plugin and add it to the bar.
  3. kill and launch noctalia.
  4. (if you see the text to the right, this is not a "me issue" lol)
  5. open the shelly widget.luau and save it, triggering the hot reload of plugin.

Expected behavior

I would expect the text to be under the glyph

Actual behavior

The text is to the right of the glyph like a monster

Logs / error output

i didn't see any errors in the logs

Noctalia version

v5.1.0

Compositor

Umbriel

Distribution

Arch-based

Environment information

nvidia GPU, AMD cpu, installed from cachyos repository

Additional context

lysec cant be mad, i have an uno reverse card in my back pocket.