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

Middle Mouse Button Click Causes issues clicking on items and opening #375

Closed
SomeMex opened this issue Oct 25, 2021 · 6 comments · Fixed by #624
Closed

Middle Mouse Button Click Causes issues clicking on items and opening #375

SomeMex opened this issue Oct 25, 2021 · 6 comments · Fixed by #624
Assignees

Comments

@SomeMex
Copy link

SomeMex commented Oct 25, 2021

Describe the bug
I am using the provided Remotely app, this is not self hosted. I am using Brave Browser, have also tested under chrome.

When I go to close a tab on a browser I use the middle mouse button (scroll wheel) to close. After trying this through the remotely app it suddenly prevents right click from working. Then when clicking with left click it starts to do the action that middle mouse click would do and it can't be undone.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any session and open remote control
  2. Click the middle mouse button on a browser
  3. Try to open a tab or bookmark or close the tab with middle mouse button.
  4. See error

Remotely Version
Server Version: 2021.09.25.0929:
Agent 2021.09.25.0929:

Expected Behavior
Be able to use middle mouse button use.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 11 (Remote Machine) - Accessing from Windows 10
  • Browser: Chrome & Brave
  • Version: Chrome: 95 - Brave: 1.31.87

Additional Context
Add any other context about the problem here.

@Web2FixOy
Copy link

Yes, the same issue here.
When using the middle mouse click, which I use frequently as a shortcut for example to add delete a browser tab.
Behavior after mouse middle click:
After clicking using middle button of the mouse, in about 5 -15 seconds after the click the remote session becomes unresponsive.

I found a workaround (for windows 10 remote machines):
I know this is not the correct way to solve the issue, but just to be able to get access to the remote machine again and being able to control that machine, use the "CTL +ALT + DEL" button from the admin panel's left menu,
then try to move your mouse over the "Cancel" btn and click on "cancel"

Once done you can regain control over the remote pc.

#thank_you
#love_the_software

@moduletz
Copy link

Same issue here.

@MazixM
Copy link

MazixM commented Apr 17, 2023

Hi. Go to this file InputEventHandlers.ts (https://github.com/immense/RemoteControl/blob/master/Server/wwwroot/src/InputEventHandlers.ts) and you can change code from:

      if (e.button != 0 && e.button != 2) {
                return;
            }

to:

      if (e.button != 0 && e.button != 1 && e.button != 2) {
                return;
            }

That works for me.
Let me know if it helps.

@bitbound
Copy link
Contributor

I'll add this in the next release.

@bitbound bitbound self-assigned this Apr 17, 2023
@bitbound
Copy link
Contributor

This should be fixed in the experimental tag:

docker pull immybot/remotely:experimental

I'll keep this open until the latest image is updated. Probably next week. I'll also do a GitHub release at the same time.

@bitbound bitbound linked a pull request May 3, 2023 that will close this issue
@bitbound
Copy link
Contributor

bitbound commented May 3, 2023

This should be fixed in the latest release.

@bitbound bitbound closed this as completed May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants