RSS/Atom feed Twitter
Site is read-only, email is disabled

screenshot with mousepointer

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

12 of 14 messages available
Toggle history

Please log in to manage your subscriptions.

screenshot with mousepointer The Peach 18 Oct 15:59
  screenshot with mousepointer Sven Neumann 18 Oct 16:10
1192722562.4802.30.camel@be... 07 Oct 20:25
  screenshot with mousepointer The Peach 18 Oct 18:10
   screenshot with mousepointer Sven Neumann 18 Oct 18:19
1192724138.4802.40.camel@be... 07 Oct 20:25
  screenshot with mousepointer The Peach 18 Oct 18:26
   screenshot with mousepointer Sven Neumann 18 Oct 18:38
    screenshot with mousepointer The Peach 18 Oct 18:44
     screenshot with mousepointer The Peach 25 Oct 17:27
      screenshot with mousepointer The Peach 25 Oct 17:32
       screenshot with mousepointer GSR - FR 25 Oct 18:56
        screenshot with mousepointer Sven Neumann 26 Oct 08:17
         screenshot with mousepointer Sven Neumann 27 Oct 14:12
The Peach
2007-10-18 15:59:29 UTC (about 17 years ago)

screenshot with mousepointer

is it possible that the only tool that will make screenshots including the mouse pointer is kscreenshot, while the GIMP can't???

Sven Neumann
2007-10-18 16:10:20 UTC (about 17 years ago)

screenshot with mousepointer

Hi,

On Thu, 2007-10-18 at 15:59 +0200, The Peach wrote:

is it possible that the only tool that will make screenshots including the mouse pointer is kscreenshot, while the GIMP can't???

If you say so... Feel free to contribute a patch.

Sven

The Peach
2007-10-18 18:10:55 UTC (about 17 years ago)

screenshot with mousepointer

On Thu, 18 Oct 2007 17:49:22 +0200 Sven wrote:

If it was that simple, we would have added support for it already. As far as I know there is no portable way to access the cursor graphics. Perhaps you should have a look at kscreenshot and check what they are doing.

gnome-screenshot does not grab the mouse pointer? anyway what I was saying is that as long as I've looked, the only way IMHO is to grab the cursor pixmap with gdk_cursor_get_image, get the cursor's coordinates (don't know how to do that) and then "paste" (neither don't know what will be more handy) onto the desktop grabbed at the right coordinates. is there a bettere way? Did I say something wrong?

PS: I always forget to check the recipient list :-\

Sven Neumann
2007-10-18 18:19:36 UTC (about 17 years ago)

screenshot with mousepointer

Hi,

On Thu, 2007-10-18 at 18:10 +0200, The Peach wrote:

anyway what I was saying is that as long as I've looked, the only way IMHO is to grab the cursor pixmap with gdk_cursor_get_image, get the cursor's coordinates (don't know how to do that) and then "paste" (neither don't know what will be more handy) onto the desktop grabbed at the right coordinates.
is there a bettere way? Did I say something wrong?

You can only access your own cursor that way (that of the screenshot plug-in). The point of a screenshot application is though to grab screenshots of other applications. gdk_cursor_get_image() won't work for that.

Did you check if kscreenshot does actually show the correct cursor? I suspect what they are doing is to simply paste a default cursor image on the screenshot. You can already do that easily in GIMP after you have taken the screenshot.

Sven

The Peach
2007-10-18 18:26:41 UTC (about 17 years ago)

screenshot with mousepointer

On Thu, 18 Oct 2007 18:15:38 +0200 Sven wrote:

Hi,

On Thu, 2007-10-18 at 18:06 +0200, The Peach wrote:

anyway what I was saying is that as long as I've looked, the only way IMHO is to grab the cursor pixmap with gdk_cursor_get_image, get the cursor's coordinates (don't know how to do that) and then "paste" (neither don't know what will be more handy) onto the desktop grabbed at the right coordinates.
is there a bettere way? Did I say something wrong?

You can only access your own cursor that way (that of the screenshot plug-in). The point of a screenshot application is though to grab screenshots of other applications. gdk_cursor_get_image() won't work for that.

so the only way I can get the right cursor image is using the screenshot for the whole desktop, where the GIMP mouse cursor will not be overridden by the screenshot selector cursor. isn't it? this maybe can be avoided if there's a way to wait _after_ having selected the region/window to grab in this case you can return the GIMP cursor. More than that this can help someone to grab desktop sections/windows while using them.

Can we please have such discussions on the list. That's what a developer mailing-list is for.

sorry for such a mess, that's my fault: I started replying to you instead to the ml.

Sven Neumann
2007-10-18 18:38:46 UTC (about 17 years ago)

screenshot with mousepointer

Hi,

On Thu, 2007-10-18 at 18:26 +0200, The Peach wrote:

so the only way I can get the right cursor image is using the screenshot for the whole desktop, where the GIMP mouse cursor will not be overridden by the screenshot selector cursor. isn't it?

No, that is not going to work. The screenshot plug-in simply has no way to get the cursor image set by other applications. X11 doesn't provide an API for this. At least not as far as I know. If you can show that it can be done, fine. Otherwise it is futile to discuss this further.

Sven

The Peach
2007-10-18 18:44:06 UTC (about 17 years ago)

screenshot with mousepointer

On Thu, 18 Oct 2007 18:38:46 +0200 Sven wrote:

At least not as far as I know. If you can show that it can be done, fine. Otherwise it is futile to discuss this further.

thanks alot anyway, I'd see if there's anything around...

The Peach
2007-10-25 17:27:30 UTC (about 17 years ago)

screenshot with mousepointer

On Thu, 18 Oct 2007 18:44:06 +0200 The wrote:

thanks alot anyway, I'd see if there's anything around...

I'm currently investigating how does xvidcap work for single frame acquisition.

The Peach
2007-10-25 17:32:45 UTC (about 17 years ago)

screenshot with mousepointer

On Thu, 25 Oct 2007 17:27:30 +0200 The wrote:

xvidcap

no way... it uses just a common pointer placed into the acquired canvas. :(

GSR - FR
2007-10-25 18:56:43 UTC (about 17 years ago)

screenshot with mousepointer

Hi,
smartart@tiscali.it (2007-10-25 at 1732.45 +0200):

On Thu, 25 Oct 2007 17:27:30 +0200 The wrote:

xvidcap

no way... it uses just a common pointer placed into the acquired canvas. :(

Looked at XFixes X11 extension? I think all the apps that show the correct pointer shape use that extension to copy the pixmaps and then stamp them in the final image/video.

GSR

Sven Neumann
2007-10-26 08:17:59 UTC (about 17 years ago)

screenshot with mousepointer

Hi,

On Thu, 2007-10-25 at 18:56 +0200, GSR - FR wrote:

Looked at XFixes X11 extension? I think all the apps that show the correct pointer shape use that extension to copy the pixmaps and then stamp them in the final image/video.

Good point. The XFixes extension seems to have code to do this. GetCursorImage() looks like what we need. So this could be a nice addition to the screenshot plug-in for 2.6. Any volunteers?

http://webcvs.freedesktop.org/xlibs/FixesExt/protocol?view=markup

Sven

Sven Neumann
2007-10-27 14:12:33 UTC (about 17 years ago)

screenshot with mousepointer

Hi,

just to let you know, I've cooked up a patch for including the mouse pointer in screenshots:

http://bugzilla.gnome.org/show_bug.cgi?id=490779

This patch will be applied as soon as we have branched for 2.6. At that point we can then look at it again and discuss the details that arise from this change.

Sven