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

[BUG] Linux + Firefox: Right click breaks future left click/drag events #1644

Closed
Tracked by #1529
lonelyteapot opened this issue Sep 8, 2023 · 10 comments
Closed
Tracked by #1529
Assignees
Labels
bug This issue reports broken functionality or another error external The issue lies in a dependency or Flutter itself S: core Scoped to the core flutter_map functionality
Milestone

Comments

@lonelyteapot
Copy link
Contributor

What is the bug?

After right clicking once, the map gets permanently stuck in a state where it cannot be dragged. On left click, instead of moving, it behaves as if the user was performing a pitch&zoom gesture.

The only fix I found is to reload the page.

How can we reproduce it?

  • Visit the live demo in Firefox on a Desktop
  • Move the map using the mouse
  • Right click anywhere
  • Try to move the map again

Do you have a potential solution?

No response

Platforms

Web (Firefox; X11; Linux x64)

Severity

Obtrusive: Prevents normal functioning but causes no errors in the console

@lonelyteapot lonelyteapot added bug This issue reports broken functionality or another error needs triage This new bug report needs reproducing and prioritizing labels Sep 8, 2023
@JaffaKetchup
Copy link
Member

Unfortunately, I'm unable to reproduce on my Windows (64-bit) machine running Firefox 118.0b9 beta. I can't test on Linux right now, but I find it unlikely that the behaviour will be much different between the same browser on different OSs. For the record, I also couldn't reproduce with Chrome 118.0.5993.11 dev.

Please ping for this to be reopened if you're sure the issue only affects Linux.

@JaffaKetchup JaffaKetchup closed this as not planned Won't fix, can't repro, duplicate, stale Sep 19, 2023
@JaffaKetchup JaffaKetchup added invalid This bug could not be reproduced or does not exist, or is very low quality and removed needs triage This new bug report needs reproducing and prioritizing labels Sep 19, 2023
@lonelyteapot
Copy link
Contributor Author

lonelyteapot commented Sep 19, 2023

I've tested again on a clean installation of the same Firefox version (118.0b9).
The issue persists.

Here's a clip of moving the map holding left click:

flutter_map_issue_1644.mp4

And here is Troubleshooting Information from Firefox just in case: https://pastebin.com/UpQRhUzr

Unfortunately, I don't have any other desktop machines right now. This one is a pretty standard installation of Endeavour OS (Arch btw).

@JaffaKetchup
Copy link
Member

JaffaKetchup commented Sep 19, 2023

@lonelyteapot Thanks for adding a video, I can see a bit clearer what's going on now. The right click is being treated as the center of a two finger rotation, and the dragging left click as a finger.
Very strange, but not unexpected with the current state of the gesture system (see all the other gesture issues on Apple devices). Why can't there just be a standard way of doing things 😂.

How do you close the right-click context menu? I'm assuming a simple left click off of it?

I have an Ubuntu dual boot that I should be able to check tomorrow, but couldn't do it today.

@JaffaKetchup JaffaKetchup reopened this Sep 19, 2023
@JaffaKetchup JaffaKetchup added needs triage This new bug report needs reproducing and prioritizing and removed invalid This bug could not be reproduced or does not exist, or is very low quality labels Sep 19, 2023
@lonelyteapot
Copy link
Contributor Author

How do you close the right-click context menu? I'm assuming a simple left click off of it?

Yes

I have an Ubuntu dual boot that I should be able to check tomorrow

Thanks!

@joosakle
Copy link

I can reproduce this on RHEL8, using Firefox 102.15.0esr. No right-click issue with other browsers.

@JaffaKetchup JaffaKetchup added P: 2 (soon™?) and removed needs triage This new bug report needs reproducing and prioritizing labels Sep 20, 2023
@JaffaKetchup JaffaKetchup changed the title [BUG] Drag events break after right clicking in Firefox [BUG] Linux + Firefox: Right click breaks future left click/drag events Sep 20, 2023
@JaffaKetchup
Copy link
Member

Indeed, I can also reproduce this on my Ubuntu distro with Firefox.

Could this issue be in Flutter, or even Firefox?

@JaffaKetchup JaffaKetchup added the blocked This issue's resolution can't be worked on right now label Sep 25, 2023
@JaffaKetchup
Copy link
Member

I'm marking this as blocked, as I can't think how we should be doing anything differently here.

@mootw
Copy link
Collaborator

mootw commented Oct 15, 2023

i can also confirm that i can reproduce this issue on arch linux + firefox. i do not see this issue on chrome. my guess is that this is a flutter+firefox issue? i cannot see how our gesture handling would cause that to happen. commenting so im subscribed and might eventually take a look at this.

@JaffaKetchup
Copy link
Member

Someone should probably report this to Flutter. Or even Mozilla, if the difference between that and Chromium is unintended.
I'll try to do it soon if I remember, but someone else feel free to!

@josxha josxha self-assigned this Nov 21, 2023
@josxha josxha added this to the v7.0 milestone Dec 2, 2023
@JaffaKetchup JaffaKetchup added external The issue lies in a dependency or Flutter itself S: core Scoped to the core flutter_map functionality and removed blocked This issue's resolution can't be worked on right now labels Dec 10, 2023
@JaffaKetchup
Copy link
Member

We're closing this for now, as this seems to be an external issue.

@JaffaKetchup JaffaKetchup closed this as not planned Won't fix, can't repro, duplicate, stale Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue reports broken functionality or another error external The issue lies in a dependency or Flutter itself S: core Scoped to the core flutter_map functionality
Projects
Archived in project
Development

No branches or pull requests

5 participants