LinwoodDev / Butterfly

🎨 Powerful, minimalistic, cross-platform, opensource note-taking app
https://butterfly.linwood.dev
GNU Affero General Public License v3.0
1.03k stars 72 forks source link

[Bug]: Pinch to zoom doesn't work in Linux #731

Open axiomtutor opened 2 months ago

axiomtutor commented 2 months ago

What happened?

I recently installed from the flatpak store on a System76 Pop!_OS computer. (2.0.2)

I then ran the program and it works great, with the one exception that pinching (on the trackpad) does not cause a zoom action. (I'm assuming it should, hence I'm posting this as a bug -- but perhaps it isn't supposed to support pinch-to-zoom and then this should be a feature request?)

I also connected to my tablet via the Weylus app, and with my iPad acting as a drawing tablet through the Linux computer -- again, pinch-to-zoom does not work.

I then installed the latest beta version of Butterfly and tried it all, all over again. I'm more than a little confused how to actually run the beta version. I installed the .deb package and ran the installer, which seemed to work. I can't find how to launch specifically the beta version, and running flatpak run --branch=beta dev.linwood.butterfly returns

error: app/dev.linwood.butterfly/x86_64/beta not installed

I do not know enough about operating systems and stuff to know more than blindly following whatever instructions I find -- and none of the instructions I've found explain what to do here.

When I run Butterfly from the app launch and check the version, it says the old version, so I'm guessing the launcher does not find the beta version.

Version

2.0.2

Platform

Linux

Relevant log output

No response

Code of Conduct

axiomtutor commented 2 months ago

Note: I've observed that the Snap store has a newer version than Flatpak. My computer uses the Flatpak by default and I'm a little nervous about having a parallel store installed on my computer, given that I don't know a ton about these things. I wonder if perhaps the issue will resolve if the version is updated on Flathub?

[Update: Managed to get the beta version running and it still doesn't support pinch-to-zoom. So I suspect the versioning isn't the issue, and this is either a bug or feature I'd like to request.]

ShadowZwiebel commented 2 months ago

The zoom issue is already known for at least a few months. But nobody really has an idea how to fix it🤷‍♂️

axiomtutor commented 2 months ago

Ahh, thanks for the heads-up.

CodeDoctorDE commented 2 months ago

Hi first of all, thanks for reporting. I have currently some issues regarding updating the flathub version: https://github.com/flathub/dev.linwood.butterfly/pull/28 (the newest version is 2.1.1). I will try out to update the flathub version in the next stable version. For now i would suggest using the portable version temporarily.

The zoom issue is already known for at least a few months. But nobody really has an idea how to fix it🤷‍♂️

What do you mean? I don't remember having this issue. I currently have no tablet to test it.

CodeDoctorDE commented 2 months ago

Can you look in the behavior settings how this input will be recognizer in the input test?

axiomtutor commented 2 months ago

@CodeDoctorDE

Can you look in the behavior settings how this input will be recognizer in the input test?

So I tried this but it looks like the recognizer only recognizes clicks, not other gestures or inputs. In particular when I pinch, there is nothing reported.

I assume you mean this thing:

image

axiomtutor commented 2 months ago

(In case it's helpful: The application does recognize two-finger swipes to pan the canvas view. So it does recognize trackpad gestures like this one. But they are not recognized in the input tester, in the settings behavior tab.)

CodeDoctorDE commented 2 months ago

to the flathub issue: https://github.com/flathub/dev.linwood.butterfly/pull/32 the 2.2 will land in the beta channel, then you can just use the beta channel for new features

devilAPI commented 1 month ago

same issue here, using the mouse trackpad, pinch to zoom only pans the canvas view

running ubuntu 22.04