Post Reply 

Focus cursor

Sep 24, 2013, 13:09
Post: #1
Focus cursor
For a new feature in the next release of GIMP, I suggest creating a focus cursor which operates as in Blender, able to be moved around the image with X,Y coordinates. This will allow changes in zoom to center around the cursor / indicated area.

Blessings....

Best regards,
Rick C. Hodgin
Find all posts by this user
Quote this message in a reply
Sep 25, 2013, 23:35 (This post was last modified: Sep 26, 2013 00:29 by foxmuldr.)
Post: #2
RE: Focus cursor
It's not the same. You have to manually move around each time scale changes. With a focus cursor, the center of the image is always the same. In addition, pasted objects are always added at the same place.

Added a feature request on bugzilla.gnome.org. Thank you.

https://bugzilla.gnome.org/show_bug.cgi?id=708791
Find all posts by this user
Quote this message in a reply
Sep 26, 2013, 07:47
Post: #3
RE: Focus cursor
(Sep 25, 2013 23:35)foxmuldr Wrote:  It's not the same. You have to manually move around each time scale changes. With a focus cursor, the center of the image is always the same. In addition, pasted objects are always added at the same place....
[feature request]

It's kinda unfair to compare a 3d art program to a photo manipulation program. They are both used for different purposes, so of course its not the same lol.

watching a blender tutorial, the cursor (for the most part) keeps whatever is in focus in the center so you can rotate around it. There is an option to pan horizontally/vertically.

I also took a peek at your request, gimp (for a graphic manipulation program) does what a focus cursor is suppose to do(that arrow cross at the bottom right)

So chances are you may just need to get use to Gimp's focus cursor for now, happy gimping ^_^

"In order to succeed, your desire for success should be greater than fear of failure." BC
[Image: 29uocaf.png]
iFS007 tut vids on YT ~ auto color B&W landscape tut
Visit this user's website Find all posts by this user
Quote this message in a reply
Sep 27, 2013, 03:39 (This post was last modified: Sep 27, 2013 03:47 by foxmuldr.)
Post: #4
RE: Focus cursor
(Sep 26, 2013 07:47)iForStyle007 Wrote:  It's kinda unfair to compare a 3d art program to a photo manipulation program. They are both used for different purposes, so of course its not the same lol.

I used Blender as an example of something which already has the functionality so it's easy to understand.

Quote:watching a blender tutorial, the cursor (for the most part) keeps whatever is in focus in the center so you can rotate around it. There is an option to pan horizontally/vertically.

The 3D cursor in Blender allows the screen to be consistently centered around the area where the work is being peformed. This would be the purpose of the 2D cursor in GIMP.

Quote:I also took a peek at your request, gimp (for a graphic manipulation program) does what a focus cursor is suppose to do(that arrow cross at the bottom right)

There's no comparison. The 2D cursor would re-center automatically on re-zooms, whereas the existing cross requires user interaction and therefore slows down productivity because GIMP almost never re-centers properly (at least in my experience, perhaps I am doing it wrong).

Quote:So chances are you may just need to get use to Gimp's focus cursor for now, happy gimping ^_^

That's why I have it mapped out to write my own GIMP replacement after I complete my current projects (James 4:15).

Best regards,
Rick C. Hodgin
Find all posts by this user
Quote this message in a reply
Sep 27, 2013, 03:46
Post: #5
RE: Focus cursor
(Sep 26, 2013 07:18)ofnuts Wrote:  In Gimp the pasted objects are centered on the current selection mask (technically Gip takes the "bouding box" of the pasted image and centers it on the "bounding box" of the selection mask. As side effect, when you copy/paste from Gimp, your pasted copy is exactly above its source.

The issue I have is that when I am zooming in/around the image to look at different parts, whenever I go to zoom in the zoom does not center even on the currently visible area. I have observed some tendencies to center where the mouse is, but it seems to only work reliably if you change tools and then zoom.

I've been workign on building a bunch of icons recently, and as I am zooming in and out for various tasks it is a constant struggle to maintain the focus area on the image without using the cross, or manually zooming around.

The focus cursor would simply be a way to position a marker on the image to indicate "this is where I want things centered when I zoom in and out". The focus cursor could be dragged around or disabled.

I haven't decided on a name for my GIMP-like replacement tool, but it may be incorporated into my WideEdit general purpose editor. It is planned that WideEdit will have this ability (James 4:15).

Best regards,
Rick C. Hodgin
Find all posts by this user
Quote this message in a reply
Sep 27, 2013, 11:21 (This post was last modified: Sep 27, 2013 11:24 by rich2005.)
Post: #6
RE: Focus cursor
Is this what you mean, sort of works in linux, PCLOS/Gimp 2.8.6, but it focuses on the viewport location of the tool.

Please excuse the wonky screen overlay to fix a location independent of Gimp.

At 100% using the paint tool at the intersection and as a base image.
http://i.imgur.com/QqXNUW6.jpg


Zooming in, it does keep the tool at the same intersection (cursor location) which since the viewport is the same happens to be the same point on the image.
http://i.imgur.com/rgPAz4Q.jpg

but zooming out you can end up outside the canvas as the viewport does not contract with the image. That is item 1 in Ofnuts quote
http://i.imgur.com/hzfcfy3.jpg

Does that make any sense, I have just written that and now I am confused. Wink

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Sep 27, 2013, 12:22
Post: #7
RE: Focus cursor
(Sep 27, 2013 09:59)paynekj Wrote:  I thought that this was a bug with the Windows version of GIMP - i.e. zooming in using the + key zooms into the centre of the image, not the current view. Watching the Meet The GIMP episodes I got the impression that it works correctly on the Linux version.

After reading Richs' post below I tried it and it works the way he describes.
Kevin

I am using Linux Mint 15 and GIMP 2.8.4.
Find all posts by this user
Quote this message in a reply
Sep 27, 2013, 12:27 (This post was last modified: Sep 27, 2013 12:31 by foxmuldr.)
Post: #8
RE: Focus cursor
(Sep 27, 2013 06:48)ofnuts Wrote:  Could be abig because the code contains this comment:
Code:
/*  Center on the mouse position instead of the display center if
     *  one of the following conditions are fulfilled and pointer is
     *  within the canvas:
     *
     *   (1) there's no current event (the action was triggered by an
     *       input controller)
     *   (2) the event originates from the canvas (a scroll event)
     *   (3) the event originates from the window (a key press event)
     *
     *  Basically the only situation where we don't want to center on
     *  mouse position is if the action is being called from a menu.
     */

The purpose of the focus cursor would be to not have to manually move the mouse around in order to zoom in/out. I think it would be better if the mouse button were clicked on the image, with a middle click or some other identifier, to indicate that I am zooming in where the mouse is, rather than require me to move the mouse to exactly the spot I want before zooming under normal navigation (i.e. all the time).

The purpose of the focus cursor would be a "set it and forget it" system which allows my mental focus to go where I need it (on my work) without me having to dance around GIMP's UI to reposition things through the cross interface, or by making sure my mouse isn't just off somewhere wherever it happened to be the last the time I stopped moving it. I want to focus on productivity and creativity, not on the mechanics of navigating a clunky UI.

Right now, for example, when I began typing this message I clicked on the input area, then moved the mouse about five screen inches up and to the right to get it out of my way so I could type. That's an automatic thing I do. When I click on certain tools with GIMP I do similar things as well. And were I to use GIMP the way its current model works (were the mouse navigation bug not there and it would re-center based on where the mouse was) then I would still be required to move my mouse pointer to where I want to zoom, or deal with the cross navigation or the scroll bars, all of which requires me constantly doing this. For certain tasks, that's just not productive, nor is it intuitive.

The focus cursor could bypass all of that extra work, making a consistent "anchor" toward my focus work area so I can deal with the work, rather than on "getting to the job site".

The focus cursor would not be useful for every pupose, but when zooming in and out repeatedly, continually working in a general area, then it is essential.

Computers (tools) should help us (people) do the things we need to do ... right? :-)
Find all posts by this user
Quote this message in a reply
Sep 28, 2013, 12:42 (This post was last modified: Sep 28, 2013 12:42 by iForStyle007.)
Post: #9
RE: Focus cursor
Ok, after that very thorough yet elaborate rehash of your issue. I'm starting to see what you want the cusor to do. But a focus cursor (zooming in and out to where you hover is a nice feature. If a middle zoom would be added as an additional option that could be turned on/off that would be nice Smile Thanks for clearing it up. Again goodluck with that option being implemented in the next build Smile maybe you can find a workaround.

I found one workaround that can give you your desired effect, if you click on the zoom level under the workspace window :
[px V] [100% V]
then click any zoom level(%) once, then arrow up or down, you'll get the desired effect.

*Please note* Even if you get your feature implemented into the magnify tool, you still need to switch back to tools to do edit by mouse or keyboard shortcuts.

I'll do a little searching in preferences but I don't guarantee I'll find much, if I do I'll update you.

"In order to succeed, your desire for success should be greater than fear of failure." BC
[Image: 29uocaf.png]
iFS007 tut vids on YT ~ auto color B&W landscape tut
Visit this user's website Find all posts by this user
Quote this message in a reply
Sep 28, 2013, 17:23
Post: #10
RE: Focus cursor
(Sep 28, 2013 12:42)iForStyle007 Wrote:  *Please note* Even if you get your feature implemented into the magnify tool, you still need to switch back to tools to do edit by mouse or keyboard shortcuts.

If I were coding it, I'd set it up so when the CTRL+ALT+SHIFT are depressed, the focus cursor stops being a watermark, and responds to mouse events, including the "X" in the upper-right to close the cursor.
Find all posts by this user
Quote this message in a reply
Sep 29, 2013, 08:48
Post: #11
RE: Focus cursor
cool, when you get around to coding it, make a video example of the finished product. cheers
Visit this user's website Find all posts by this user
Quote this message in a reply
Sep 29, 2013, 15:43
Post: #12
RE: Focus cursor
(Sep 29, 2013 08:48)iForStyle007 Wrote:  cool, when you get around to coding it, make a video example of the finished product. cheers

:-) I have plans to write a replacement for GIMP. I have other projects ahead of it, however.

Best regards,
Rick C. Hodgin
http://www.libsf.org
http://www.visual-freepro.org
Find all posts by this user
Quote this message in a reply
Sep 30, 2013, 01:38 (This post was last modified: Oct 1, 2013 02:00 by iForStyle007.)
Post: #13
RE: Focus cursor
(Sep 29, 2013 15:43)foxmuldr Wrote:  :-) I have plans to write a replacement for GIMP. I have other projects ahead of it, however.

replacement eh? lol seems Trivial Gimp is a free replacement for PS, plus you'll run into competetition with other alternative free image editors(there are a lot)

Perhaps an alternate to gimp, also if you could make it cross-platform(different operating systems) it would be more beneficial & practical as there are problems on several OSs.

*
Ask yourself this important question while designing/coding your alternative editor.
How can I make my free graphic editor stand out from all the others (features, etc.)
*

No real need to reply back to me, unless you have screenshot/video of your completed project.

thanks to edits, I have the last say lol
Visit this user's website Find all posts by this user
Quote this message in a reply
Sep 30, 2013, 23:56 (This post was last modified: Sep 30, 2013 23:58 by foxmuldr.)
Post: #14
RE: Focus cursor
(Sep 30, 2013 01:38)iForStyle007 Wrote:  replacement eh? lol seems Trivial Gimp is a free replacement for PS, plus you'll run into competetition with other alternative free image editors(there are a lot)

I came very close to writing the GIMP replacement instead of my current project. I still have plans to write it. The primary reason is because it is associated with GNU, and due to Richard Stallman's views on Necrophilia and Pedophilia, I am moving everything away from supporting GNU. It was the reason I created the Liberty Software Foundation, and began my current project.

Quote:Perhaps an alternate to gimp, also if you could make it cross-platform(different operating systems) it would be more beneficial & practical as there are problems on several OSs.

The project I am developing creates a new virtual machine. It will be ported to at least Windows, Linux, FreeBSD and Android. My goals are to write it to operate inside the VM, and in that way support any platforms to which the VM is ported.

Quote:Ask yourself this important question while designing/coding your alternative editor. How can I make my free graphic editor stand out from all the others (features, etc.)

Yup. I actually plan several new features which relate not only to the graphics end, but to a fully integrated system. My primary enemy right now is time.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  How to hide Ttiny crosshair cursor? Dartelec 0 650 Jun 11, 2017 06:33
Last Post: Dartelec
  Cursor spinning uncontrollably? :-( Help someone... itsamson 1 685 May 13, 2014 14:38
Last Post: itsamson
  tablet pen and cursor problems bee3001 6 3,782 Aug 20, 2013 07:03
Last Post: iForStyle007
  lost cursor quito0819 2 832 Aug 7, 2013 17:36
Last Post: quito0819
  Flashing Cursor sandman 2 1,852 Jul 19, 2013 17:21
Last Post: buckaroo50

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS