Two finger scrolling in Netbeans triggers right click

Bug #1026063 reported by Claes
120
This bug affects 25 people
Affects Status Importance Assigned to Milestone
netbeans (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Whenever I use the two fingers to scoll up or down in netbeans, it always triggers a right click, opening the context sensitive menu, and interrupting the actual scrolling.
Does not happen if I click and drag the relevant scroll handle instead of using two finger scroll.

Does not happen in any other application, such as firefox, chromium or libreoffice.

It could possible be java related, I may just not have any other java based apps, but searching for java and various variations of right click and scrolling didn't find me any bugs.

$ lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04

~$ apt-cache policy netbeans
netbeans:
  Installed: 7.0.1+dfsg1-4
  Candidate: 7.0.1+dfsg1-4
  Version table:
 *** 7.0.1+dfsg1-4 0
        500 http://ubuntu.cica.es/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: netbeans 7.0.1+dfsg1-4
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
Uname: Linux 3.2.0-26-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Wed Jul 18 12:24:18 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: netbeans
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Claes (letharion) wrote :
description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in netbeans (Ubuntu):
status: New → Confirmed
Revision history for this message
postadelmaga (postadelmaga) wrote :

Same here on 12.10 and netbeans 7.2

Revision history for this message
postadelmaga (postadelmaga) wrote :

It looks like it affects other java apps:
http://forum.parallels.com/pda/index.php/t-114762.html

Revision history for this message
Stuart Metcalfe (stuartmetcalfe) wrote :

Also affects Arduino. It would be good to find a way to either fix or disable 2-finger horizontal scrolling in java apps rather than having to disable the feature across the whole desktop.

Revision history for this message
Nafeez Abrar (nafeezabrar) wrote :

Waiting for a fix :( Its really annoying

Revision history for this message
jpadif (jpadif-gmail) wrote :

I had this bug too, but it started when I enabled two fingers horizontal scrolling.

I executed this:

    synclient HorizTwoFingerScroll=0

And now it's gone.

Revision history for this message
alexey (aleksey-weblancer) wrote :

Thanks, jpadif! Command you mentioned solved my problem.

Revision history for this message
Josef Kufner (jk-4) wrote :

This bug occurs if you have horizontal wheel on your mouse. Scrolling to sides is interpreted incorrectly. Very, very annoying...

(Netbeans 7.4)

Revision history for this message
dimovnike (dimovnike) wrote :

eclise is made in java too, but horizontal scroll there works, does anybody understand why it doesnt work in netbeans?

Revision history for this message
jenskapitza (j-kapitza) wrote :

using java8 and netbeans 8 bug is in 14.04.

disabling the two finger scroll is not a solution ;(

are any other hints?

Revision history for this message
Ogilvierothchild (ogilvierothchild) wrote :

I'm using java8 and netbeans 8 in ubuntu 14.04.

It also is triggered by using middle-button scrolling to the side, making the application near-unusable for browsing code on a thinkpad without an external mouse (since 2 finger scroll and trackpoint scroll both trigger a popup menu constantly).

Revision history for this message
Ogilvierothchild (ogilvierothchild) wrote :
Revision history for this message
Ali.B (alibahaloo) wrote :

I had the same problem and I know how annoying it is when using Netbeans. I found a work around for this.

On Ubuntu 14.04.1 LTS, under Settings -> Mouse and TouchPad.

I have:
Disable while typing (checked)
Tap to click (un-checked)
Two finger scroll (checked)
Natural scrolling (unchecked)

The tap to click feature was causing the problem, it seemed on some applications scrolling with two fingers was considered as both click (since it's a tap) and scroll (since it's two fingers). Removing the check for 'tap to click' solved it for me.

Hope this helps.

Revision history for this message
Juan Carlos Peñuela (juancarlos-penuela) wrote :

I had the same problem and it was because of horizontal scroll. Ubuntu 14.04.01 LTS
I deactivate / activate the horizontal scroll for use with netbeans using a simple command line:

$ gsettings set org.gnome.settings-daemon.peripherals.touchpad horiz-scroll-enabled false

$ gsettings set org.gnome.settings-daemon.peripherals.touchpad horiz-scroll-enabled true

Revision history for this message
beytu (beytu) wrote :

Hello

i'm currently testing 15.04 and i have this issue on a Asus Zenbook ux303 having a focal tech trackpad. As described here http://askubuntu.com/questions/50749/horizontal-scrolling-treated-as-right-click-in-java-applications , using the command 'synclient HorizTwoFingerScroll=0' disable this unwanted right click for me on Netbeans without disabling the two finger scrolling

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.