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

platform inconsistency with canvas messages #843

Open
porres opened this issue Dec 16, 2019 · 4 comments
Open

platform inconsistency with canvas messages #843

porres opened this issue Dec 16, 2019 · 4 comments

Comments

@porres
Copy link
Contributor

@porres porres commented Dec 16, 2019

Hi, this is an issue you can verify with [receivecanvas]. In linux, it reports right click on the canvas, but not in macOS and windows. This seems to be a Pd issue and not an issue with [receivecanvas].

Another external that could be affected by this behaviour is cyclone/active, see: porres/pd-cyclone#390

@Spacechild1

This comment has been minimized.

Copy link
Contributor

@Spacechild1 Spacechild1 commented Dec 16, 2019

hmmm... on my Windows laptop (Windows 7, Pd 0.50) [iemguts/receivecanvas] does report right clicks. I get the following message:

mouse 348 56 3 8

So it reports button "3" and for some reason a modifier value "8". Pd does not report mouse release events for right clicks, though.

@porres

This comment has been minimized.

Copy link
Contributor Author

@porres porres commented Dec 16, 2019

Hmm, my bad, I hadn't tested windows, just assumed so because of the issue with cyclone/active. But I can swear this is definitely happening on my macOS (10.14.6).

@porres

This comment has been minimized.

Copy link
Contributor Author

@porres porres commented Dec 16, 2019

So it reports button "3" and for some reason a modifier value "8". Pd does not report mouse release events for right clicks, though.

This what I also get in Linux, no right click release and no idea what "8" should be as well... I tested now on my windows system (on the same computer I use linux) and I can also confirm I get the same behaviour. So the issue with cyclone/active is not exactly the same as [receivecanvas], but might be related as it also seems like different canvas messages across different platforms.

Now wait, this is where things get funnier. In macOS I get a right click release, with a message that ends in "2 8"! But still no right click "3 8".

I tested on windows, I also do get right click "3 8", but no right button release "2 8"! I hadn't reported this before, but this same behaviour is presented on my linux setup (same computer I tested on windows), so

@umlaeute

This comment has been minimized.

Copy link
Contributor

@umlaeute umlaeute commented Dec 16, 2019

those canvas messages are private messages.
there's no reason to assume that they need to include any information that is not needed for Pd's inner workings...

@porres porres changed the title platform inconsistency with canvas messages (affects receivecanvas) platform inconsistency with canvas messages Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.