SB buttons problem

Hi!,

I've tried to config three new "buttons" with this lines:

-- Add custom configuration here, e.g.:
-- config.set("shortWikiLinks", false)
actionButton.define {
icon = "pen-tool",
command ="Journal: Today",
priority = 2,
description = "Diario de HOY",
}
actionButton.define {
icon = "search",
command = "Silversearch: Search",
description = "Búsqueda",
}
actionButton.define {
icon = "activity",
description = "ToDo page",
run = function()
editor.navigate("TAREAS")
end
}

Then some "main buttons" (from Library/Std/Config) don't appear.

  • Is there any way to set and order / priority on it?.
  • Is there any "limit" in the number of buttons?

Regards.

I've tried your code, and the buttons just appear for me, and nothing dissappears. With your buttons included I have 14 buttons, so the limit, if any, sits above that.

In terms of priority, you included priority for your Journal: Today button, that is the way to go. You can also use decimal values, so 2.1 also works.

Also, do you have this code written in a

```space-lua
— your code here
```

Block?

OK, all fixed.
But the results are not the same on Firefox and Vivaldi browsers. Vivaldi shows "all my buttons" and Firefox doesn't.

Thanks all for helping!.

Hi, did you try the latest stable version of both browsers to see if it's some kind of known issue that has been fixed already? You should mention the browser versions + OS version you are using.

  • Firefox 154.0.1
  • Vivaldi 8.1.4087.75
  • Linux: Zorin OS 18.1 Core

But same situation with Linux Mint on my other device, could send more information if you need.

Regards.

That version is outdated. Current version is 155.0.1. If this is not a typo, you should update Firefox and try again.

This doesn't sound like a version issue. Maybe something failed during indexing. You can try to run the Space: Reindex command and when that's done reload to see if it helps. If not, have a look at the browser's JavaScript console to see if you can find any obvious errors there.