This forum has been archived. All content is frozen. Please use KDE Discuss instead.

This sounds so simple but I can't figure it out - plz help!

Tags: None
(comma "," separated)
User avatar
repomeister
Registered Member
Posts
4
Karma
0
Hi All! I am a recent Photoshop convert and am trying to re-learn my workflow. I cannot for the life of me figure out how to get the current x/y coordinates of my cursor. I have spent a lot of time going through menus and settings and Googling but have come up empty. So - how do I configure Krita so it will tell me where my cursor is at (x, y coordinates)? This is also necessary for when you have an extremely large image shrunken down and you need to position the cursor at 1,1 but cannot see that when you have the image zoomed out.

In a similar vein, how do you tell Krita to constrain your selection rectangle to stay inside the actual canvas? I take the blame for being the dummy who can't find this if someone would please point me in the right direction.

Thanks for any help!

Last edited by repomeister on Wed Oct 09, 2019 9:48 pm, edited 2 times in total.
ghevan
Registered Member
Posts
178
Karma
1
OS
to show cursor position coordinates you have to modify kritarc file to include
Code: Select all
EnablePositionLabel=true
in the main section. Kritarc file can be located in https://docs.krita.org/en/KritaFAQ.html ... figuration

Afair it is not possible to constrain selection (drag action) of the selection to limit to current canvas. But there is a workaround. Use selection in "intersect" mode, and before doing the selection do "Select all" (Ctrl + A) and then select. This will limit your selection to the visible canvas. This of course only work for the first selection made after selecting all. Anothe option, less quirky is to snap selection to document boundaries: Shift + S, a menu appears, select "Document boundaries" Selection will snap to your document edges making selection to canvas only content much easier. (this works well only for rectangular and polygonal tools). I think we don't limit selection to boundaries as painting does in fact bleed outside the visible canvas.


User avatar
Snudl
Registered Member
Posts
63
Karma
2
OS
You can use View > Snap to > Snap Image Bounds (also in Shift+S) to more easily grab the borders, though this should already be enabled by default. Snapping works in many of the tools.

I just encountered a strange issue where no snapping would work for me anymore. If that is happening to you as well, the solution was to reset the Krita config file: https://docs.krita.org/en/KritaFAQ.html ... figuration

Also there is a logic behind allowing selections beyond the image border - Krita doesn't cut off the contents of layers beyond the canvas border, they can have much larger dimensions than what is visible, and dynamically adjust when parts get added or erased / cleared.
User avatar
repomeister
Registered Member
Posts
4
Karma
0
ghevan wrote:to show cursor position coordinates you have to modify kritarc file to include
Code: Select all
EnablePositionLabel=true
in the main section. Kritarc file can be located in https://docs.krita.org/en/KritaFAQ.html ... figuration

I do have "krita" directory in appdata/local but it contains no config files. Do I manually create this file or is it maybe located somewhere else? I am using version 4.2.5
edit: NVM - I found it! I took it upon myself to ignore the path you gave and look for the file under the Krita folder. Thanks for this solution!

Snudl wrote:Also there is a logic behind allowing selections beyond the image border - Krita doesn't cut off the contents of layers beyond the canvas border, they can have much larger dimensions than what is visible, and dynamically adjust when parts get added or erased / cleared.

That makes sense - I hadn't thought of that. Either Photoshop didn't have that feature or the way I configured it removed that behaviour and that is all I can remember.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]