In KDE I reverse my scrolling through the setting: "System Settings"->"Hardware"->"Input Devices"->"Mouse"->"General"->"Reverse scroll direction" If I build an application with Qt4 or the precompiled Qt5 packages from digia, Qt acts like the configured scroll direction, only the build with the Qt5 from the qt overlay do not work as expected.
Where is this preference saved? @kde, any ideas?
Why should a qt application should something know about kde configuration? And why this should be a distribution bug? ~/.kde4/share/config/kcminputrc: [Mouse] ReverseScrollPolarity=false
(In reply to Johannes Huber from comment #2) > Why should a qt application should something know about kde configuration? > And why this should be a distribution bug? I don't know, but the reporter claims that the setting is respected by the precompiled Qt5 binaries distributed by Digia. > ~/.kde4/share/config/kcminputrc: This path (or parts of it) doesn't appear anywhere in the qtbase repo.
(In reply to Davide Pesavento from comment #3) > I don't know, but the reporter claims that the setting is respected by the > precompiled Qt5 binaries distributed by Digia. > > > ~/.kde4/share/config/kcminputrc: > > This path (or parts of it) doesn't appear anywhere in the qtbase repo. For plasma 5 the location is ~/.config/kcminputrc (same config key).
Simon, is this still an issue with in-tree (masked) packages?
Yes, its still not working (tested with 5.4.0_rc:5::qt)
You can try running a simple app affected by this under strace, first with gentoo packages and then with digia binaries, and compare the two traces to see if we missed some config file. I suggest using `strace -e trace=file ...`
Created attachment 391488 [details] the two different strace files ok I made a small test program and those are the outputs
Created attachment 391490 [details] the mini test program for scroll testing and here is the small program to check if the setting is loaded correctly
(In reply to Simon from comment #8) > Created attachment 391488 [details] > the two different strace files > How am I supposed to open this? It looks like a .tar.gz...of what? Please attach the *two* *plain-text* files, and possibly a unified diff too.
Created attachment 391506 [details] strace of the miniscroll on gentoo sorry i accidently packaged the binary instead of the strace file for one of the straces
Created attachment 391508 [details] strace of the miniscroll on digia qt
Created attachment 391510 [details, diff] diff miniscroll.gentoo-qt5.4.0_rc.strace miniscroll.qt5.4.0.strace
/home/twist/.kde4/share/config/kdeglobals looks interesting but it's opened successfully by gentoo-qt too. One difference I can see (but I'm not sure if it's related) is that your gentoo-qt installation doesn't have the ibus platforminputcontext plugin (USE=ibus in qtgui), so try to enable that...
Ok, if I set the useflag ibus its working. Perhaps the explenation of ibus for qtgui should be adjusted to be more informative about this.