When I click-drag with mouse on a single line, downwards, or upwards, the text window will scroll upwards, selecting text from the initial click to the current mouse position (or to the top of the text area depending on scrolling speed). The erratic scrolling makes text selection very difficult.

Similarly, when clicking on the minimap, and moving up or down with the mouse, the scroll bar will erratically jump to the top of scroll area then back to where the mouse is.

I've compared this on several VMs and it looks like it *may* be XOrg-related - 2217 does not exhibit the above on a vanilla Debian Squeeze install. At the same time, scrolling/text selection with mouse with Gnome 3's GEdit is not affected on Debian Sid...

Im working on openSUSE11.4 (KDE4)and start evaluating Sublime Text 2 (build 2217).When I click in the text, the text cursor is moved where the mouse cursor is, as expected, also moving the mouse wheel works as expected.However, when I click+drag the mouse, the whole window is moved instead of selecting text.

I also tried setting the locale like suggested in viewtopic.php?f=2&t=3597 but it does not help.Running sublime_text --debug does not yield any output in my case.

What could I do to fix it or at least help debugging this further?

Thanks,

Torsten

*** UPDATE ***

When I start sublime_text as root, selecting text with the mouse works as expected. Just I can not access my nfs shares...

So what is the difference when running it as root?

*** UPDATE ***

In my case this seems to be related to the GTK settings. These are not existing on my root account, but KDE seems to create a default configuration.

After I deleted (moved ...) my .gtkrc-2.0-kde4 the issue was gone.

We still need to find out what specifically interferes! It seems to be within GTK theme 'oxygen-gtk'.

I'm on ArchLinux using XMonad in a VirtualBox VM and have little or no GUI related stuff much beyond Sublime on my machine.SLT2 build is 2217.

Very specifically what happens with me is:

If the file is scrolled to any point that the beginning of the file is not visible any modifications to my selection via mouse dragging will cause the window to scroll upwards until it reaches the top and can't scroll any further.

There is a flicker of the entire document being selected for just a split second before my visible selection returns to the 'real' one that I currently am modifying with the mouse.

I have no errors or messages in the console at any time while this is happening.

None of the other mentioned solutions do anything for me and I get the symptoms regardless of which user I run with (root vs. other) or any variables. I do not have Gnome, KDE or anything else to be setting anything up in the background for me either.

I'd just like to reiterate that running dist-upgrade seemed to clear up the strange scrolling/selection problem for me. I've been using Linux Mint in a VirtualBox and experienced strange erratic scrolling. It was cleared up by running