After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 747440 - Horizontal scrolling not working
Horizontal scrolling not working
Status: RESOLVED DUPLICATE of bug 748014
Product: GIMP
Classification: Other
Component: General
2.8.14
Other Windows
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2015-04-07 10:46 UTC by teamhydro.55555
Modified: 2015-04-18 00:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot of the controller (38.16 KB, image/png)
2015-04-07 10:46 UTC, teamhydro.55555
Details
Tool events log, views-scroll-left/right assigned to input controller (28.82 KB, text/plain)
2015-04-16 11:08 UTC, Michael Schumacher
Details
tool events log (afaik without the actions set) (171.68 KB, text/plain)
2015-04-16 11:36 UTC, teamhydro.55555
Details

Description teamhydro.55555 2015-04-07 10:46:42 UTC
Created attachment 301061 [details]
screenshot of the controller

I have properly set the scrolling actions in the input Controllers part of the settings, but I cannot scroll with the horizontal scrolling function of neither my Logitech G500 mouse nor the Touchpad of my Dell inspiron 17 (3721) vertical scrolling works with or without the controller but scrolling horitonatlly works neither way.

I tried it on both Win7 and 8.
Comment 1 Michael Schumacher 2015-04-15 09:12:17 UTC
Yes, it doesn't work.
Comment 2 Michael Natterer 2015-04-15 19:54:55 UTC
Works fine on Linux, in both 2.9 and 2.8.

If you remove these actions from the scroll events, do things start to
work? Does horizontal scrolling work in normal UI controls, such as
the layers dialog?
Comment 3 teamhydro.55555 2015-04-15 20:39:00 UTC
h-scrolling works in the layer dialog.
if I remove the input controller including the actions nothing happens because I tried setting it because it didnt work in the first place unlike v-scrolling.

but I noticed that while having select active but nothing selected and the focus is in the image you can move the layer itelf by h-scrolling v-scrolling obviously works as expected and scrolls your view, while something is selected depending on the position of your pointer the following 4 things will happen:

outside the selection: nothing
inside the selection: move the selection (not the content)
left edge (or one of the left corners) expand the selection to the left (position of right edge stays the same)
right edge same as left but in reverse.
Comment 4 Michael Natterer 2015-04-16 08:00:30 UTC
I might be missing something obvious here, but I have no explanation
how mouse scrolling can work differently based on selected tool or
pointer position.

Did you download GIMP from download.gimp.org, or from some other place?
Comment 5 teamhydro.55555 2015-04-16 08:02:00 UTC
I have no Idea as well. as stated only horizontal scrolling (h-scrolling) is affected. vertical scrolling (v-scrolling) works perfect regardless of anything.
Comment 6 teamhydro.55555 2015-04-16 08:03:03 UTC
I DLed GIMP directly from the Site..
Comment 7 Michael Natterer 2015-04-16 09:21:00 UTC
OK thanks. Can you please try the following:

Start GIMP from a terminal with the GIMP_LOG environment variable
set to tool-events, then make a new image, and scroll vertically
and horizontally a few times, and paste the terminal output here.
Comment 8 teamhydro.55555 2015-04-16 09:39:47 UTC
when I just open the gimp 2.8 exe over the command line gimp plainly opens with nothing happening in the command line window, while the console exe says:

C:\Program Files\GIMP 2\bin>gimp-console-2.8.exe

(gimp-console-2.8.exe:936): LibGimpBase-WARNING **: gimp-console-2.8.exe: gimp_wire_read(): error
Comment 9 Michael Schumacher 2015-04-16 11:05:12 UTC
Run it like this from a command line:

> set GIMP_LOG=tools-events
> gimp-2.8.exe >log.txt 2>&1
Comment 10 Michael Schumacher 2015-04-16 11:08:01 UTC
Created attachment 301708 [details]
Tool events log, views-scroll-left/right assigned to input controller

Line 139ff contains the horizontal scroll attempts - this was with view-scroll-left/right assigned to Scroll left/right in the input controllers setup.
Comment 11 teamhydro.55555 2015-04-16 11:36:48 UTC
Created attachment 301723 [details]
tool events log (afaik without the actions set)
Comment 12 Michael Natterer 2015-04-17 22:03:46 UTC
There are three scroll events which all say:

SCROLL (0)

Which means GDK_SCROLL_UP. You say you scrolled left? This would indicate
that scroll events are delivered incorrectly. Can you do a log again, where
you scrolled in all 4 directions?
Comment 13 teamhydro.55555 2015-04-17 22:13:09 UTC
at least I scrolled multiple times. I think all the keypresses have something to do with how GIMP recieves the h-scrolls, since I didnt really do much with the kb I just zoomed in scrolled a bit selected something and sccrolled even more in all 4 directions.
Comment 14 Michael Natterer 2015-04-17 22:21:15 UTC
Oh, sorry. I downloaded the attachment for grepping and it seems it got
truncated. There are indeed genuine SCROLL events for the UP and DOWN
directions. AND there are key events for LEFT and RIGHT. It seems that's
how your mouse (or windows in general?) is delivering left and right
scroll.
Comment 15 teamhydro.55555 2015-04-17 22:25:03 UTC
to be honest I have no Idea, but it seems that quite some software can easily distinguish between arrow keys+their combinations and h-scrolling.

maybe Gimp need a lib or whatever which is not loaded in the canvas to work, just my stupid Idea as IT apprentice (which I truly am)
Comment 16 Michael Natterer 2015-04-18 00:33:34 UTC
Turns out this was simply not implemented in GTK+ until a few days ago,
thanks for your testing, I'm resolving this bug as a duplicate.

*** This bug has been marked as a duplicate of bug 748014 ***