[GH-ISSUE #183] Clicking not working when recording Inkscape #1523

Open
opened 2026-03-01 18:46:13 +03:00 by kerem · 12 comments
Owner

Originally created by @Cornstar23 on GitHub (Sep 1, 2017).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/183

Originally assigned to: @NickeManarin on GitHub.

Clicking on buttons, menus, object, etc. sometimes does not work when recording Inkscape. See attached gif and notice the yellow highlights indicating clicking, but the buttons are not pressed.

inkscape click not working

Originally created by @Cornstar23 on GitHub (Sep 1, 2017). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/183 Originally assigned to: @NickeManarin on GitHub. Clicking on buttons, menus, object, etc. sometimes does not work when recording Inkscape. See attached gif and notice the yellow highlights indicating clicking, but the buttons are not pressed. ![inkscape click not working](https://user-images.githubusercontent.com/1291745/29972106-f0d147bc-8ef8-11e7-9e07-b8528790ec82.gif)
Author
Owner

@NickeManarin commented on GitHub (Sep 1, 2017):

Very strange... :/

<!-- gh-comment-id:326682793 --> @NickeManarin commented on GitHub (Sep 1, 2017): Very strange... :/
Author
Owner

@AdrianoCahete commented on GitHub (Oct 1, 2017):

Same as Photoshop 2017. Sometimes the first click don't work, but the others works fine.

<!-- gh-comment-id:333408893 --> @AdrianoCahete commented on GitHub (Oct 1, 2017): Same as Photoshop 2017. Sometimes the first click don't work, but the others works fine.
Author
Owner

@theJosher commented on GitHub (Oct 26, 2019):

I'll take a look at this one.

<!-- gh-comment-id:546618432 --> @theJosher commented on GitHub (Oct 26, 2019): I'll take a look at this one.
Author
Owner

@NickeManarin commented on GitHub (Oct 26, 2019):

@theJosher Thanks!

<!-- gh-comment-id:546632157 --> @NickeManarin commented on GitHub (Oct 26, 2019): @theJosher Thanks!
Author
Owner

@theJosher commented on GitHub (Oct 28, 2019):

@NickeManarin Can you point me in the direction of where the mouse events are being passed to the app? Sorry for not finding this myself, I started looking and then realized there is a LOT going on in LightWindow and RecorderWindow 😅 Thanks! btw, I've got the inkscape code compiling and added a couple of g_message() calls to see if I can track down what's happening with the mouse events. This will be fun.

<!-- gh-comment-id:546754753 --> @theJosher commented on GitHub (Oct 28, 2019): @NickeManarin Can you point me in the direction of where the mouse events are being passed to the app? Sorry for not finding this myself, I started looking and then realized there is a LOT going on in LightWindow and RecorderWindow 😅 Thanks! btw, I've got the inkscape code compiling and added a couple of g_message() calls to see if I can track down what's happening with the mouse events. This will be fun.
Author
Owner

@NickeManarin commented on GitHub (Oct 28, 2019):

@theJosher Sorry for that. 😅 It all started so simple.

Anyway, it's all in here ScreenToGif.Util.ActivityHook, line 649.

I've got the inkscape code compiling and added a couple of g_message() calls to see if I can track down what's happening with the mouse events. This will be fun.

Oh, that's nice!

<!-- gh-comment-id:546777857 --> @NickeManarin commented on GitHub (Oct 28, 2019): @theJosher Sorry for that. 😅 It all started so simple. Anyway, it's all in here `ScreenToGif.Util.ActivityHook`, line 649. > I've got the inkscape code compiling and added a couple of g_message() calls to see if I can track down what's happening with the mouse events. This will be fun. Oh, that's nice!
Author
Owner

@theJosher commented on GitHub (Oct 28, 2019):

Sorry I asked poorly - I'm mainly curious where the "hollow part" of the window does its magic. The mouse hook doesn't cause this problem, so I'm thinking that GTK is getting an event it interprets as mouse leaving the window entirely.

<!-- gh-comment-id:546934309 --> @theJosher commented on GitHub (Oct 28, 2019): Sorry I asked poorly - I'm mainly curious where the "hollow part" of the window does its magic. The mouse hook doesn't cause this problem, so I'm thinking that GTK is getting an event it interprets as mouse leaving the window entirely.
Author
Owner

@NickeManarin commented on GitHub (Oct 28, 2019):

Ahhh, sorry.

It's a combination of Background="{x:Null}", WindowStyle="None" and AllowsTransparency="True".

Background
WindowStyle and AllowsTransparency

<!-- gh-comment-id:546937041 --> @NickeManarin commented on GitHub (Oct 28, 2019): Ahhh, sorry. It's a combination of `Background="{x:Null}"`, `WindowStyle="None"` and `AllowsTransparency="True"`. [Background](https://github.com/NickeManarin/ScreenToGif/blob/e91bf02c47795d750182d8357e50a53dd313f474/ScreenToGif/Themes/Generic.xaml#L80) [WindowStyle and AllowsTransparency](https://github.com/NickeManarin/ScreenToGif/blob/e91bf02c47795d750182d8357e50a53dd313f474/ScreenToGif/Windows/Recorder.xaml#L7)
Author
Owner
<!-- gh-comment-id:546949473 --> @theJosher commented on GitHub (Oct 28, 2019): Thanks! On Mon, Oct 28, 2019 at 9:07 AM Nicke Manarin <notifications@github.com> wrote: > Ahhh, sorry. > > It's a combination of Background="{x:Null}", WindowStyle="None" and > AllowsTransparency="True". > > Background > <https://github.com/NickeManarin/ScreenToGif/blob/e91bf02c47795d750182d8357e50a53dd313f474/ScreenToGif/Themes/Generic.xaml#L80> > WindowStyle and AllowsTransparency > <https://github.com/NickeManarin/ScreenToGif/blob/e91bf02c47795d750182d8357e50a53dd313f474/ScreenToGif/Windows/Recorder.xaml#L7> > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/NickeManarin/ScreenToGif/issues/183?email_source=notifications&email_token=AADV6U2K4LOQCGL2WI4SO2DQQ3PZVA5CNFSM4DZIUXD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECMZRUI#issuecomment-546937041>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AADV6U7PDH5UZPM5Q62IMGTQQ3PZVANCNFSM4DZIUXDQ> > . >
Author
Owner

@LaureFR38 commented on GitHub (May 8, 2020):

I have exactly the same problem. I wanted to demo with Inkscape v.092 but it is not possible with ScreenToGif.
It is impossible to select the menu after clicking in the drawing area. The only solution is to take the mouse cursor out of the Inkscape software and bring it back again. But it's really painful to do this after each click on drawing zone...

<!-- gh-comment-id:625730119 --> @LaureFR38 commented on GitHub (May 8, 2020): I have exactly the same problem. I wanted to demo with Inkscape v.092 but it is not possible with ScreenToGif. It is impossible to select the menu after clicking in the drawing area. The only solution is to take the mouse cursor out of the Inkscape software and bring it back again. But it's really painful to do this after each click on drawing zone...
Author
Owner

@LaureFR38 commented on GitHub (May 8, 2020):

With the new version of Inkscape v1.0, the problem is still there but it works a little better but there are always problems with the cursor of the mouse which does not manage to update and which does not manage to do the function which associated with it.

<!-- gh-comment-id:625734222 --> @LaureFR38 commented on GitHub (May 8, 2020): With the new version of Inkscape v1.0, the problem is still there but it works a little better but there are always problems with the cursor of the mouse which does not manage to update and which does not manage to do the function which associated with it.
Author
Owner

@softyoda commented on GitHub (May 27, 2022):

Same issue with parsec

<!-- gh-comment-id:1139604995 --> @softyoda commented on GitHub (May 27, 2022): Same issue with parsec
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#1523
No description provided.