I’ve been using a new view as a real-time overview for a long time. Then I’m tired of having to manually window the new view and check the “stay on top” box every time, so I asked Python to do create new view → windowing → check “stay on top” all at once.
This is a simple script I wrote for myself (referencing the source code of the Subwindow Organizer), which I then made into a plugin because I wanted to share it with non-programmer Krita users.
At the reminder of @raghukamath , I updated the plugin and now it can bind shortcuts. (v1.1)
It will be automatically disabled if no document is open, I don’t know how this happens but it makes perfect sense
There’s no default shortcut, Ctrl+5 is assigned by me during testing.
You can find the source code, readme and the script version of it on my github / bitbucket
Awesome plugin. Does it make it available as a shortcut action in the keyboard setting, that would make it easier and doing this would be a shortcut key away.
Thank you for your feedback, I’ll spare some time to implement this feature, which shouldn’t take long.
Meanwhile, you can take a look at the code block in the “Other” section of the readme page (either of the two links). Save the entire code to a .py file, say wnv.py, and then by using krita’s built-in script “Ten scripts”, you can bind a shortcut to wnv.py. It does exactly the same thing as the plugin. I’ve just tested it and it works.
I just found this plugin, and I love it. The only possible bug that I found it that it does not work on images that were made before I installed this plugin. When I try to use it, the plugin is greyed out and does not open. If it is a new document, it does work as intended. Is there a way to fix this?
Could you check if a layer group is being selected when you open an image? Based on my experience, the script options only greyed out when a layer group is currently selected (or when no image is open). If that’s the case, you can first selecting a normal paint layer from the Layers panel and then use the plugin. EDIT 1day later: v1.2 fixed this issue. See the discussion below
I think this script should also work for previously created images. If the problem is not solved, please let me know more information.
In your .action file, there is an ActivationFlag set:
<activationFlags>10000</activationFlags>
According to the list in kis_action.h, this flag corresponds with a vector selection being active. Apparently that is why it doesn’t work when a group layer is selected? I’m not sure of the connection between those two things.
You may want to change the flag to 0001, which would allow activating the shortcut as long as an image is open.
very useful,thanks @Cliscylla
Is there a way to separate this window from the main screen of Krita and move it to the second monitor? (without opening a new krita)
In case there is no other way to place this floating window and if your monitors are identical in pixel-height, then you can stretch Krita in width on both monitors, or, if arranged accordingly, also in height. Because it uses windows from Krita’s sub-window-mode, I would say you can place it freely in the area you can place sub-windows.
The simplest and fastest way to find out such things is to check them out for yourself.
Michelist
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. Then you would find out that you need to widen your Krita over to the next display, because the window can only be placed in the area occupied by Krita’s main-window …
I know this. Then all dockers and toolbars icons stretch towards the 2nd screen. I share an example of this in clip studio. maybe it will give someone an idea.
God damn, such a good plugin, Thanks!!! If it’s not too much trouble, I would like you to add an option to add a layer of filters to the new window without modifying the original document. For example to be able to see the black and white values of the drawing in real time, that would be incredible
Hey, thank you very much for the plugin! Works great
I’m also a fan of Saito-sensei and needed this to set up my workspace according to his guidance. Having this on a key bind is super helpful.
I’m still a bit on the fence if it’s better to have a floating view subwindow or a completely separate window that I could move to a second monitor or place alongside other apps, such as BeeRef. For now I’ll continue with the view and see how it feels.