Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor does not work when showing recording area #293

Open
antonio24073 opened this issue Sep 3, 2021 · 4 comments
Open

Cursor does not work when showing recording area #293

antonio24073 opened this issue Sep 3, 2021 · 4 comments

Comments

@antonio24073
Copy link

antonio24073 commented Sep 3, 2021

In wayland, when I select record a select area, the cursor (mouse clicks) do not works in the square.
gnome 3.38.8
ubuntu 20.04.3 LTS

@seanh
Copy link

seanh commented Nov 16, 2021

Same here. If the Show a border around the area being recorded option is enabled then I cannot use the mouse cursor in the area being recorded, mouse clicks don't seem to be passed through to the app being recorded. If I turn off Show a border around the area being recorded then it does work (but then of course I have no border).

@seanh
Copy link

seanh commented Nov 16, 2021

Ubuntu 21.10 with GNOME Shell 40.5 Wayland for me

@seanh
Copy link

seanh commented Nov 16, 2021

Possible duplicates: #250, #220, #24, #7

@adangel
Copy link
Collaborator

adangel commented Nov 20, 2021

I can confirm this problem: In occurs, once the "show border around the area being record" option is selected.
Then we add a new St.Widget on top of all windows in gome-shell - this widget only draws its border. But as it is on top of everything else, it receives all events:

Main.uiGroup.add_actor(this._areaRecording);

I don't know, how I can forward the event.
E.g. with

this._areaRecording.connect("event", (actor, event) => {
    Lib.TalkativeLog(`-£- got event: ${event}`);
});

you can see the events (every mouse move, click, probably keyboard events as well).

@adangel adangel changed the title cursor not works in the selected area Cursor does not work inside recording area with border option Nov 29, 2021
@adangel adangel changed the title Cursor does not work inside recording area with border option Cursor does not work when showing recording area Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants