Display the current layer name on Status Bar

Krita’s status bar shows some useful info:

image

However, I think the most important information is left out here, which is the name of the current layer. “Oops painted on the wrong layer” is the eternal foe to digital artists. It would be especially helpful in canvas-only mode.

(By the way I think the current layer name is much more important than current brush name.)

I love your idea of showing the active layer name (but I also love seeing the brush name so perhaps they could be side-by-side).

PS You can vote for your own feature request.

I’m also facing the “Oops painted on the wrong layer” situation and looking for similar stuff. While IMO if we can’t pay attention to the highlight on the layer panel, we will likely forget to notice the layer name on the status bar.

It’s possible to show the current layer name to the status bar via the scripting API, at least, we can achieve:

  1. Get the current selected layer name: Krita.instance().activeDocument().activeNode().name()
  2. Get the status bar: Krita.instance().activeWindow().qwindow().statusBar()

I didn’t look too deeply to know if there is a signal that tell us the current selected layer is changed, if so, we could connect to that signal, and show/update the layer name on status bar.

I personally actually would like to add a “watermark” or “overlay” sort of stuff that only visible when a layer is selected btw, which could forces me to pay attention that I am on a “lineart/draft” layer, but I’m not sure if the current scripting API can achieve that…

It should be easy to modify this tiny plugin to show current layer in status bar.

/AkiR

Yeah but I use Canvas-only mode mostly. It’s not that I don’t pay attention to the highlight on the layer panel. It’s the layer panel is a distraction for me: once the layer structure is settled down, I no longer need the whole panel. I only need to know which layer I’m at.

This might be a good idea though. In Canvas-only mode, when I switch the layer (via PageUp/PageDow, for example), there is a little overlay showing which layer I’m switching to at the top left corner. If there is an option to make this overlay persistent and more transparent, it’d solve this issue. But I personally prefer Status Bar.

Hallo! I’ve made a Krita Python Script called “Custom Status Bar” that allows displaying just about any information exposed through the Krita scripting API:

Here’s an example showing the Document Color Model, Layer Name and whether a Selection is currently Active:

Example screenshot of “RGBA” for the Document Color Model, “Paint Over” for the Layer Name and “OFF” for the Selection Active state in the Krita status bar instead of the default Brush + Color Profile combo; it also has the mascot of the Racoon attack with some graffiti in the main drawing view

It can be pretty freely configured, even if I’m not quite happy how V1 of the Settings screen turned out. It’s a bit a hassle to drag up and down the items now that there’s… ¡61! of them them!? (I really only just now counted! :laughing:)

Also, I wanted to ask @AkiR for permission to use and distribute your source code from Script to display active brush settings in status bar - #2 by AkiR as it doesn’t come with any licensing information, I originally used that as a basis even if hardly anything of it remains. (I already distributed my greatly updated version, I hope that’s OK!)

Good that you have found use of my tiny plugin. You have my blessing to use the code, code that I write on this forum is intended to be freely used → MIT License.

/AkiR